Interface Wandable

All Known Implementing Classes:
AlfheimPortalBlockEntity, AnimatedTorchBlockEntity, CorporeaCrystalCubeBlockEntity, CorporeaRetainerBlockEntity, CraftyCrateBlockEntity, DaffomillBlockEntity, HopperhockBlockEntity, HopperhockBlockEntity.Mini, HoveringHourglassBlockEntity, ManaEnchanterBlockEntity, ManaPoolBlockEntity, ManaSpreaderBlockEntity, PlatformBlockEntity, PollidisiacBlockEntity, RannuncarpusBlockEntity, RannuncarpusBlockEntity.Mini, RunicAltarBlockEntity, SpreaderTurntableBlockEntity

public interface Wandable
Any block with this component can be used with the Wand for the Forest for some purpose.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onUsedByWand(@Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, net.minecraft.core.Direction side)
    Called when the block is used by a wand.
  • Field Details

    • ID

      static final net.minecraft.resources.ResourceLocation ID
  • Method Details

    • onUsedByWand

      boolean onUsedByWand(@Nullable @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, net.minecraft.core.Direction side)
      Called when the block is used by a wand.
      Parameters:
      player - Null if the block is being wanded by a dispenser