Class AllArmInteractionPointTypes.CrafterPoint
java.lang.Object
com.simibubi.create.content.logistics.block.mechanicalArm.ArmInteractionPoint
com.simibubi.create.content.logistics.block.mechanicalArm.AllArmInteractionPointTypes.CrafterPoint
- Enclosing class:
- AllArmInteractionPointTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.logistics.block.mechanicalArm.ArmInteractionPoint
ArmInteractionPoint.Mode -
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.block.mechanicalArm.ArmInteractionPoint
cachedAngles, cachedHandler, cachedState, level, mode, pos, type -
Constructor Summary
ConstructorsConstructorDescriptionCrafterPoint(ArmInteractionPointType type, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackextract(int slot, int amount, boolean simulate) protected net.minecraft.core.Directionprotected net.minecraft.world.phys.Vec3voidMethods inherited from class com.simibubi.create.content.logistics.block.mechanicalArm.ArmInteractionPoint
create, cycleMode, deserialize, deserialize, extract, getHandler, getLevel, getMode, getPos, getSlotCount, getTargetAngles, getType, insert, isInteractable, isValid, keepAlive, serialize, serialize, setLevel, transformPos
-
Constructor Details
-
CrafterPoint
public CrafterPoint(ArmInteractionPointType type, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
getInteractionDirection
protected net.minecraft.core.Direction getInteractionDirection()- Overrides:
getInteractionDirectionin classArmInteractionPoint
-
getInteractionPositionVector
protected net.minecraft.world.phys.Vec3 getInteractionPositionVector()- Overrides:
getInteractionPositionVectorin classArmInteractionPoint
-
updateCachedState
public void updateCachedState()- Overrides:
updateCachedStatein classArmInteractionPoint
-
extract
public net.minecraft.world.item.ItemStack extract(int slot, int amount, boolean simulate) - Overrides:
extractin classArmInteractionPoint
-