类 SuperLeadRopeEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent
- 所有已实现的接口:
net.minecraftforge.fml.event.IModBusEvent
- 直接已知子类:
SuperLeadRopeEvent.AddLeash,SuperLeadRopeEvent.hasFocus,SuperLeadRopeEvent.keepNotBreakTick,SuperLeadRopeEvent.ModifyValue,SuperLeadRopeEvent.RemoveLeash,SuperLeadRopeEvent.teleportWithHolder,SuperLeadRopeEvent.TransferLeash
public abstract class SuperLeadRopeEvent
extends net.minecraftforge.eventbus.api.Event
implements net.minecraftforge.fml.event.IModBusEvent
The type Super lead rope event.
-
嵌套类概要
嵌套类修饰符和类型类说明static classThe type Add leash.static classThe type Has focus.static classThe type Keep not break tick.static classThe type Modify value.static classThe type Remove leash.static classThe type Teleport with holder.static classThe type Transfer leash.从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
方法概要
修饰符和类型方法说明net.minecraft.world.entity.EntityGets leashed entity.booleanIs modified boolean.voidMark modified.从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
方法详细资料
-
isModified
public boolean isModified()Is modified boolean.- 返回:
- the boolean
-
markModified
public void markModified()Mark modified. -
getLeashedEntity
public net.minecraft.world.entity.Entity getLeashedEntity()Gets leashed entity.- 返回:
- the leashed entity
-