Skip to content

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()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.