Uses of Class
net.minecraftforge.registries.RegistryObject
Package
Description
-
Uses of RegistryObject in net.minecraftforge.common
Modifier and TypeFieldDescriptionstatic final RegistryObject<HolderSetType>
ForgeMod.AND_HOLDER_SET
Stock holder set type that represents an intersection of other holdersets.static final RegistryObject<HolderSetType>
ForgeMod.ANY_HOLDER_SET
Stock holder set type that represents any/all values in a registry.static final RegistryObject<Attribute>
ForgeMod.BLOCK_REACH
Reach Distance represents the distance at which a player may interact with the world.static final RegistryObject<SoundEvent>
ForgeMod.BUCKET_EMPTY_MILK
static final RegistryObject<SoundEvent>
ForgeMod.BUCKET_FILL_MILK
static final RegistryObject<FluidType>
ForgeMod.EMPTY_TYPE
static final RegistryObject<Attribute>
ForgeMod.ENTITY_GRAVITY
static final RegistryObject<Attribute>
ForgeMod.ENTITY_REACH
Attack Range represents the distance at which a player may attack an entity.static final RegistryObject<Fluid>
ForgeMod.FLOWING_MILK
static final RegistryObject<FluidType>
ForgeMod.LAVA_TYPE
static final RegistryObject<Fluid>
ForgeMod.MILK
static final RegistryObject<FluidType>
ForgeMod.MILK_TYPE
static final RegistryObject<Attribute>
ForgeMod.NAMETAG_DISTANCE
static final RegistryObject<HolderSetType>
ForgeMod.NOT_HOLDER_SET
Stock holder set type that represents all values in a registry except those in another given set.static final RegistryObject<HolderSetType>
ForgeMod.OR_HOLDER_SET
Stock holder set type that represents a union of other holdersets.static final RegistryObject<Attribute>
ForgeMod.STEP_HEIGHT_ADDITION
Step Height Addition modifies the amount of blocks an entity may walk up without jumping.static final RegistryObject<Attribute>
ForgeMod.SWIM_SPEED
static final RegistryObject<FluidType>
ForgeMod.WATER_TYPE
-
Uses of RegistryObject in net.minecraftforge.debug.gameplay.loot
Modifier and TypeFieldDescriptionprivate static final RegistryObject<Enchantment>
GlobalLootModifiersTest.SMELT
private static final RegistryObject<Block>
ConditionalLootPools.TEST_BLOCK
private static final RegistryObject<Block>
GlobalLootModifiersTest.TEST_BLOCK
private static final RegistryObject<Item>
GlobalLootModifiersTest.TEST_ITEM
-
Uses of RegistryObject in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate final Map<RegistryObject<T>,
Supplier<? extends T>> DeferredRegister.entries
private final Set<RegistryObject<T>>
DeferredRegister.entriesView
Modifier and TypeMethodDescriptionstatic <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceLocation registryName, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry name.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, IForgeRegistry<T> registry) Factory for aRegistryObject
that stores the value of an object from the provided forge registry once it is ready.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceLocation registryName, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry name.private static <T> RegistryObject<T>
RegistryObject.empty()
If a mod object is present, and the mod object matches the given predicate, return anRegistryObject
describing the value, otherwise return an emptyRegistryObject
.<I extends T>
RegistryObject<I>Adds a new supplier to the list of entries to be registered, and returns a RegistryObject that will be populated with the created entry automatically.