Class BoatEntity
- All Implemented Interfaces:
VariantHolder<BoatEntity.Type>
,CommandOutput
,Nameable
,EntityLike
- Direct Known Subclasses:
ChestBoatEntity
- Mappings:
Namespace Name official cdn
intermediary net/minecraft/class_1690
named net/minecraft/entity/vehicle/BoatEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
private double
private double
private static final TrackedData<Integer>
private boolean
private float
private float
private static final TrackedData<Integer>
private static final TrackedData<Float>
private static final TrackedData<Integer>
static final double
A boat will emit a sound event every time a paddle is near this rotation.private double
private static final int
static final int
static final int
static final int
private int
private float
private BoatEntity.Location
private static final TrackedData<Boolean>
private BoatEntity.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 float
private double
private double
private double
private float
private double
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionBoatEntity
(EntityType<? extends BoatEntity> type, World world) BoatEntity
(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionvoid
animateDamage
(float yaw) Called on the client to animate the entity's damage (the wobble).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.private boolean
private BoatEntity.Location
protected void
clampPassengerYaw
(Entity passenger) boolean
collidesWith
(Entity other) Returns whether this entity cannot occupy the same space withother
.boolean
damage
(DamageSource source, float amount) Applies a damage to this entity.protected void
dropItems
(DamageSource source) protected void
fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private int
@Nullable LivingEntity
Returns the passenger in control of this entity, ornull
if there is none.int
float
int
protected Text
Returns the default name of the entity.protected float
getEyeHeight
(EntityPose pose, EntityDimensions dimensions) float
double
double
float
double
protected int
protected Entity.MoveEffect
Returns the possible effect(s) of an entity moving.float
protected @Nullable SoundEvent
protected Vector3f
getPassengerAttachmentPos
(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected float
Returns the stack for creative "pick block" functionality, ornull
if there is none.private @Nullable BoatEntity.Location
float
private void
protected void
Initializes data tracker.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.float
interpolateBubbleWobble
(float tickDelta) float
interpolatePaddlePhase
(int paddle, float tickDelta) boolean
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.void
onBubbleColumnSurfaceCollision
(boolean drag) Called when the entity collides with a bubble column with an air above.void
onPassengerLookAround
(Entity passenger) protected Vec3d
positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.void
pushAwayFrom
(Entity entity) protected void
Reads custom data fromnbt
.private void
setBubbleWobbleTicks
(int wobbleTicks) void
setDamageWobbleSide
(int side) void
setDamageWobbleStrength
(float wobbleStrength) void
setDamageWobbleTicks
(int wobbleTicks) void
setInputs
(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack) void
setPaddleMovings
(boolean leftMoving, boolean rightMoving) void
setVariant
(BoatEntity.Type type) 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
void
updateTrackedPositionAndAngles
(double x, double y, double z, float yaw, float pitch, int interpolationSteps) private void
protected void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, extinguishWithSound, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRidingOffset, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUnscaledRidingOffset, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, limitFallDistance, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onDamaged, onDataTrackerUpdate, onKilledOther, onLanding, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
DAMAGE_WOBBLE_TICKS
- Mappings:
Namespace Name Mixin selector official f
Lcdn;f:Laee;
intermediary field_7688
Lnet/minecraft/class_1690;field_7688:Lnet/minecraft/class_2940;
named DAMAGE_WOBBLE_TICKS
Lnet/minecraft/entity/vehicle/BoatEntity;DAMAGE_WOBBLE_TICKS:Lnet/minecraft/entity/data/TrackedData;
-
DAMAGE_WOBBLE_SIDE
- Mappings:
Namespace Name Mixin selector official g
Lcdn;g:Laee;
intermediary field_7707
Lnet/minecraft/class_1690;field_7707:Lnet/minecraft/class_2940;
named DAMAGE_WOBBLE_SIDE
Lnet/minecraft/entity/vehicle/BoatEntity;DAMAGE_WOBBLE_SIDE:Lnet/minecraft/entity/data/TrackedData;
-
DAMAGE_WOBBLE_STRENGTH
- Mappings:
Namespace Name Mixin selector official h
Lcdn;h:Laee;
intermediary field_7705
Lnet/minecraft/class_1690;field_7705:Lnet/minecraft/class_2940;
named DAMAGE_WOBBLE_STRENGTH
Lnet/minecraft/entity/vehicle/BoatEntity;DAMAGE_WOBBLE_STRENGTH:Lnet/minecraft/entity/data/TrackedData;
-
BOAT_TYPE
- Mappings:
Namespace Name Mixin selector official i
Lcdn;i:Laee;
intermediary field_7698
Lnet/minecraft/class_1690;field_7698:Lnet/minecraft/class_2940;
named BOAT_TYPE
Lnet/minecraft/entity/vehicle/BoatEntity;BOAT_TYPE:Lnet/minecraft/entity/data/TrackedData;
-
LEFT_PADDLE_MOVING
- Mappings:
Namespace Name Mixin selector official j
Lcdn;j:Laee;
intermediary field_7687
Lnet/minecraft/class_1690;field_7687:Lnet/minecraft/class_2940;
named LEFT_PADDLE_MOVING
Lnet/minecraft/entity/vehicle/BoatEntity;LEFT_PADDLE_MOVING:Lnet/minecraft/entity/data/TrackedData;
-
RIGHT_PADDLE_MOVING
- Mappings:
Namespace Name Mixin selector official k
Lcdn;k:Laee;
intermediary field_7713
Lnet/minecraft/class_1690;field_7713:Lnet/minecraft/class_2940;
named RIGHT_PADDLE_MOVING
Lnet/minecraft/entity/vehicle/BoatEntity;RIGHT_PADDLE_MOVING:Lnet/minecraft/entity/data/TrackedData;
-
BUBBLE_WOBBLE_TICKS
- Mappings:
Namespace Name Mixin selector official l
Lcdn;l:Laee;
intermediary field_7691
Lnet/minecraft/class_1690;field_7691:Lnet/minecraft/class_2940;
named BUBBLE_WOBBLE_TICKS
Lnet/minecraft/entity/vehicle/BoatEntity;BUBBLE_WOBBLE_TICKS:Lnet/minecraft/entity/data/TrackedData;
-
field_30697
public static final int field_30697- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lcdn;b:I
intermediary field_30697
Lnet/minecraft/class_1690;field_30697:I
named field_30697
Lnet/minecraft/entity/vehicle/BoatEntity;field_30697:I
-
field_30698
public static final int field_30698- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcdn;c:I
intermediary field_30698
Lnet/minecraft/class_1690;field_30698:I
named field_30698
Lnet/minecraft/entity/vehicle/BoatEntity;field_30698:I
-
field_30695
private static final int field_30695- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lcdn;m:I
intermediary field_30695
Lnet/minecraft/class_1690;field_30695:I
named field_30695
Lnet/minecraft/entity/vehicle/BoatEntity;field_30695:I
-
NEXT_PADDLE_PHASE
private static final float NEXT_PADDLE_PHASE- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lcdn;n:F
intermediary field_30696
Lnet/minecraft/class_1690;field_30696:F
named NEXT_PADDLE_PHASE
Lnet/minecraft/entity/vehicle/BoatEntity;NEXT_PADDLE_PHASE: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 official d
Lcdn;d:D
intermediary field_30699
Lnet/minecraft/class_1690;field_30699:D
named EMIT_SOUND_EVENT_PADDLE_ROTATION
Lnet/minecraft/entity/vehicle/BoatEntity;EMIT_SOUND_EVENT_PADDLE_ROTATION:D
-
field_30700
public static final int field_30700- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcdn;e:I
intermediary field_30700
Lnet/minecraft/class_1690;field_30700:I
named field_30700
Lnet/minecraft/entity/vehicle/BoatEntity;field_30700:I
-
paddlePhases
private final float[] paddlePhases- Mappings:
Namespace Name Mixin selector official o
Lcdn;o:[F
intermediary field_7704
Lnet/minecraft/class_1690;field_7704:[F
named paddlePhases
Lnet/minecraft/entity/vehicle/BoatEntity;paddlePhases:[F
-
velocityDecay
private float velocityDecay- Mappings:
Namespace Name Mixin selector official p
Lcdn;p:F
intermediary field_7692
Lnet/minecraft/class_1690;field_7692:F
named velocityDecay
Lnet/minecraft/entity/vehicle/BoatEntity;velocityDecay:F
-
ticksUnderwater
private float ticksUnderwater- Mappings:
Namespace Name Mixin selector official q
Lcdn;q:F
intermediary field_7706
Lnet/minecraft/class_1690;field_7706:F
named ticksUnderwater
Lnet/minecraft/entity/vehicle/BoatEntity;ticksUnderwater:F
-
yawVelocity
private float yawVelocity- Mappings:
Namespace Name Mixin selector official r
Lcdn;r:F
intermediary field_7690
Lnet/minecraft/class_1690;field_7690:F
named yawVelocity
Lnet/minecraft/entity/vehicle/BoatEntity;yawVelocity:F
-
field_7708
private int field_7708- Mappings:
Namespace Name Mixin selector official s
Lcdn;s:I
intermediary field_7708
Lnet/minecraft/class_1690;field_7708:I
named field_7708
Lnet/minecraft/entity/vehicle/BoatEntity;field_7708:I
-
x
private double x- Mappings:
Namespace Name Mixin selector official t
Lcdn;t:D
intermediary field_7686
Lnet/minecraft/class_1690;field_7686:D
named x
Lnet/minecraft/entity/vehicle/BoatEntity;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official u
Lcdn;u:D
intermediary field_7700
Lnet/minecraft/class_1690;field_7700:D
named y
Lnet/minecraft/entity/vehicle/BoatEntity;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official v
Lcdn;v:D
intermediary field_7685
Lnet/minecraft/class_1690;field_7685:D
named z
Lnet/minecraft/entity/vehicle/BoatEntity;z:D
-
boatYaw
private double boatYaw- Mappings:
Namespace Name Mixin selector official aE
Lcdn;aE:D
intermediary field_7699
Lnet/minecraft/class_1690;field_7699:D
named boatYaw
Lnet/minecraft/entity/vehicle/BoatEntity;boatYaw:D
-
boatPitch
private double boatPitch- Mappings:
Namespace Name Mixin selector official aF
Lcdn;aF:D
intermediary field_7684
Lnet/minecraft/class_1690;field_7684:D
named boatPitch
Lnet/minecraft/entity/vehicle/BoatEntity;boatPitch:D
-
pressingLeft
private boolean pressingLeft- Mappings:
Namespace Name Mixin selector official aG
Lcdn;aG:Z
intermediary field_7710
Lnet/minecraft/class_1690;field_7710:Z
named pressingLeft
Lnet/minecraft/entity/vehicle/BoatEntity;pressingLeft:Z
-
pressingRight
private boolean pressingRight- Mappings:
Namespace Name Mixin selector official aH
Lcdn;aH:Z
intermediary field_7695
Lnet/minecraft/class_1690;field_7695:Z
named pressingRight
Lnet/minecraft/entity/vehicle/BoatEntity;pressingRight:Z
-
pressingForward
private boolean pressingForward- Mappings:
Namespace Name Mixin selector official aI
Lcdn;aI:Z
intermediary field_7709
Lnet/minecraft/class_1690;field_7709:Z
named pressingForward
Lnet/minecraft/entity/vehicle/BoatEntity;pressingForward:Z
-
pressingBack
private boolean pressingBack- Mappings:
Namespace Name Mixin selector official aJ
Lcdn;aJ:Z
intermediary field_7693
Lnet/minecraft/class_1690;field_7693:Z
named pressingBack
Lnet/minecraft/entity/vehicle/BoatEntity;pressingBack:Z
-
waterLevel
private double waterLevel- Mappings:
Namespace Name Mixin selector official aK
Lcdn;aK:D
intermediary field_7697
Lnet/minecraft/class_1690;field_7697:D
named waterLevel
Lnet/minecraft/entity/vehicle/BoatEntity;waterLevel:D
-
nearbySlipperiness
private float nearbySlipperiness- Mappings:
Namespace Name Mixin selector official aL
Lcdn;aL:F
intermediary field_7714
Lnet/minecraft/class_1690;field_7714:F
named nearbySlipperiness
Lnet/minecraft/entity/vehicle/BoatEntity;nearbySlipperiness:F
-
location
- Mappings:
Namespace Name Mixin selector official aM
Lcdn;aM:Lcdn$a;
intermediary field_7702
Lnet/minecraft/class_1690;field_7702:Lnet/minecraft/class_1690$class_1691;
named location
Lnet/minecraft/entity/vehicle/BoatEntity;location:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
lastLocation
- Mappings:
Namespace Name Mixin selector official aN
Lcdn;aN:Lcdn$a;
intermediary field_7701
Lnet/minecraft/class_1690;field_7701:Lnet/minecraft/class_1690$class_1691;
named lastLocation
Lnet/minecraft/entity/vehicle/BoatEntity;lastLocation:Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
fallVelocity
private double fallVelocity- Mappings:
Namespace Name Mixin selector official aO
Lcdn;aO:D
intermediary field_7696
Lnet/minecraft/class_1690;field_7696:D
named fallVelocity
Lnet/minecraft/entity/vehicle/BoatEntity;fallVelocity:D
-
onBubbleColumnSurface
private boolean onBubbleColumnSurface- Mappings:
Namespace Name Mixin selector official aP
Lcdn;aP:Z
intermediary field_7689
Lnet/minecraft/class_1690;field_7689:Z
named onBubbleColumnSurface
Lnet/minecraft/entity/vehicle/BoatEntity;onBubbleColumnSurface:Z
-
bubbleColumnIsDrag
private boolean bubbleColumnIsDrag- Mappings:
Namespace Name Mixin selector official aQ
Lcdn;aQ:Z
intermediary field_7703
Lnet/minecraft/class_1690;field_7703:Z
named bubbleColumnIsDrag
Lnet/minecraft/entity/vehicle/BoatEntity;bubbleColumnIsDrag:Z
-
bubbleWobbleStrength
private float bubbleWobbleStrength- Mappings:
Namespace Name Mixin selector official aR
Lcdn;aR:F
intermediary field_7712
Lnet/minecraft/class_1690;field_7712:F
named bubbleWobbleStrength
Lnet/minecraft/entity/vehicle/BoatEntity;bubbleWobbleStrength:F
-
bubbleWobble
private float bubbleWobble- Mappings:
Namespace Name Mixin selector official aS
Lcdn;aS:F
intermediary field_7694
Lnet/minecraft/class_1690;field_7694:F
named bubbleWobble
Lnet/minecraft/entity/vehicle/BoatEntity;bubbleWobble:F
-
lastBubbleWobble
private float lastBubbleWobble- Mappings:
Namespace Name Mixin selector official aT
Lcdn;aT:F
intermediary field_7711
Lnet/minecraft/class_1690;field_7711:F
named lastBubbleWobble
Lnet/minecraft/entity/vehicle/BoatEntity;lastBubbleWobble:F
-
-
Constructor Details
-
BoatEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbiq;<init>(Lbiu;Lcpv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
BoatEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcdn;<init>(Lcpv;DDD)V
intermediary <init>
Lnet/minecraft/class_1690;<init>(Lnet/minecraft/class_1937;DDD)V
named <init>
Lnet/minecraft/entity/vehicle/BoatEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
getEyeHeight
- Overrides:
getEyeHeight
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbjs;Lbir;)F
intermediary method_18378
Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getEyeHeight
Lnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffect
in classEntity
- Mappings:
Namespace Name Mixin selector official aU
Lbiq;aU()Lbiq$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named getMoveEffect
Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbiq;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()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 official h
Lbiq;h(Lbiq;)Z
intermediary method_30949
Lnet/minecraft/class_1297;method_30949(Lnet/minecraft/class_1297;)Z
named collidesWith
Lnet/minecraft/entity/Entity;collidesWith(Lnet/minecraft/entity/Entity;)Z
-
canCollide
- Mappings:
Namespace Name Mixin selector official a
Lcdn;a(Lbiq;Lbiq;)Z
intermediary method_30959
Lnet/minecraft/class_1690;method_30959(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Z
named canCollide
Lnet/minecraft/entity/vehicle/BoatEntity;canCollide(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Z
-
isCollidable
public boolean 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 official bx
Lbiq;bx()Z
intermediary method_30948
Lnet/minecraft/class_1297;method_30948()Z
named isCollidable
Lnet/minecraft/entity/Entity;isCollidable()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 official bs
Lbiq;bs()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
named isPushable
Lnet/minecraft/entity/Entity;isPushable()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 official a
Lbiq;a(Lha$a;Ll$a;)Lehn;
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;
named positionInPortal
Lnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;
-
getPassengerAttachmentPos
protected Vector3f getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPos
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbiq;Lbir;F)Lorg/joml/Vector3f;
intermediary method_52533
Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lorg/joml/Vector3f;
named getPassengerAttachmentPos
Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lorg/joml/Vector3f;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)
and return early.- Overrides:
damage
in classEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbho;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
dropItems
- Mappings:
Namespace Name Mixin selector official a
Lcdn;a(Lbho;)V
intermediary method_42279
Lnet/minecraft/class_1690;method_42279(Lnet/minecraft/class_1282;)V
named dropItems
Lnet/minecraft/entity/vehicle/BoatEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
-
onBubbleColumnSurfaceCollision
public void onBubbleColumnSurfaceCollision(boolean drag) 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 official k
Lbiq;k(Z)V
intermediary method_5700
Lnet/minecraft/class_1297;method_5700(Z)V
named onBubbleColumnSurfaceCollision
Lnet/minecraft/entity/Entity;onBubbleColumnSurfaceCollision(Z)V
-
pushAwayFrom
- Overrides:
pushAwayFrom
in classEntity
- Mappings:
Namespace Name Mixin selector official g
Lbiq;g(Lbiq;)V
intermediary method_5697
Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)V
named pushAwayFrom
Lnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
-
asItem
- Mappings:
Namespace Name Mixin selector official q
Lcdn;q()Lcja;
intermediary method_7557
Lnet/minecraft/class_1690;method_7557()Lnet/minecraft/class_1792;
named asItem
Lnet/minecraft/entity/vehicle/BoatEntity;asItem()Lnet/minecraft/item/Item;
-
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 official m
Lbiq;m(F)V
intermediary method_5879
Lnet/minecraft/class_1297;method_5879(F)V
named animateDamage
Lnet/minecraft/entity/Entity;animateDamage(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 official br
Lbiq;br()Z
intermediary method_5863
Lnet/minecraft/class_1297;method_5863()Z
named canHit
Lnet/minecraft/entity/Entity;canHit()Z
-
updateTrackedPositionAndAngles
public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) - Overrides:
updateTrackedPositionAndAngles
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(DDDFFI)V
intermediary method_5759
Lnet/minecraft/class_1297;method_5759(DDDFFI)V
named updateTrackedPositionAndAngles
Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFI)V
-
getLerpTargetX
public double getLerpTargetX()- Overrides:
getLerpTargetX
in classEntity
- Mappings:
Namespace Name Mixin selector official n_
Lbiq;n_()D
intermediary method_53830
Lnet/minecraft/class_1297;method_53830()D
named getLerpTargetX
Lnet/minecraft/entity/Entity;getLerpTargetX()D
-
getLerpTargetY
public double getLerpTargetY()- Overrides:
getLerpTargetY
in classEntity
- Mappings:
Namespace Name Mixin selector official K_
Lbiq;K_()D
intermediary method_53827
Lnet/minecraft/class_1297;method_53827()D
named getLerpTargetY
Lnet/minecraft/entity/Entity;getLerpTargetY()D
-
getLerpTargetZ
public double getLerpTargetZ()- Overrides:
getLerpTargetZ
in classEntity
- Mappings:
Namespace Name Mixin selector official L_
Lbiq;L_()D
intermediary method_53828
Lnet/minecraft/class_1297;method_53828()D
named getLerpTargetZ
Lnet/minecraft/entity/Entity;getLerpTargetZ()D
-
getLerpTargetPitch
public float getLerpTargetPitch()- Overrides:
getLerpTargetPitch
in classEntity
- Mappings:
Namespace Name Mixin selector official d_
Lbiq;d_()F
intermediary method_53829
Lnet/minecraft/class_1297;method_53829()F
named getLerpTargetPitch
Lnet/minecraft/entity/Entity;getLerpTargetPitch()F
-
getLerpTargetYaw
public float getLerpTargetYaw()- Overrides:
getLerpTargetYaw
in classEntity
- Mappings:
Namespace Name Mixin selector official o_
Lbiq;o_()F
intermediary method_53831
Lnet/minecraft/class_1297;method_53831()F
named getLerpTargetYaw
Lnet/minecraft/entity/Entity;getLerpTargetYaw()F
-
getMovementDirection
- Overrides:
getMovementDirection
in classEntity
- Mappings:
Namespace Name Mixin selector official cE
Lbiq;cE()Lha;
intermediary method_5755
Lnet/minecraft/class_1297;method_5755()Lnet/minecraft/class_2350;
named getMovementDirection
Lnet/minecraft/entity/Entity;getMovementDirection()Lnet/minecraft/util/math/Direction;
-
tick
public void tick()Ticks this entity. -
handleBubbleColumn
private void handleBubbleColumn()- Mappings:
Namespace Name Mixin selector official C
Lcdn;C()V
intermediary method_7550
Lnet/minecraft/class_1690;method_7550()V
named handleBubbleColumn
Lnet/minecraft/entity/vehicle/BoatEntity;handleBubbleColumn()V
-
getPaddleSoundEvent
- Mappings:
Namespace Name Mixin selector official s
Lcdn;s()Lapc;
intermediary method_7537
Lnet/minecraft/class_1690;method_7537()Lnet/minecraft/class_3414;
named getPaddleSoundEvent
Lnet/minecraft/entity/vehicle/BoatEntity;getPaddleSoundEvent()Lnet/minecraft/sound/SoundEvent;
-
updatePositionAndRotation
private void updatePositionAndRotation()- Mappings:
Namespace Name Mixin selector official E
Lcdn;E()V
intermediary method_7555
Lnet/minecraft/class_1690;method_7555()V
named updatePositionAndRotation
Lnet/minecraft/entity/vehicle/BoatEntity;updatePositionAndRotation()V
-
setPaddleMovings
public void setPaddleMovings(boolean leftMoving, boolean rightMoving) - Mappings:
Namespace Name Mixin selector official a
Lcdn;a(ZZ)V
intermediary method_7538
Lnet/minecraft/class_1690;method_7538(ZZ)V
named setPaddleMovings
Lnet/minecraft/entity/vehicle/BoatEntity;setPaddleMovings(ZZ)V
-
interpolatePaddlePhase
public float interpolatePaddlePhase(int paddle, float tickDelta) - Mappings:
Namespace Name Mixin selector official a
Lcdn;a(IF)F
intermediary method_7551
Lnet/minecraft/class_1690;method_7551(IF)F
named interpolatePaddlePhase
Lnet/minecraft/entity/vehicle/BoatEntity;interpolatePaddlePhase(IF)F
-
checkLocation
- Mappings:
Namespace Name Mixin selector official F
Lcdn;F()Lcdn$a;
intermediary method_7552
Lnet/minecraft/class_1690;method_7552()Lnet/minecraft/class_1690$class_1691;
named checkLocation
Lnet/minecraft/entity/vehicle/BoatEntity;checkLocation()Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
getWaterHeightBelow
public float getWaterHeightBelow()- Mappings:
Namespace Name Mixin selector official t
Lcdn;t()F
intermediary method_7544
Lnet/minecraft/class_1690;method_7544()F
named getWaterHeightBelow
Lnet/minecraft/entity/vehicle/BoatEntity;getWaterHeightBelow()F
-
getNearbySlipperiness
public float getNearbySlipperiness()- Mappings:
Namespace Name Mixin selector official v
Lcdn;v()F
intermediary method_7548
Lnet/minecraft/class_1690;method_7548()F
named getNearbySlipperiness
Lnet/minecraft/entity/vehicle/BoatEntity;getNearbySlipperiness()F
-
checkBoatInWater
private boolean checkBoatInWater()- Mappings:
Namespace Name Mixin selector official G
Lcdn;G()Z
intermediary method_7545
Lnet/minecraft/class_1690;method_7545()Z
named checkBoatInWater
Lnet/minecraft/entity/vehicle/BoatEntity;checkBoatInWater()Z
-
getUnderWaterLocation
- Mappings:
Namespace Name Mixin selector official H
Lcdn;H()Lcdn$a;
intermediary method_7532
Lnet/minecraft/class_1690;method_7532()Lnet/minecraft/class_1690$class_1691;
named getUnderWaterLocation
Lnet/minecraft/entity/vehicle/BoatEntity;getUnderWaterLocation()Lnet/minecraft/entity/vehicle/BoatEntity$Location;
-
updateVelocity
private void updateVelocity()- Mappings:
Namespace Name Mixin selector official I
Lcdn;I()V
intermediary method_7534
Lnet/minecraft/class_1690;method_7534()V
named updateVelocity
Lnet/minecraft/entity/vehicle/BoatEntity;updateVelocity()V
-
updatePaddles
private void updatePaddles()- Mappings:
Namespace Name Mixin selector official K
Lcdn;K()V
intermediary method_7549
Lnet/minecraft/class_1690;method_7549()V
named updatePaddles
Lnet/minecraft/entity/vehicle/BoatEntity;updatePaddles()V
-
getPassengerHorizontalOffset
protected float getPassengerHorizontalOffset()- Mappings:
Namespace Name Mixin selector official w
Lcdn;w()F
intermediary method_42280
Lnet/minecraft/class_1690;method_42280()F
named getPassengerHorizontalOffset
Lnet/minecraft/entity/vehicle/BoatEntity;getPassengerHorizontalOffset()F
-
isSmallerThanBoat
- Mappings:
Namespace Name Mixin selector official a
Lcdn;a(Lbiq;)Z
intermediary method_49182
Lnet/minecraft/class_1690;method_49182(Lnet/minecraft/class_1297;)Z
named isSmallerThanBoat
Lnet/minecraft/entity/vehicle/BoatEntity;isSmallerThanBoat(Lnet/minecraft/entity/Entity;)Z
-
updatePassengerPosition
- Overrides:
updatePassengerPosition
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbiq;Lbiq$a;)V
intermediary method_5865
Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)V
named updatePassengerPosition
Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity$PositionUpdater;)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 official b
Lbiq;b(Lbjg;)Lehn;
intermediary method_24829
Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
named updatePassengerForDismount
Lnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
clampPassengerYaw
- Mappings:
Namespace Name Mixin selector official b
Lcdn;b(Lbiq;)V
intermediary method_7546
Lnet/minecraft/class_1690;method_7546(Lnet/minecraft/class_1297;)V
named clampPassengerYaw
Lnet/minecraft/entity/vehicle/BoatEntity;clampPassengerYaw(Lnet/minecraft/entity/Entity;)V
-
onPassengerLookAround
- Overrides:
onPassengerLookAround
in classEntity
- Mappings:
Namespace Name Mixin selector official j
Lbiq;j(Lbiq;)V
intermediary method_5644
Lnet/minecraft/class_1297;method_5644(Lnet/minecraft/class_1297;)V
named onPassengerLookAround
Lnet/minecraft/entity/Entity;onPassengerLookAround(Lnet/minecraft/entity/Entity;)V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Specified by:
writeCustomDataToNbt
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbiq;b(Lqw;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Specified by:
readCustomDataFromNbt
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lqw;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)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 official a
Lbiq;a(Lcbu;Lbgx;)Lbgy;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
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
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(DZLdfj;Lgw;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
isPaddleMoving
public boolean isPaddleMoving(int paddle) - Mappings:
Namespace Name Mixin selector official c
Lcdn;c(I)Z
intermediary method_7556
Lnet/minecraft/class_1690;method_7556(I)Z
named isPaddleMoving
Lnet/minecraft/entity/vehicle/BoatEntity;isPaddleMoving(I)Z
-
setDamageWobbleStrength
public void setDamageWobbleStrength(float wobbleStrength) - Mappings:
Namespace Name Mixin selector official a
Lcdn;a(F)V
intermediary method_7542
Lnet/minecraft/class_1690;method_7542(F)V
named setDamageWobbleStrength
Lnet/minecraft/entity/vehicle/BoatEntity;setDamageWobbleStrength(F)V
-
getDamageWobbleStrength
public float getDamageWobbleStrength()- Mappings:
Namespace Name Mixin selector official x
Lcdn;x()F
intermediary method_7554
Lnet/minecraft/class_1690;method_7554()F
named getDamageWobbleStrength
Lnet/minecraft/entity/vehicle/BoatEntity;getDamageWobbleStrength()F
-
setDamageWobbleTicks
public void setDamageWobbleTicks(int wobbleTicks) - Mappings:
Namespace Name Mixin selector official d
Lcdn;d(I)V
intermediary method_7553
Lnet/minecraft/class_1690;method_7553(I)V
named setDamageWobbleTicks
Lnet/minecraft/entity/vehicle/BoatEntity;setDamageWobbleTicks(I)V
-
getDamageWobbleTicks
public int getDamageWobbleTicks()- Mappings:
Namespace Name Mixin selector official y
Lcdn;y()I
intermediary method_7533
Lnet/minecraft/class_1690;method_7533()I
named getDamageWobbleTicks
Lnet/minecraft/entity/vehicle/BoatEntity;getDamageWobbleTicks()I
-
setBubbleWobbleTicks
private void setBubbleWobbleTicks(int wobbleTicks) - Mappings:
Namespace Name Mixin selector official b
Lcdn;b(I)V
intermediary method_7531
Lnet/minecraft/class_1690;method_7531(I)V
named setBubbleWobbleTicks
Lnet/minecraft/entity/vehicle/BoatEntity;setBubbleWobbleTicks(I)V
-
getBubbleWobbleTicks
private int getBubbleWobbleTicks()- Mappings:
Namespace Name Mixin selector official L
Lcdn;L()I
intermediary method_7539
Lnet/minecraft/class_1690;method_7539()I
named getBubbleWobbleTicks
Lnet/minecraft/entity/vehicle/BoatEntity;getBubbleWobbleTicks()I
-
interpolateBubbleWobble
public float interpolateBubbleWobble(float tickDelta) - Mappings:
Namespace Name Mixin selector official b
Lcdn;b(F)F
intermediary method_7547
Lnet/minecraft/class_1690;method_7547(F)F
named interpolateBubbleWobble
Lnet/minecraft/entity/vehicle/BoatEntity;interpolateBubbleWobble(F)F
-
setDamageWobbleSide
public void setDamageWobbleSide(int side) - Mappings:
Namespace Name Mixin selector official m
Lcdn;m(I)V
intermediary method_7540
Lnet/minecraft/class_1690;method_7540(I)V
named setDamageWobbleSide
Lnet/minecraft/entity/vehicle/BoatEntity;setDamageWobbleSide(I)V
-
getDamageWobbleSide
public int getDamageWobbleSide()- Mappings:
Namespace Name Mixin selector official z
Lcdn;z()I
intermediary method_7543
Lnet/minecraft/class_1690;method_7543()I
named getDamageWobbleSide
Lnet/minecraft/entity/vehicle/BoatEntity;getDamageWobbleSide()I
-
setVariant
- Specified by:
setVariant
in interfaceVariantHolder<BoatEntity.Type>
- Mappings:
Namespace Name Mixin selector official a
Lcdn;a(Lcdn$b;)V
intermediary method_47884
Lnet/minecraft/class_1690;method_47884(Lnet/minecraft/class_1690$class_1692;)V
named setVariant
Lnet/minecraft/entity/vehicle/BoatEntity;setVariant(Lnet/minecraft/entity/vehicle/BoatEntity$Type;)V
-
getVariant
- Specified by:
getVariant
in interfaceVariantHolder<BoatEntity.Type>
- Mappings:
Namespace Name Mixin selector official A
Lcdn;A()Lcdn$b;
intermediary method_47885
Lnet/minecraft/class_1690;method_47885()Lnet/minecraft/class_1690$class_1692;
named getVariant
Lnet/minecraft/entity/vehicle/BoatEntity;getVariant()Lnet/minecraft/entity/vehicle/BoatEntity$Type;
-
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 official r
Lbiq;r(Lbiq;)Z
intermediary method_5818
Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
named canAddPassenger
Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
-
getMaxPassengers
protected int getMaxPassengers()- Mappings:
Namespace Name Mixin selector official B
Lcdn;B()I
intermediary method_42281
Lnet/minecraft/class_1690;method_42281()I
named getMaxPassengers
Lnet/minecraft/entity/vehicle/BoatEntity;getMaxPassengers()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 official cN
Lbiq;cN()Lbjg;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;
named getControllingPassenger
Lnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
-
setInputs
public void setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack) - Mappings:
Namespace Name Mixin selector official a
Lcdn;a(ZZZZ)V
intermediary method_7535
Lnet/minecraft/class_1690;method_7535(ZZZZ)V
named setInputs
Lnet/minecraft/entity/vehicle/BoatEntity;setInputs(ZZZZ)V
-
getDefaultName
Returns the default name of the entity.- Overrides:
getDefaultName
in classEntity
- Returns:
- the default name of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector official cn
Lbiq;cn()Ltl;
intermediary method_23315
Lnet/minecraft/class_1297;method_23315()Lnet/minecraft/class_2561;
named getDefaultName
Lnet/minecraft/entity/Entity;getDefaultName()Lnet/minecraft/text/Text;
-
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 official bc
Lbiq;bc()Z
intermediary method_5869
Lnet/minecraft/class_1297;method_5869()Z
named isSubmergedInWater
Lnet/minecraft/entity/Entity;isSubmergedInWater()Z
-
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 official dy
Lbiq;dy()Lcjf;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-