Class EdgeInteractionHandler
java.lang.Object
com.simibubi.create.foundation.tileEntity.behaviour.edgeInteraction.EdgeInteractionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.core.DirectiongetActivatedDirection(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, net.minecraft.world.phys.Vec3 hit, EdgeInteractionBehaviour behaviour) static List<net.minecraft.core.Direction>getConnectiveSides(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, EdgeInteractionBehaviour behaviour) static voidonBlockActivated(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event)
-
Constructor Details
-
EdgeInteractionHandler
public EdgeInteractionHandler()
-
-
Method Details
-
onBlockActivated
public static void onBlockActivated(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) -
getConnectiveSides
public static List<net.minecraft.core.Direction> getConnectiveSides(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, EdgeInteractionBehaviour behaviour) -
getActivatedDirection
public static net.minecraft.core.Direction getActivatedDirection(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, net.minecraft.world.phys.Vec3 hit, EdgeInteractionBehaviour behaviour)
-