Class AbstractBoatEntity
- All Implemented Interfaces:
ComponentsAccess
,DataTracked
,Leashable
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
- Direct Known Subclasses:
AbstractChestBoatEntity
,BoatEntity
,RaftEntity
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/AbstractBoatEntity
intermediary net/minecraft/class_10255
official cxe
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
Nested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData
<Integer> private boolean
private float
private float
static final double
A boat will emit a sound event every time a paddle is near this rotation.private double
static final int
static final int
static final int
private static final int
private final PositionInterpolator
private float
private AbstractBoatEntity.Location
private Leashable.LeashData
private static final TrackedData
<Boolean> private AbstractBoatEntity.Location
private float
private static final float
private boolean
private final float[]
private boolean
private boolean
private boolean
private boolean
private static final TrackedData
<Boolean> private float
private double
private float
Fields inherited from class net.minecraft.entity.vehicle.VehicleEntity
DAMAGE_WOBBLE_SIDE, DAMAGE_WOBBLE_STRENGTH, DAMAGE_WOBBLE_TICKS
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTS
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractBoatEntity
(EntityType<? extends AbstractBoatEntity> type, World world, Supplier<Item> itemSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
animateDamage
(float yaw) Called on the client to animate the entity's damage (the wobble).protected final Item
asItem()
protected boolean
canAddPassenger
(Entity passenger) Returns whetherentity
can ride this entity.static boolean
canCollide
(Entity entity, Entity other) boolean
canHit()
Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.boolean
private boolean
private AbstractBoatEntity.Location
protected void
clampPassengerYaw
(Entity passenger) boolean
collidesWith
(Entity other) Returns whether this entity cannot occupy the same space withother
.protected void
fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private int
Returns the passenger in control of this entity, ornull
if there is none.protected double
protected int
protected Entity.MoveEffect
Returns the possible effect(s) of an entity moving.float
protected @Nullable SoundEvent
protected Vec3d
getPassengerAttachmentPos
(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected abstract double
getPassengerAttachmentY
(EntityDimensions dimensions) protected float
final ItemStack
Returns the stack for creative "pick block" functionality, ornull
if there is none.Vec3d[]
private @Nullable AbstractBoatEntity.Location
float
private void
protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.void
initPosition
(double x, double y, double z) interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.boolean
isCollidable
(@Nullable Entity entity) Returns whether other entities cannot occupy the same space with this entity.boolean
isPaddleMoving
(int paddle) boolean
Returns whether the entity can be pushed by other entities.boolean
isSmallerThanBoat
(Entity entity) boolean
Returns whether this entity's hitbox is fully submerged in water.float
lerpBubbleWobble
(float tickProgress) float
lerpPaddlePhase
(int paddle, float tickProgress) void
onBubbleColumnSurfaceCollision
(boolean drag, BlockPos pos) Called when the entity collides with a bubble column with an air above.void
onPassengerLookAround
(Entity passenger) positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.void
pushAwayFrom
(Entity entity) protected void
readCustomData
(ReadView view) void
remove
(Entity.RemovalReason reason) Removes the entity.private void
setBubbleWobbleTicks
(int bubbleWobbleTicks) void
setInputs
(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack) void
setLeashData
(Leashable.LeashData leashData) void
setPaddlesMoving
(boolean left, boolean right) void
tick()
Ticks this entity.private void
updatePassengerForDismount
(LivingEntity passenger) Returns the position of the dismountedpassenger
.protected void
updatePassengerPosition
(Entity passenger, Entity.PositionUpdater positionUpdater) private void
protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.vehicle.VehicleEntity
clientDamage, damage, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultPortalCooldown, isImmuneToExplosion, killAndDropItem, killAndDropSelf, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, shouldAlwaysKill
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canActVoluntarily, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, castComponentValue, changeLookDirection, checkDespawn, clearQueuedCollisionChecks, collides, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyYaw, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDimensions, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMovement, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFall, handleFallDamage, handleFallDamageForPassengers, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlive, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowing, isGlowingLocal, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInSneakingPose, isInSwimmingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPlayerCollision, onRemove, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBodyYaw, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, beforeLeashTick, canBeLeashed, canBeLeashedTo, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashSnappingDistance, isLeashed, mightBeLeashed, onLeashRemoved, onLongLeashTick, onShortLeashTick, readLeashData, setUnresolvedLeashHolderId, snapLongLeash, writeLeashData
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LEFT_PADDLE_MOVING
- Mappings:
Namespace Name Mixin selector named LEFT_PADDLE_MOVING
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;LEFT_PADDLE_MOVING:Lnet/minecraft/entity/data/TrackedData;
intermediary field_54448
Lnet/minecraft/class_10255;field_54448:Lnet/minecraft/class_2940;
official r
Lcxe;r:Lalh;
-
RIGHT_PADDLE_MOVING
- Mappings:
Namespace Name Mixin selector named RIGHT_PADDLE_MOVING
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;RIGHT_PADDLE_MOVING:Lnet/minecraft/entity/data/TrackedData;
intermediary field_54449
Lnet/minecraft/class_10255;field_54449:Lnet/minecraft/class_2940;
official s
Lcxe;s:Lalh;
-
BUBBLE_WOBBLE_TICKS
- Mappings:
Namespace Name Mixin selector named BUBBLE_WOBBLE_TICKS
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;BUBBLE_WOBBLE_TICKS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_54450
Lnet/minecraft/class_10255;field_54450:Lnet/minecraft/class_2940;
official t
Lcxe;t:Lalh;
-
field_54427
public static final int field_54427- See Also:
- Mappings:
Namespace Name Mixin selector named field_54427
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54427:I
intermediary field_54427
Lnet/minecraft/class_10255;field_54427:I
official a
Lcxe;a:I
-
field_54445
public static final int field_54445- See Also:
- Mappings:
Namespace Name Mixin selector named field_54445
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54445:I
intermediary field_54445
Lnet/minecraft/class_10255;field_54445:I
official b
Lcxe;b:I
-
field_54451
private static final int field_54451- See Also:
- Mappings:
Namespace Name Mixin selector named field_54451
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54451:I
intermediary field_54451
Lnet/minecraft/class_10255;field_54451:I
official u
Lcxe;u:I
-
NEXT_PADDLE_PHASE
private static final float NEXT_PADDLE_PHASE- See Also:
- Mappings:
Namespace Name Mixin selector named NEXT_PADDLE_PHASE
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;NEXT_PADDLE_PHASE:F
intermediary field_54452
Lnet/minecraft/class_10255;field_54452:F
official aM
Lcxe;aM:F
-
EMIT_SOUND_EVENT_PADDLE_ROTATION
public static final double EMIT_SOUND_EVENT_PADDLE_ROTATIONA boat will emit a sound event every time a paddle is near this rotation.- See Also:
- Mappings:
Namespace Name Mixin selector named EMIT_SOUND_EVENT_PADDLE_ROTATION
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;EMIT_SOUND_EVENT_PADDLE_ROTATION:D
intermediary field_54446
Lnet/minecraft/class_10255;field_54446:D
official c
Lcxe;c:D
-
field_54447
public static final int field_54447- See Also:
- Mappings:
Namespace Name Mixin selector named field_54447
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54447:I
intermediary field_54447
Lnet/minecraft/class_10255;field_54447:I
official d
Lcxe;d:I
-
paddlePhases
private final float[] paddlePhases- Mappings:
Namespace Name Mixin selector named paddlePhases
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;paddlePhases:[F
intermediary field_54453
Lnet/minecraft/class_10255;field_54453:[F
official aN
Lcxe;aN:[F
-
ticksUnderwater
private float ticksUnderwater- Mappings:
Namespace Name Mixin selector named ticksUnderwater
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;ticksUnderwater:F
intermediary field_54455
Lnet/minecraft/class_10255;field_54455:F
official aO
Lcxe;aO:F
-
yawVelocity
private float yawVelocity- Mappings:
Namespace Name Mixin selector named yawVelocity
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;yawVelocity:F
intermediary field_54456
Lnet/minecraft/class_10255;field_54456:F
official aP
Lcxe;aP:F
-
interpolator
- Mappings:
Namespace Name Mixin selector named interpolator
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;interpolator:Lnet/minecraft/entity/PositionInterpolator;
intermediary field_55706
Lnet/minecraft/class_10255;field_55706:Lnet/minecraft/class_10584;
official aQ
Lcxe;aQ:Lcah;
-
pressingLeft
private boolean pressingLeft- Mappings:
Namespace Name Mixin selector named pressingLeft
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingLeft:Z
intermediary field_54444
Lnet/minecraft/class_10255;field_54444:Z
official aR
Lcxe;aR:Z
-
pressingRight
private boolean pressingRight- Mappings:
Namespace Name Mixin selector named pressingRight
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingRight:Z
intermediary field_54428
Lnet/minecraft/class_10255;field_54428:Z
official aS
Lcxe;aS:Z
-
pressingForward
private boolean pressingForward- Mappings:
Namespace Name Mixin selector named pressingForward
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingForward:Z
intermediary field_54429
Lnet/minecraft/class_10255;field_54429:Z
official aT
Lcxe;aT:Z
-
pressingBack
private boolean pressingBack- Mappings:
Namespace Name Mixin selector named pressingBack
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingBack:Z
intermediary field_54430
Lnet/minecraft/class_10255;field_54430:Z
official aU
Lcxe;aU:Z
-
waterLevel
private double waterLevel- Mappings:
Namespace Name Mixin selector named waterLevel
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;waterLevel:D
intermediary field_54431
Lnet/minecraft/class_10255;field_54431:D
official aV
Lcxe;aV:D
-
nearbySlipperiness
private float nearbySlipperiness- Mappings:
Namespace Name Mixin selector named nearbySlipperiness
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;nearbySlipperiness:F
intermediary field_54432
Lnet/minecraft/class_10255;field_54432:F
official aW
Lcxe;aW:F
-
location
- Mappings:
Namespace Name Mixin selector named location
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;location:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;
intermediary field_54433
Lnet/minecraft/class_10255;field_54433:Lnet/minecraft/class_10255$class_1691;
official aX
Lcxe;aX:Lcxe$a;
-
lastLocation
- Mappings:
Namespace Name Mixin selector named lastLocation
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;lastLocation:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;
intermediary field_54434
Lnet/minecraft/class_10255;field_54434:Lnet/minecraft/class_10255$class_1691;
official aY
Lcxe;aY:Lcxe$a;
-
fallVelocity
private double fallVelocity- Mappings:
Namespace Name Mixin selector named fallVelocity
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;fallVelocity:D
intermediary field_54435
Lnet/minecraft/class_10255;field_54435:D
official aZ
Lcxe;aZ:D
-
onBubbleColumnSurface
private boolean onBubbleColumnSurface- Mappings:
Namespace Name Mixin selector named onBubbleColumnSurface
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;onBubbleColumnSurface:Z
intermediary field_54436
Lnet/minecraft/class_10255;field_54436:Z
official ba
Lcxe;ba:Z
-
bubbleColumnIsDrag
private boolean bubbleColumnIsDrag- Mappings:
Namespace Name Mixin selector named bubbleColumnIsDrag
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;bubbleColumnIsDrag:Z
intermediary field_54437
Lnet/minecraft/class_10255;field_54437:Z
official bb
Lcxe;bb:Z
-
bubbleWobbleStrength
private float bubbleWobbleStrength- Mappings:
Namespace Name Mixin selector named bubbleWobbleStrength
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;bubbleWobbleStrength:F
intermediary field_54438
Lnet/minecraft/class_10255;field_54438:F
official bc
Lcxe;bc:F
-
bubbleWobble
private float bubbleWobble- Mappings:
Namespace Name Mixin selector named bubbleWobble
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;bubbleWobble:F
intermediary field_54439
Lnet/minecraft/class_10255;field_54439:F
official bd
Lcxe;bd:F
-
lastBubbleWobble
private float lastBubbleWobble- Mappings:
Namespace Name Mixin selector named lastBubbleWobble
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;lastBubbleWobble:F
intermediary field_54440
Lnet/minecraft/class_10255;field_54440:F
official be
Lcxe;be:F
-
leashData
- Mappings:
Namespace Name Mixin selector named leashData
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;leashData:Lnet/minecraft/entity/Leashable$LeashData;
intermediary field_54441
Lnet/minecraft/class_10255;field_54441:Lnet/minecraft/class_9817$class_9818;
official bf
Lcxe;bf:Lcak$a;
-
itemSupplier
- Mappings:
Namespace Name Mixin selector named itemSupplier
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;itemSupplier:Ljava/util/function/Supplier;
intermediary field_54442
Lnet/minecraft/class_10255;field_54442:Ljava/util/function/Supplier;
official bg
Lcxe;bg:Ljava/util/function/Supplier;
-
-
Constructor Details
-
AbstractBoatEntity
public AbstractBoatEntity(EntityType<? extends AbstractBoatEntity> type, World world, Supplier<Item> itemSupplier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Ljava/util/function/Supplier;)V
intermediary <init>
Lnet/minecraft/class_10255;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Ljava/util/function/Supplier;)V
official <init>
Lcxe;<init>(Lbzv;Ldmu;Ljava/util/function/Supplier;)V
-
-
Method Details
-
initPosition
public void initPosition(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named initPosition
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;initPosition(DDD)V
intermediary method_64498
Lnet/minecraft/class_10255;method_64498(DDD)V
official p
Lcxe;p(DDD)V
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffect
in classEntity
- Implementation Note:
- If an entity does not emit game events or play move sounds, this method should be overridden as returning a value other than ALL allows skipping some movement logic and boost ticking performance.
- Mappings:
Namespace Name Mixin selector named getMoveEffect
Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
official bj
Lbzm;bj()Lbzm$d;
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTracker
in classVehicleEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
collidesWith
Returns whether this entity cannot occupy the same space withother
.This returns
false
ifother
is connected through vehicles.- Overrides:
collidesWith
in classEntity
- Returns:
- whether this entity cannot occupy the same space with
other
- See Also:
- Mappings:
Namespace Name Mixin selector named collidesWith
Lnet/minecraft/entity/Entity;collidesWith(Lnet/minecraft/entity/Entity;)Z
intermediary method_30949
Lnet/minecraft/class_1297;method_30949(Lnet/minecraft/class_1297;)Z
official i
Lbzm;i(Lbzm;)Z
-
canCollide
- Mappings:
Namespace Name Mixin selector named canCollide
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;canCollide(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Z
intermediary method_64486
Lnet/minecraft/class_10255;method_64486(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Z
official a
Lcxe;a(Lbzm;Lbzm;)Z
-
isCollidable
Returns whether other entities cannot occupy the same space with this entity.If
true
, other entities can stand on this entity without falling.BoatEntity
andShulkerEntity
has this behavior.- Overrides:
isCollidable
in classEntity
- Returns:
- whether other entities cannot occupy the same space with this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named isCollidable
Lnet/minecraft/entity/Entity;isCollidable(Lnet/minecraft/entity/Entity;)Z
intermediary method_30948
Lnet/minecraft/class_1297;method_30948(Lnet/minecraft/class_1297;)Z
official j
Lbzm;j(Lbzm;)Z
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushable
in classEntity
- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
official bL
Lbzm;bL()Z
-
positionInPortal
Returns the entity's position in the portal after teleportation.- Overrides:
positionInPortal
in classEntity
- Returns:
- the entity's position in the portal after teleportation
- See Also:
- Mappings:
Namespace Name Mixin selector named positionInPortal
Lnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;
intermediary method_30633
Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;
official a
Lbzm;a(Ljh$a;Lm$a;)Lfis;
-
getPassengerAttachmentY
- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentY
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getPassengerAttachmentY(Lnet/minecraft/entity/EntityDimensions;)D
intermediary method_64489
Lnet/minecraft/class_10255;method_64489(Lnet/minecraft/class_4048;)D
official b
Lcxe;b(Lbzp;)D
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPos
in classEntity
- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentPos
Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_52533
Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;
official a
Lbzm;a(Lbzm;Lbzp;F)Lfis;
-
onBubbleColumnSurfaceCollision
Called when the entity collides with a bubble column with an air above.This applies the bubble column velocity by default.
BoatEntity
uses this to spawn splash particles.- Overrides:
onBubbleColumnSurfaceCollision
in classEntity
- Parameters:
drag
- whether the entity should be dragged downwards- Mappings:
Namespace Name Mixin selector named onBubbleColumnSurfaceCollision
Lnet/minecraft/entity/Entity;onBubbleColumnSurfaceCollision(ZLnet/minecraft/util/math/BlockPos;)V
intermediary method_5700
Lnet/minecraft/class_1297;method_5700(ZLnet/minecraft/class_2338;)V
official a
Lbzm;a(ZLjb;)V
-
pushAwayFrom
- Overrides:
pushAwayFrom
in classEntity
- Mappings:
Namespace Name Mixin selector named pushAwayFrom
Lnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
intermediary method_5697
Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)V
official h
Lbzm;h(Lbzm;)V
-
animateDamage
public void animateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).- Overrides:
animateDamage
in classEntity
- Mappings:
Namespace Name Mixin selector named animateDamage
Lnet/minecraft/entity/Entity;animateDamage(F)V
intermediary method_5879
Lnet/minecraft/class_1297;method_5879(F)V
official q
Lbzm;q(F)V
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHit
in classEntity
- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector named canHit
Lnet/minecraft/entity/Entity;canHit()Z
intermediary method_5863
Lnet/minecraft/class_1297;method_5863()Z
official bK
Lbzm;bK()Z
-
getInterpolator
- Overrides:
getInterpolator
in classEntity
- Mappings:
Namespace Name Mixin selector named getInterpolator
Lnet/minecraft/entity/Entity;getInterpolator()Lnet/minecraft/entity/PositionInterpolator;
intermediary method_66233
Lnet/minecraft/class_1297;method_66233()Lnet/minecraft/class_10584;
official l_
Lbzm;l_()Lcah;
-
getMovementDirection
- Overrides:
getMovementDirection
in classEntity
- Mappings:
Namespace Name Mixin selector named getMovementDirection
Lnet/minecraft/entity/Entity;getMovementDirection()Lnet/minecraft/util/math/Direction;
intermediary method_5755
Lnet/minecraft/class_1297;method_5755()Lnet/minecraft/class_2350;
official cT
Lbzm;cT()Ljh;
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
Entity.baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
handleBubbleColumn
private void handleBubbleColumn()- Mappings:
Namespace Name Mixin selector named handleBubbleColumn
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;handleBubbleColumn()V
intermediary method_64476
Lnet/minecraft/class_10255;method_64476()V
official K
Lcxe;K()V
-
getPaddleSound
- Mappings:
Namespace Name Mixin selector named getPaddleSound
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getPaddleSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_64494
Lnet/minecraft/class_10255;method_64494()Lnet/minecraft/class_3414;
official f
Lcxe;f()Layy;
-
setPaddlesMoving
public void setPaddlesMoving(boolean left, boolean right) - Mappings:
Namespace Name Mixin selector named setPaddlesMoving
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;setPaddlesMoving(ZZ)V
intermediary method_64490
Lnet/minecraft/class_10255;method_64490(ZZ)V
official a
Lcxe;a(ZZ)V
-
lerpPaddlePhase
public float lerpPaddlePhase(int paddle, float tickProgress) - Mappings:
Namespace Name Mixin selector named lerpPaddlePhase
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;lerpPaddlePhase(IF)F
intermediary method_64485
Lnet/minecraft/class_10255;method_64485(IF)F
official a
Lcxe;a(IF)F
-
getLeashData
- Specified by:
getLeashData
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named getLeashData
Lnet/minecraft/entity/Leashable;getLeashData()Lnet/minecraft/entity/Leashable$LeashData;
intermediary method_60955
Lnet/minecraft/class_9817;method_60955()Lnet/minecraft/class_9817$class_9818;
official T_
Lcak;T_()Lcak$a;
-
setLeashData
- Specified by:
setLeashData
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named setLeashData
Lnet/minecraft/entity/Leashable;setLeashData(Lnet/minecraft/entity/Leashable$LeashData;)V
intermediary method_60960
Lnet/minecraft/class_9817;method_60960(Lnet/minecraft/class_9817$class_9818;)V
official a
Lcak;a(Lcak$a;)V
-
getLeashOffset
- Specified by:
getLeashOffset
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named getLeashOffset
Lnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
intermediary method_29919
Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;
official F
Lcak;F()Lfis;
-
canUseQuadLeashAttachmentPoint
public boolean canUseQuadLeashAttachmentPoint()- Specified by:
canUseQuadLeashAttachmentPoint
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named canUseQuadLeashAttachmentPoint
Lnet/minecraft/entity/Leashable;canUseQuadLeashAttachmentPoint()Z
intermediary method_70991
Lnet/minecraft/class_9817;method_70991()Z
official D
Lcak;D()Z
-
getQuadLeashOffsets
- Specified by:
getQuadLeashOffsets
in interfaceLeashable
- Mappings:
Namespace Name Mixin selector named getQuadLeashOffsets
Lnet/minecraft/entity/Leashable;getQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;
intermediary method_70992
Lnet/minecraft/class_9817;method_70992()[Lnet/minecraft/class_243;
official E
Lcak;E()[Lfis;
-
checkLocation
- Mappings:
Namespace Name Mixin selector named checkLocation
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;checkLocation()Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;
intermediary method_64478
Lnet/minecraft/class_10255;method_64478()Lnet/minecraft/class_10255$class_1691;
official L
Lcxe;L()Lcxe$a;
-
getWaterHeightBelow
public float getWaterHeightBelow()- Mappings:
Namespace Name Mixin selector named getWaterHeightBelow
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getWaterHeightBelow()F
intermediary method_64495
Lnet/minecraft/class_10255;method_64495()F
official i
Lcxe;i()F
-
getNearbySlipperiness
public float getNearbySlipperiness()- Mappings:
Namespace Name Mixin selector named getNearbySlipperiness
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getNearbySlipperiness()F
intermediary method_64497
Lnet/minecraft/class_10255;method_64497()F
official l
Lcxe;l()F
-
checkBoatInWater
private boolean checkBoatInWater()- Mappings:
Namespace Name Mixin selector named checkBoatInWater
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;checkBoatInWater()Z
intermediary method_64479
Lnet/minecraft/class_10255;method_64479()Z
official N
Lcxe;N()Z
-
getUnderWaterLocation
- Mappings:
Namespace Name Mixin selector named getUnderWaterLocation
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getUnderWaterLocation()Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;
intermediary method_64480
Lnet/minecraft/class_10255;method_64480()Lnet/minecraft/class_10255$class_1691;
official O
Lcxe;O()Lcxe$a;
-
getGravity
protected double getGravity()- Overrides:
getGravity
in classEntity
- Mappings:
Namespace Name Mixin selector named getGravity
Lnet/minecraft/entity/Entity;getGravity()D
intermediary method_7490
Lnet/minecraft/class_1297;method_7490()D
official bg
Lbzm;bg()D
-
updateVelocity
private void updateVelocity()- Mappings:
Namespace Name Mixin selector named updateVelocity
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;updateVelocity()V
intermediary method_64481
Lnet/minecraft/class_10255;method_64481()V
official P
Lcxe;P()V
-
updatePaddles
private void updatePaddles()- Mappings:
Namespace Name Mixin selector named updatePaddles
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;updatePaddles()V
intermediary method_64482
Lnet/minecraft/class_10255;method_64482()V
official Q
Lcxe;Q()V
-
getPassengerHorizontalOffset
protected float getPassengerHorizontalOffset()- Mappings:
Namespace Name Mixin selector named getPassengerHorizontalOffset
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getPassengerHorizontalOffset()F
intermediary method_64499
Lnet/minecraft/class_10255;method_64499()F
official m
Lcxe;m()F
-
isSmallerThanBoat
- Mappings:
Namespace Name Mixin selector named isSmallerThanBoat
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;isSmallerThanBoat(Lnet/minecraft/entity/Entity;)Z
intermediary method_64488
Lnet/minecraft/class_10255;method_64488(Lnet/minecraft/class_1297;)Z
official C
Lcxe;C(Lbzm;)Z
-
updatePassengerPosition
- Overrides:
updatePassengerPosition
in classEntity
- Mappings:
Namespace Name Mixin selector named updatePassengerPosition
Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity$PositionUpdater;)V
intermediary method_5865
Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)V
official a
Lbzm;a(Lbzm;Lbzm$b;)V
-
updatePassengerForDismount
Returns the position of the dismountedpassenger
.Vehicles should override this to return a suitable dismounting position for the passenger. Check the implementation of the subclass for details.
- Overrides:
updatePassengerForDismount
in classEntity
- Returns:
- the position of the dismounted
passenger
- See Also:
- Mappings:
Namespace Name Mixin selector named updatePassengerForDismount
Lnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
intermediary method_24829
Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
official b
Lbzm;b(Lcam;)Lfis;
-
clampPassengerYaw
- Mappings:
Namespace Name Mixin selector named clampPassengerYaw
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;clampPassengerYaw(Lnet/minecraft/entity/Entity;)V
intermediary method_64492
Lnet/minecraft/class_10255;method_64492(Lnet/minecraft/class_1297;)V
official D
Lcxe;D(Lbzm;)V
-
onPassengerLookAround
- Overrides:
onPassengerLookAround
in classEntity
- Mappings:
Namespace Name Mixin selector named onPassengerLookAround
Lnet/minecraft/entity/Entity;onPassengerLookAround(Lnet/minecraft/entity/Entity;)V
intermediary method_5644
Lnet/minecraft/class_1297;method_5644(Lnet/minecraft/class_1297;)V
official l
Lbzm;l(Lbzm;)V
-
writeCustomData
- Specified by:
writeCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
readCustomData
- Specified by:
readCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
interact
Called when a player interacts with this entity.- Overrides:
interact
in classEntity
- Parameters:
player
- the playerhand
- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official a
Lbzm;a(Lcut;Lbxi;)Lbxj;
-
remove
Removes the entity.- Overrides:
remove
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
intermediary method_5650
Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)V
official a
Lbzm;a(Lbzm$e;)V
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
fall
in classEntity
- Implementation Note:
- If on ground, this calls
Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, double)
, which can add or reduce fall damage, emitsGameEvent.HIT_GROUND
, then callsEntity.onLanding()
. Otherwise, ifheightDifference
is negative, it subtracts that value fromEntity.fallDistance
. - Mappings:
Namespace Name Mixin selector named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
official a
Lbzm;a(DZLeeb;Ljb;)V
-
isPaddleMoving
public boolean isPaddleMoving(int paddle) - Mappings:
Namespace Name Mixin selector named isPaddleMoving
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;isPaddleMoving(I)Z
intermediary method_64491
Lnet/minecraft/class_10255;method_64491(I)Z
official c
Lcxe;c(I)Z
-
setBubbleWobbleTicks
private void setBubbleWobbleTicks(int bubbleWobbleTicks) - Mappings:
Namespace Name Mixin selector named setBubbleWobbleTicks
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;setBubbleWobbleTicks(I)V
intermediary method_64496
Lnet/minecraft/class_10255;method_64496(I)V
official m
Lcxe;m(I)V
-
getBubbleWobbleTicks
private int getBubbleWobbleTicks()- Mappings:
Namespace Name Mixin selector named getBubbleWobbleTicks
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getBubbleWobbleTicks()I
intermediary method_64483
Lnet/minecraft/class_10255;method_64483()I
official R
Lcxe;R()I
-
lerpBubbleWobble
public float lerpBubbleWobble(float tickProgress) - Mappings:
Namespace Name Mixin selector named lerpBubbleWobble
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;lerpBubbleWobble(F)F
intermediary method_64484
Lnet/minecraft/class_10255;method_64484(F)F
official b
Lcxe;b(F)F
-
canAddPassenger
Returns whetherentity
can ride this entity.Returning
false
causes other entities to be unable to ride this entity. For example,BoatEntity
uses this to restrict how many passengers can ride the same boat (2 for normal, 1 for chest boat).This is the opposite of
Entity.canStartRiding(net.minecraft.entity.Entity)
.- Overrides:
canAddPassenger
in classEntity
- Returns:
- whether
entity
can ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector named canAddPassenger
Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
intermediary method_5818
Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
official s
Lbzm;s(Lbzm;)Z
-
getMaxPassengers
protected int getMaxPassengers()- Mappings:
Namespace Name Mixin selector named getMaxPassengers
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;getMaxPassengers()I
intermediary method_64500
Lnet/minecraft/class_10255;method_64500()I
official n
Lcxe;n()I
-
getControllingPassenger
Returns the passenger in control of this entity, ornull
if there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger
.- Overrides:
getControllingPassenger
in classEntity
- Returns:
- the passenger in control of this entity, or
null
if there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassenger
Lnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;
official cY
Lbzm;cY()Lcam;
-
setInputs
public void setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack) - Mappings:
Namespace Name Mixin selector named setInputs
Lnet/minecraft/entity/vehicle/AbstractBoatEntity;setInputs(ZZZZ)V
intermediary method_64487
Lnet/minecraft/class_10255;method_64487(ZZZZ)V
official a
Lcxe;a(ZZZZ)V
-
isSubmergedInWater
public boolean isSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.- Overrides:
isSubmergedInWater
in classEntity
- Returns:
- whether this entity's hitbox is fully submerged in water
- Mappings:
Namespace Name Mixin selector named isSubmergedInWater
Lnet/minecraft/entity/Entity;isSubmergedInWater()Z
intermediary method_5869
Lnet/minecraft/class_1297;method_5869()Z
official bq
Lbzm;bq()Z
-
asItem
- Specified by:
asItem
in classVehicleEntity
- Mappings:
Namespace Name Mixin selector named asItem
Lnet/minecraft/entity/vehicle/VehicleEntity;asItem()Lnet/minecraft/item/Item;
intermediary method_7557
Lnet/minecraft/class_8836;method_7557()Lnet/minecraft/class_1792;
official p
Lcxy;p()Ldcr;
-
getPickBlockStack
Returns the stack for creative "pick block" functionality, ornull
if there is none.If the entity has an item representation (such as boats or minecarts), this should be overridden to return a new stack. Note that
MobEntity
handles the spawn eggs.ItemFrameEntity
instead returns the copy of the stack held in the frame.- Overrides:
getPickBlockStack
in classEntity
- Returns:
- the stack for creative "pick block" functionality, or
null
if there is none - Mappings:
Namespace Name Mixin selector named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
official dM
Lbzm;dM()Ldcv;
-