Register
To use this event use the following import:
groovy
import net.minecraftforge.event.RegistryEvent.Register
Sub-Classes
This event extends the following events and can use all their methods and fields:
RegistryEvent
Methods
groovy
net.minecraft.util.ResourceLocation getName()
groovy
net.minecraftforge.registries.IForgeRegistry getRegistry()