Class AutoShaftRoutingClientHelper
java.lang.Object
petrolpark.mc.petrolsparts.content.kinetics.cornerShaft.AutoShaftRoutingClientHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static net.createmod.catnip.math.BlockFaceprotected static List<petrolpark.mc.library.util.BigItemStack> protected static List<net.minecraft.world.phys.Vec3> protected static CornerShaftSetprotected static net.createmod.catnip.math.BlockFaceprotected static List<net.createmod.catnip.data.Pair<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidcancel()static final net.createmod.catnip.math.BlockFacegetFace(net.minecraft.world.level.Level level, net.minecraft.world.phys.BlockHitResult bhr) static final booleanisActive()static final voidtick(net.neoforged.neoforge.client.event.ClientTickEvent.Post event) static final voidtryPlace(CornerShaftSet set, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face) static final voidtryPlace(CornerShaftSet set, net.minecraft.world.item.context.BlockPlaceContext context)
-
Field Details
-
set
-
startFace
protected static net.createmod.catnip.math.BlockFace startFace -
goalFace
protected static net.createmod.catnip.math.BlockFace goalFace -
statesToPlace
protected static List<net.createmod.catnip.data.Pair<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState>> statesToPlace -
itemRequirements
-
particleLocations
-
-
Constructor Details
-
AutoShaftRoutingClientHelper
public AutoShaftRoutingClientHelper()
-
-
Method Details
-
cancel
public static final void cancel() -
isActive
public static final boolean isActive() -
tick
public static final void tick(net.neoforged.neoforge.client.event.ClientTickEvent.Post event) -
getFace
public static final net.createmod.catnip.math.BlockFace getFace(net.minecraft.world.level.Level level, net.minecraft.world.phys.BlockHitResult bhr) -
tryPlace
public static final void tryPlace(CornerShaftSet set, net.minecraft.world.item.context.BlockPlaceContext context) -
tryPlace
public static final void tryPlace(CornerShaftSet set, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)
-