Interface IRegistryHelper

All Known Implementing Classes:
FabricRegistryHelper

public interface IRegistryHelper
Common registry helper service interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Iterable<net.minecraft.world.level.material.Fluid>
     
    Iterable<net.minecraft.world.item.Item>
     
    net.minecraft.world.level.block.Block
    getBlock(net.minecraft.resources.ResourceLocation location)
     
    net.minecraft.resources.ResourceLocation
    getBlockLocation(net.minecraft.world.level.block.Block block)
     
    net.minecraft.world.entity.EntityType<?>
    getEntityType(net.minecraft.resources.ResourceLocation location)
     
    net.minecraft.resources.ResourceLocation
    getEntityTypeLocation(net.minecraft.world.entity.EntityType<?> entityType)
     
    net.minecraft.world.level.material.Fluid
    getFluid(net.minecraft.resources.ResourceLocation location)
     
    net.minecraft.resources.ResourceLocation
    getFluidLocation(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)