类 SuperLeadRopeEvent.keepNotBreakTick

java.lang.Object
net.minecraftforge.eventbus.api.Event
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent.keepNotBreakTick
所有已实现的接口:
net.minecraftforge.fml.event.IModBusEvent
封闭类:
SuperLeadRopeEvent

public static class SuperLeadRopeEvent.keepNotBreakTick extends SuperLeadRopeEvent
The type Keep not break tick.
  • 构造器详细资料

    • keepNotBreakTick

      public keepNotBreakTick(net.minecraft.world.entity.Entity leashedEntity, int remainedTicks, net.minecraft.world.entity.Entity holderEntity, Map.Entry<?,LeashInfo> entry)
      Instantiates a new Keep not break tick.
      参数:
      leashedEntity - the leashed entity
      remainedTicks - the remained ticks
      holderEntity - the holder entity
      entry - the entry
  • 方法详细资料

    • getHolderEntity

      public net.minecraft.world.entity.Entity getHolderEntity()
      Gets holder entity.
      返回:
      the holder entity
    • getRemainedTicks

      public int getRemainedTicks()
      Gets remained ticks.
      返回:
      the remained ticks
    • resetRemainedTicks

      public void resetRemainedTicks()
      Reset remained ticks.
    • getMaxKeepTicks

      public int getMaxKeepTicks()
      Gets max keep ticks.
      返回:
      the max keep ticks