Uses of Class
net.minecraftforge.registries.RegistryObject
Packages that use RegistryObject
Package
Description
-
Uses of RegistryObject in net.minecraftforge.common
Fields in net.minecraftforge.common declared as RegistryObjectModifier and TypeFieldDescriptionstatic final RegistryObject<HolderSetType>ForgeMod.AND_HOLDER_SETStock holder set type that represents an intersection of other holdersets.static final RegistryObject<HolderSetType>ForgeMod.ANY_HOLDER_SETStock holder set type that represents any/all values in a registry.static final RegistryObject<Attribute>ForgeMod.BLOCK_REACHReach Distance represents the distance at which a player may interact with the world.static final RegistryObject<SoundEvent>ForgeMod.BUCKET_EMPTY_MILKstatic final RegistryObject<SoundEvent>ForgeMod.BUCKET_FILL_MILKstatic final RegistryObject<FluidType>ForgeMod.EMPTY_TYPEstatic final RegistryObject<Attribute>ForgeMod.ENTITY_GRAVITYstatic final RegistryObject<Attribute>ForgeMod.ENTITY_REACHAttack Range represents the distance at which a player may attack an entity.static final RegistryObject<Fluid>ForgeMod.FLOWING_MILKstatic final RegistryObject<FluidType>ForgeMod.LAVA_TYPEstatic final RegistryObject<Fluid>ForgeMod.MILKstatic final RegistryObject<FluidType>ForgeMod.MILK_TYPEstatic final RegistryObject<Attribute>ForgeMod.NAMETAG_DISTANCEstatic final RegistryObject<HolderSetType>ForgeMod.NOT_HOLDER_SETStock holder set type that represents all values in a registry except those in another given set.static final RegistryObject<HolderSetType>ForgeMod.OR_HOLDER_SETStock holder set type that represents a union of other holdersets.static final RegistryObject<Attribute>ForgeMod.STEP_HEIGHT_ADDITIONStep Height Addition modifies the amount of blocks an entity may walk up without jumping.static final RegistryObject<Attribute>ForgeMod.SWIM_SPEEDstatic final RegistryObject<FluidType>ForgeMod.WATER_TYPE -
Uses of RegistryObject in net.minecraftforge.debug.gameplay.loot
Fields in net.minecraftforge.debug.gameplay.loot declared as RegistryObjectModifier and TypeFieldDescriptionprivate static final RegistryObject<Enchantment>GlobalLootModifiersTest.SMELTprivate static final RegistryObject<Block>ConditionalLootPools.TEST_BLOCKprivate static final RegistryObject<Block>GlobalLootModifiersTest.TEST_BLOCKprivate static final RegistryObject<Item>GlobalLootModifiersTest.TEST_ITEM -
Uses of RegistryObject in net.minecraftforge.registries
Fields in net.minecraftforge.registries declared as RegistryObjectFields in net.minecraftforge.registries with type parameters of type RegistryObjectModifier and TypeFieldDescriptionprivate final Map<RegistryObject<T>,Supplier<? extends T>> DeferredRegister.entriesprivate final Set<RegistryObject<T>>DeferredRegister.entriesViewMethods in net.minecraftforge.registries that return RegistryObjectModifier and TypeMethodDescriptionstatic <T,U extends T>
RegistryObject<U>RegistryObject.create(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat 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 aRegistryObjectthat 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 aRegistryObjectthat 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 aRegistryObjectthat 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 aRegistryObjectthat 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 anRegistryObjectdescribing 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.Methods in net.minecraftforge.registries that return types with arguments of type RegistryObject