Interface SummoningStaff
- All Known Implementing Classes:
CursedSightStaffItem, MeteorStaffItem, RecoveryStaffItem, SculkStaffItem
public interface SummoningStaff
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable net.minecraft.core.BlockPosgetBlockLookingAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, int maxRange) default intdefault intdefault voidhandleCooldown(@Nullable net.minecraft.core.BlockPos lookingAt, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) default voidhandleCooldown(@Nullable net.minecraft.core.BlockPos lookingAt, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, int cooldown) default voidhandleCooldown(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(@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.entity.player.Player player, net.minecraft.world.InteractionHand hand) -
handleCooldown
default void handleCooldown(@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()
-