Package info.u_team.u_team_core.factory
Class FabricBlockRegister.FabricBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
java.lang.Object
info.u_team.u_team_core.factory.FabricBlockRegister.FabricBlockRegistryEntry<B,I>
- All Implemented Interfaces:
BlockRegistryEntry<B,,I> RegistryEntry<B>,Supplier<B>
- Enclosing class:
- FabricBlockRegister
public static class FabricBlockRegister.FabricBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
extends Object
implements BlockRegistryEntry<B,I>
-
Method Details
-
get
-
getId
public net.minecraft.resources.ResourceLocation getId()- Specified by:
getIdin interfaceRegistryEntry<B extends net.minecraft.world.level.block.Block>
-
getKey
- Specified by:
getKeyin interfaceRegistryEntry<B extends net.minecraft.world.level.block.Block>
-
getHolder
- Specified by:
getHolderin interfaceRegistryEntry<B extends net.minecraft.world.level.block.Block>
-
isPresent
public boolean isPresent()- Specified by:
isPresentin interfaceRegistryEntry<B extends net.minecraft.world.level.block.Block>
-
getItem
- Specified by:
getItemin interfaceBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
-
getItemId
public net.minecraft.resources.ResourceLocation getItemId()- Specified by:
getItemIdin interfaceBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
-
getItemKey
- Specified by:
getItemKeyin interfaceBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
-
getItemHolder
- Specified by:
getItemHolderin interfaceBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
-
isItemPresent
public boolean isItemPresent()- Specified by:
isItemPresentin interfaceBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
-
getItemRegistryEntry
- Specified by:
getItemRegistryEntryin interfaceBlockRegistryEntry<B extends net.minecraft.world.level.block.Block,I extends net.minecraft.world.item.Item>
-