Interface IRegistryHelper
- All Known Implementing Classes:
NeoforgeRegistryHelper
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)
-
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()
-