Class MountController.Modifier

java.lang.Object
kr.toxicity.model.api.mount.MountController.Modifier
Enclosing interface:
MountController

public static class MountController.Modifier extends Object
Modifier
  • Method Details

    • canDismountBySelf

      @NotNull public @NotNull MountController.Modifier canDismountBySelf(boolean canDismountBySelf)
      Sets some player can dismount by self (right-click or sneak)
      Parameters:
      canDismountBySelf - can dismount
      Returns:
      self
    • canMount

      @NotNull public @NotNull MountController.Modifier canMount(boolean canMount)
      Sets some player can mount
      Parameters:
      canMount - can mount
      Returns:
      self
    • canControl

      @NotNull public @NotNull MountController.Modifier canControl(boolean canControl)
      Sets some player can control
      Parameters:
      canControl - can control
      Returns:
      self
    • canFly

      @NotNull public @NotNull MountController.Modifier canFly(boolean canFly)
      Sets some player can fly
      Parameters:
      canFly - can fly
      Returns:
      self
    • canJump

      @NotNull public @NotNull MountController.Modifier canJump(boolean canJump)
      Sets some player can jump
      Parameters:
      canJump - can jump
      Returns:
      self
    • canBeDamagedByRider

      @NotNull public @NotNull MountController.Modifier canBeDamagedByRider(boolean canBeDamagedByRider)
      Sets can rider damage this entity
      Parameters:
      canBeDamagedByRider - can be damaged by rider
      Returns:
      self
    • build

      @NotNull public @NotNull MountController build()
      Builds controller with modified value
      Returns:
      modified controller