Interface SummoningStaff

All Known Implementing Classes:
CursedSightStaffItem, MeteorStaffItem, RecoveryStaffItem, SculkStaffItem

public interface SummoningStaff
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable net.minecraft.core.BlockPos
    getBlockLookingAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, int maxRange)
     
    default int
     
    default int
     
    default void
    handleCooldown(net.minecraft.world.item.Item item, @Nullable net.minecraft.core.BlockPos lookingAt, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
     
    default void
    handleCooldown(net.minecraft.world.item.Item item, @Nullable net.minecraft.core.BlockPos lookingAt, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, int cooldown)
     
    default void
    handleCooldown(net.minecraft.world.item.Item item, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
     
  • Method Details

    • getBlockLookingAt

      @Nullable default @Nullable net.minecraft.core.BlockPos getBlockLookingAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, int maxRange)
    • handleCooldown

      default void handleCooldown(net.minecraft.world.item.Item item, @Nullable @Nullable net.minecraft.core.BlockPos lookingAt, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
    • handleCooldown

      default void handleCooldown(net.minecraft.world.item.Item item, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
    • handleCooldown

      default void handleCooldown(net.minecraft.world.item.Item item, @Nullable @Nullable net.minecraft.core.BlockPos lookingAt, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, int cooldown)
    • getMaxRange

      default int getMaxRange()
    • getStaffCooldown

      default int getStaffCooldown()