Package net.minecraftforge.registries
Class ObjectHolderRef
java.lang.Object
net.minecraftforge.registries.ObjectHolderRef
- All Implemented Interfaces:
Consumer<Predicate<ResourceLocation>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate Field
private ResourceLocation
private boolean
private static final org.apache.logging.log4j.Logger
private ForgeRegistry<?>
-
Constructor Summary
ConstructorDescriptionObjectHolderRef
(Field field, String injectedObject, boolean extractFromExistingValues) ObjectHolderRef
(Field field, ResourceLocation injectedObject) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Predicate<ResourceLocation> filter) boolean
private ForgeRegistry<?>
getRegistryForType
(Field field) int
hashCode()
boolean
isValid()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
field
-
injectedObject
-
isValid
private boolean isValid -
registry
-
-
Constructor Details
-
ObjectHolderRef
-
ObjectHolderRef
-
-
Method Details