public class RailLogicVerticalSlopeUpsideDownC extends RailLogicVerticalSlopeBase
step
dx, dz, startX, startZ, Y_POS_OFFSET, Y_POS_OFFSET_UPSIDEDOWN, Y_POS_OFFSET_UPSIDEDOWN_SLOPE
Modifier and Type | Method and Description |
---|---|
protected RailPath |
createPath()
This method is called once the first time
RailLogic.getPath() is invoked to generate
the appropriate rail path to use. |
static RailLogicVerticalSlopeUpsideDownC |
get(org.bukkit.block.BlockFace direction)
Gets the sloped-vertical rail logic for the the sloped track leading upwards facing the direction specified
|
checkSlopeBlockCollisions, hasVerticalMovement
get, isSloped, onPreMove
getCartDirection, getFixedPosition, getMovementDirection, isUpsideDown, onPathAdjust
getDirection, getForwardVelocity, getGravityMultiplier, getMovementDirection, getPath, onPostMove, onSpacingUpdate, onUpdateOrientation, setForwardVelocity, toString
public static RailLogicVerticalSlopeUpsideDownC get(org.bukkit.block.BlockFace direction)
direction
- of the sloped railprotected RailPath createPath()
RailLogic
RailLogic.getPath()
is invoked to generate
the appropriate rail path to use. To set the path to use for this rail logic,
override this method. If the path changes for the duration the rail logic is in use,
it is better to override and handle RailLogic.getPath()
instead.createPath
in class RailLogicSloped
Copyright © 2019. All rights reserved.