public abstract class ArmInteractionPoint
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ArmInteractionPoint.Basin |
static class |
ArmInteractionPoint.Belt |
static class |
ArmInteractionPoint.BlazeBurner |
static class |
ArmInteractionPoint.Chute |
static class |
ArmInteractionPoint.Composter |
static class |
ArmInteractionPoint.Crafter |
static class |
ArmInteractionPoint.CrushingWheels |
static class |
ArmInteractionPoint.Deployer |
static class |
ArmInteractionPoint.Depot |
static class |
ArmInteractionPoint.Funnel |
static class |
ArmInteractionPoint.Jukebox |
static class |
ArmInteractionPoint.Millstone |
static class |
ArmInteractionPoint.Mode |
static class |
ArmInteractionPoint.Saw |
static class |
ArmInteractionPoint.TopFaceArmInteractionPoint |
| Modifier and Type | Field and Description |
|---|---|
protected ArmAngleTarget |
cachedAngles |
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> |
cachedHandler |
protected ArmInteractionPoint.Mode |
mode |
protected static java.util.HashMap<ArmInteractionPoint,java.util.function.Supplier<ArmInteractionPoint>> |
POINTS |
protected net.minecraft.util.math.BlockPos |
pos |
protected net.minecraft.block.BlockState |
state |
| Constructor and Description |
|---|
ArmInteractionPoint() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPoint(ArmInteractionPoint instance,
java.util.function.Supplier<ArmInteractionPoint> factory) |
protected static ArmInteractionPoint |
createAt(net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos) |
protected void |
cycleMode() |
protected static ArmInteractionPoint |
deserialize(net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos anchor,
net.minecraft.nbt.CompoundNBT nbt) |
protected net.minecraft.item.ItemStack |
extract(net.minecraft.world.World world,
int slot,
boolean simulate) |
protected net.minecraft.item.ItemStack |
extract(net.minecraft.world.World world,
int slot,
int amount,
boolean simulate) |
protected com.jozufozu.flywheel.core.PartialModel |
getFlagType() |
protected net.minecraftforge.items.IItemHandler |
getHandler(net.minecraft.world.World world) |
protected net.minecraft.util.Direction |
getInteractionDirection() |
protected net.minecraft.util.math.vector.Vector3d |
getInteractionPositionVector() |
protected int |
getSlotCount(net.minecraft.world.World world) |
protected ArmAngleTarget |
getTargetAngles(net.minecraft.util.math.BlockPos armPos,
boolean ceiling) |
protected net.minecraft.item.ItemStack |
insert(net.minecraft.world.World world,
net.minecraft.item.ItemStack stack,
boolean simulate) |
protected static boolean |
isInteractable(net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
protected boolean |
isStillValid(net.minecraft.world.IBlockReader reader) |
protected abstract boolean |
isValid(net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
protected void |
keepAlive(net.minecraft.world.IWorld world) |
protected net.minecraft.nbt.CompoundNBT |
serialize(net.minecraft.util.math.BlockPos anchor) |
protected void |
transformFlag(com.mojang.blaze3d.matrix.MatrixStack stack) |
protected static void |
transformPos(StructureTransform transform,
net.minecraft.nbt.CompoundNBT nbt) |
protected net.minecraft.util.math.BlockPos pos
protected net.minecraft.block.BlockState state
protected ArmInteractionPoint.Mode mode
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> cachedHandler
protected ArmAngleTarget cachedAngles
protected static final java.util.HashMap<ArmInteractionPoint,java.util.function.Supplier<ArmInteractionPoint>> POINTS
public static void addPoint(ArmInteractionPoint instance, java.util.function.Supplier<ArmInteractionPoint> factory)
protected void transformFlag(com.mojang.blaze3d.matrix.MatrixStack stack)
protected com.jozufozu.flywheel.core.PartialModel getFlagType()
protected void cycleMode()
protected net.minecraft.util.math.vector.Vector3d getInteractionPositionVector()
protected net.minecraft.util.Direction getInteractionDirection()
protected boolean isStillValid(net.minecraft.world.IBlockReader reader)
protected void keepAlive(net.minecraft.world.IWorld world)
protected abstract boolean isValid(net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state)
protected static boolean isInteractable(net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state)
protected ArmAngleTarget getTargetAngles(net.minecraft.util.math.BlockPos armPos, boolean ceiling)
@Nullable protected net.minecraftforge.items.IItemHandler getHandler(net.minecraft.world.World world)
protected net.minecraft.item.ItemStack insert(net.minecraft.world.World world,
net.minecraft.item.ItemStack stack,
boolean simulate)
protected net.minecraft.item.ItemStack extract(net.minecraft.world.World world,
int slot,
int amount,
boolean simulate)
protected net.minecraft.item.ItemStack extract(net.minecraft.world.World world,
int slot,
boolean simulate)
protected int getSlotCount(net.minecraft.world.World world)
@Nullable protected static ArmInteractionPoint createAt(net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos)
protected net.minecraft.nbt.CompoundNBT serialize(net.minecraft.util.math.BlockPos anchor)
protected static ArmInteractionPoint deserialize(net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos anchor, net.minecraft.nbt.CompoundNBT nbt)
protected static void transformPos(StructureTransform transform, net.minecraft.nbt.CompoundNBT nbt)