public class ComparatorPointMachineBehavior extends java.lang.Object implements IPointMachineBehavior
| Constructor and Description |
|---|
ComparatorPointMachineBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getPowerOnSide(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
protected int |
getPowerOnSides(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction) |
boolean |
shouldDiverge(net.minecraft.block.BlockState motorState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos motorPos,
net.minecraft.util.math.BlockPos switchPos,
net.minecraft.entity.item.minecart.AbstractMinecartEntity minecartEntity) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonBlockStateUpdatepublic boolean shouldDiverge(net.minecraft.block.BlockState motorState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos motorPos,
net.minecraft.util.math.BlockPos switchPos,
@Nullable
net.minecraft.entity.item.minecart.AbstractMinecartEntity minecartEntity)
shouldDiverge in interface IPointMachineBehaviorprotected int getPowerOnSides(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction)
protected int getPowerOnSide(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side)