Package de.cech12.bucketlib.platform
Class FabricRegistryHelper
java.lang.Object
de.cech12.bucketlib.platform.FabricRegistryHelper
- All Implemented Interfaces:
IRegistryHelper
The registry service implementation for NeoForge.
-
Constructor Summary
Constructors -
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)
-
Constructor Details
-
FabricRegistryHelper
public FabricRegistryHelper()
-
-
Method Details
-
getRegisteredBuckets
- Specified by:
getRegisteredBucketsin interfaceIRegistryHelper
-
getEntityType
public net.minecraft.world.entity.EntityType<?> getEntityType(net.minecraft.resources.ResourceLocation location) - Specified by:
getEntityTypein interfaceIRegistryHelper
-
getEntityTypeLocation
public net.minecraft.resources.ResourceLocation getEntityTypeLocation(net.minecraft.world.entity.EntityType<?> entityType) - Specified by:
getEntityTypeLocationin interfaceIRegistryHelper
-
getBlock
public net.minecraft.world.level.block.Block getBlock(net.minecraft.resources.ResourceLocation location) - Specified by:
getBlockin interfaceIRegistryHelper
-
getBlockLocation
public net.minecraft.resources.ResourceLocation getBlockLocation(net.minecraft.world.level.block.Block block) - Specified by:
getBlockLocationin interfaceIRegistryHelper
-
getAllItems
- Specified by:
getAllItemsin interfaceIRegistryHelper
-
getAllFluids
- Specified by:
getAllFluidsin interfaceIRegistryHelper
-
getFluid
public net.minecraft.world.level.material.Fluid getFluid(net.minecraft.resources.ResourceLocation location) - Specified by:
getFluidin interfaceIRegistryHelper
-
getFluidLocation
public net.minecraft.resources.ResourceLocation getFluidLocation(net.minecraft.world.level.material.Fluid fluid) - Specified by:
getFluidLocationin interfaceIRegistryHelper
-