Class SHolder<T>
java.lang.Object
net.lcc.sollib.api.common.registry.SHolder<T>
- All Implemented Interfaces:
Supplier<T>
- Direct Known Subclasses:
BlockHolder,DensityFunctionHolder,EffectHolder,EntityHolder,ItemHolder
-
Field Details
-
mod
-
name
-
-
Constructor Details
-
SHolder
-
-
Method Details
-
get
Retrieves the cached entry if it exists, otherwise calls the supplier to create a new entry. -
getID
public net.minecraft.resources.ResourceLocation getID()- Returns:
- This entry's identifier, built from its name and mod container
-
getRegistry
-