Package net.neoforged.neoforge.internal
Class NeoForgeProxy
java.lang.Object
net.neoforged.neoforge.internal.NeoForgeProxy
- Direct Known Subclasses:
NeoForgeClientProxy
Allows common code to call client-only methods, through
NeoForgeClientProxy
.
Try not to add methods to this class, there are generally better ways to handle this kind of thing, possibly through different API design.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static NeoForgeProxy
<T> HolderLookup.RegistryLookup
<T> resolveLookup
(ResourceKey<? extends Registry<T>> key)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NeoForgeProxy
public NeoForgeProxy()
-
-
Method Details
-
instantiate
-
getClientExecutor
-
getTooltipFlag
-
resolveLookup
@Nullable public <T> HolderLookup.RegistryLookup<T> resolveLookup(ResourceKey<? extends Registry<T>> key)
-