Class PistonExtensionPoleBlock.PlacementHelper

java.lang.Object
com.simibubi.create.foundation.utility.placement.util.PoleHelper<net.minecraft.core.Direction>
com.simibubi.create.content.contraptions.components.structureMovement.piston.PistonExtensionPoleBlock.PlacementHelper
All Implemented Interfaces:
IPlacementHelper
Enclosing class:
PistonExtensionPoleBlock

public static class PistonExtensionPoleBlock.PlacementHelper extends PoleHelper<net.minecraft.core.Direction>
  • Method Details

    • get

    • getItemPredicate

      public Predicate<net.minecraft.world.item.ItemStack> getItemPredicate()
      Returns:
      a predicate that gets tested with the items held in the players hands
      should return true if this placement helper is active with the given item