TheWildBackport/common/src/main/java/com/cursedcauldron/wildbackport/core/mixin/access/RegistryAccessor.java
ItsBlackGear b698b03a9a Mangrove Trees!
- Todo: fix the moss not generating on roots
2022-07-16 03:46:02 -04:00

15 lines
507 B
Java

package com.cursedcauldron.wildbackport.core.mixin.access;
import net.minecraft.core.Registry;
import net.minecraft.resources.ResourceKey;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Invoker;
@Mixin(Registry.class)
public interface RegistryAccessor {
@Invoker
static <T> Registry<T> callRegisterSimple(ResourceKey<? extends Registry<T>> resourceKey, Registry.RegistryBootstrap<T> registryBootstrap) {
throw new UnsupportedOperationException();
}
}