Class AllArmInteractionPointTypes.ComposterPoint
java.lang.Object
com.simibubi.create.content.kinetics.mechanicalArm.ArmInteractionPoint
com.simibubi.create.content.kinetics.mechanicalArm.AllArmInteractionPointTypes.ComposterPoint
- Enclosing class:
AllArmInteractionPointTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.kinetics.mechanicalArm.ArmInteractionPoint
ArmInteractionPoint.Mode -
Field Summary
Fields inherited from class com.simibubi.create.content.kinetics.mechanicalArm.ArmInteractionPoint
cachedAngles, cachedHandler, cachedState, level, mode, pos, type -
Constructor Summary
ConstructorsConstructorDescriptionComposterPoint(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.world.WorldlyContainerprotected net.neoforged.neoforge.items.IItemHandlerprotected net.minecraft.world.phys.Vec3intnet.minecraft.world.item.ItemStackinsert(net.minecraft.world.item.ItemStack stack, boolean simulate) voidMethods inherited from class com.simibubi.create.content.kinetics.mechanicalArm.ArmInteractionPoint
create, cycleMode, deserialize, deserialize, extract, getInteractionDirection, getLevel, getMode, getPos, getTargetAngles, getType, isInteractable, isValid, keepAlive, serialize, serialize, setLevel, transformPos
-
Constructor Details
-
ComposterPoint
public ComposterPoint(ArmInteractionPointType type, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
getInteractionPositionVector
protected net.minecraft.world.phys.Vec3 getInteractionPositionVector()- Overrides:
getInteractionPositionVectorin classArmInteractionPoint
-
updateCachedState
public void updateCachedState()- Overrides:
updateCachedStatein classArmInteractionPoint
-
getHandler
@Nullable protected net.neoforged.neoforge.items.IItemHandler getHandler()- Overrides:
getHandlerin classArmInteractionPoint
-
getContainer
protected net.minecraft.world.WorldlyContainer getContainer() -
insert
public net.minecraft.world.item.ItemStack insert(net.minecraft.world.item.ItemStack stack, boolean simulate) - Overrides:
insertin classArmInteractionPoint
-
extract
public net.minecraft.world.item.ItemStack extract(int slot, int amount, boolean simulate) - Overrides:
extractin classArmInteractionPoint
-
getSlotCount
public int getSlotCount()- Overrides:
getSlotCountin classArmInteractionPoint
-