Interface IRegistryHelper
- All Known Implementing Classes:
FabricRegistryHelper
public interface IRegistryHelper
Common registry helper service interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Iterable<net.minecraft.world.level.material.Fluid> default Iterable<net.minecraft.world.item.Item> default net.minecraft.world.level.block.BlockgetBlock(net.minecraft.resources.Identifier location) default net.minecraft.resources.IdentifiergetBlockLocation(net.minecraft.world.level.block.Block block) default net.minecraft.world.entity.EntityType<?> getEntityType(net.minecraft.resources.Identifier location) default net.minecraft.resources.IdentifiergetEntityTypeLocation(net.minecraft.world.entity.EntityType<?> entityType) default net.minecraft.world.level.material.FluidgetFluid(net.minecraft.resources.Identifier location) default net.minecraft.resources.IdentifiergetFluidLocation(net.minecraft.world.level.material.Fluid fluid) default net.minecraft.resources.IdentifiergetItemLocation(net.minecraft.world.item.Item item)
-
Method Details
-
getRegisteredBuckets
List<UniversalBucketItem> getRegisteredBuckets() -
getItemLocation
default net.minecraft.resources.Identifier getItemLocation(net.minecraft.world.item.Item item) -
getEntityType
default net.minecraft.world.entity.EntityType<?> getEntityType(net.minecraft.resources.Identifier location) -
getEntityTypeLocation
default net.minecraft.resources.Identifier getEntityTypeLocation(net.minecraft.world.entity.EntityType<?> entityType) -
getBlock
default net.minecraft.world.level.block.Block getBlock(net.minecraft.resources.Identifier location) -
getBlockLocation
default net.minecraft.resources.Identifier getBlockLocation(net.minecraft.world.level.block.Block block) -
getAllItems
-
getAllFluids
-
getFluid
default net.minecraft.world.level.material.Fluid getFluid(net.minecraft.resources.Identifier location) -
getFluidLocation
default net.minecraft.resources.Identifier getFluidLocation(net.minecraft.world.level.material.Fluid fluid)
-