Skip to content

Attach Capabilities Event

To use this event use the following import:

groovy
import net.minecraftforge.event.AttachCapabilitiesEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:

Methods

groovy
java.lang.Object getObject()
groovy
void addCapability(net.minecraft.util.ResourceLocation arg0, net.minecraftforge.common.capabilities.ICapabilityProvider arg1)
groovy
java.util.Map getCapabilities()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.