mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
Revive BiomeManager and BiomeLayer hooks.
This commit is contained in:
1 parent
af75547d37
commit
d1e3567c6b
4 files changed
+130
-62
No files matched your search
@@ -94,6 +94,13 @@ class NamespacedWrapper<T extends IForgeRegistryEntry<T>> extends SimpleRegistry
|
||||
return Optional.ofNullable( this.delegate.getRaw(name)); //get without default
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public T func_230516_a_(@Nullable RegistryKey<T> name)
|
||||
{
|
||||
return name == null ? null : this.delegate.getRaw(name.func_240901_a_()); //get without default
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public ResourceLocation getKey(T value)
|
||||
|
||||
Reference in new issue
Block a user