Class HarvesterMovementBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.components.actors.HarvesterMovementBehaviour
- All Implemented Interfaces:
MovementBehaviour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld simulationWorld, MovementContext context) net.minecraft.world.phys.Vec3getActiveAreaOffset(MovementContext context) booleanbooleanisActive(MovementContext context) booleanisValidCrop(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) booleanisValidOther(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) voidrenderInContraption(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffers) voidvisitNewPosition(MovementContext context, net.minecraft.core.BlockPos pos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.content.contraptions.components.structureMovement.MovementBehaviour
cancelStall, dropItem, onSpeedChanged, renderAsNormalTileEntity, startMoving, stopMoving, tick, writeExtraData
-
Constructor Details
-
HarvesterMovementBehaviour
public HarvesterMovementBehaviour()
-
-
Method Details
-
isActive
- Specified by:
isActivein interfaceMovementBehaviour
-
hasSpecialInstancedRendering
public boolean hasSpecialInstancedRendering()- Specified by:
hasSpecialInstancedRenderingin interfaceMovementBehaviour
-
createInstance
@Nullable public ActorInstance createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld simulationWorld, MovementContext context) - Specified by:
createInstancein interfaceMovementBehaviour
-
renderInContraption
public void renderInContraption(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffers) - Specified by:
renderInContraptionin interfaceMovementBehaviour
-
getActiveAreaOffset
- Specified by:
getActiveAreaOffsetin interfaceMovementBehaviour
-
visitNewPosition
- Specified by:
visitNewPositionin interfaceMovementBehaviour
-
isValidCrop
public boolean isValidCrop(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
isValidOther
public boolean isValidOther(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-