Class GantryShaftBlock.PlacementHelper
java.lang.Object
com.simibubi.create.foundation.placement.PoleHelper<net.minecraft.core.Direction>
com.simibubi.create.content.kinetics.gantry.GantryShaftBlock.PlacementHelper
- All Implemented Interfaces:
net.createmod.catnip.placement.IPlacementHelper
- Enclosing class:
GantryShaftBlock
public static class GantryShaftBlock.PlacementHelper
extends PoleHelper<net.minecraft.core.Direction>
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.placement.PoleHelper
axisFunction, property, statePredicateFields inherited from interface net.createmod.catnip.placement.IPlacementHelper
ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPredicate<net.minecraft.world.item.ItemStack> net.createmod.catnip.placement.PlacementOffsetgetOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray) Methods inherited from class com.simibubi.create.foundation.placement.PoleHelper
attachedPoles, getStatePredicate, matchesAxisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.createmod.catnip.placement.IPlacementHelper
displayGhost, getOffset, matchesItem, matchesState, renderAt
-
Constructor Details
-
PlacementHelper
public PlacementHelper()
-
-
Method Details
-
getItemPredicate
-
getOffset
public net.createmod.catnip.placement.PlacementOffset getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray) - Specified by:
getOffsetin interfacenet.createmod.catnip.placement.IPlacementHelper- Overrides:
getOffsetin classPoleHelper<net.minecraft.core.Direction>
-