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