Class AbstractBoatEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,Leashable,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable
- Direct Known Subclasses:
AbstractChestBoatEntity,BoatEntity,RaftEntity
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/AbstractBoatEntityintermediary net/minecraft/class_10255official dby
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.OffsetNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Integer> private booleanprivate floatprivate floatstatic final doubleA boat will emit a sound event every time a paddle is near this rotation.private doublestatic final intstatic final intstatic final intprivate static final intprivate final PositionInterpolatorprivate floatprivate AbstractBoatEntity.Locationprivate Leashable.LeashDataprivate static final TrackedData<Boolean> private AbstractBoatEntity.Locationprivate floatprivate static final floatprivate booleanprivate final float[]private booleanprivate booleanprivate booleanprivate booleanprivate static final TrackedData<Boolean> private floatprivate doubleprivate floatFields inherited from class net.minecraft.entity.vehicle.VehicleEntity
DAMAGE_WOBBLE_SIDE, DAMAGE_WOBBLE_STRENGTH, DAMAGE_WOBBLE_TICKSFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_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, wasInPowderSnowFields 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_POINTSFields 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 TypeMethodDescriptionvoidanimateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).protected final ItemasItem()protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.static booleancanCollide(Entity entity, Entity other) booleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.booleanprivate booleanprivate AbstractBoatEntity.Locationprotected voidclampPassengerYaw(Entity passenger) booleancollidesWith(Entity other) Returns whether this entity cannot occupy the same space withother.protected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private intReturns the passenger in control of this entity, ornullif there is none.protected doubleprotected intprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.floatprotected @Nullable SoundEventprotected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected abstract doublegetPassengerAttachmentY(EntityDimensions dimensions) protected floatfinal ItemStackReturns the stack for creative "pick block" functionality, ornullif there is none.Vec3d[]private @Nullable AbstractBoatEntity.Locationfloatprivate voidprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.voidinitPosition(double x, double y, double z) interact(PlayerEntity player, Hand hand) Called when a player interacts with this entity.booleanisCollidable(@Nullable Entity entity) Returns whether other entities cannot occupy the same space with this entity.booleanisPaddleMoving(int paddle) booleanReturns whether the entity can be pushed by other entities.booleanisSmallerThanBoat(Entity entity) booleanReturns whether this entity's hitbox is fully submerged in water.floatlerpBubbleWobble(float tickProgress) floatlerpPaddlePhase(int paddle, float tickProgress) voidonBubbleColumnSurfaceCollision(boolean drag, BlockPos pos) Called when the entity collides with a bubble column with an air above.voidonPassengerLookAround(Entity passenger) positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.voidpushAwayFrom(Entity entity) protected voidreadCustomData(ReadView view) voidremove(Entity.RemovalReason reason) Removes the entity.private voidsetBubbleWobbleTicks(int bubbleWobbleTicks) voidsetInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack) voidsetLeashData(Leashable.LeashData leashData) voidsetPaddlesMoving(boolean left, boolean right) voidtick()Ticks this entity.private voidupdatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.protected voidupdatePassengerPosition(Entity passenger, Entity.PositionUpdater positionUpdater) private voidprotected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.vehicle.VehicleEntity
clientDamage, damage, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultPortalCooldown, isImmuneToExplosion, killAndDropItem, killAndDropSelf, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, shouldAlwaysKillMethods 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, calcDistanceFromBottomCollision, 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, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, 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, getEntityPos, getEntityWorld, 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, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWeaponStack, getWidth, 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, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, 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, registerTracking, 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, 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, updateTrackedAngles, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.util.HeldItemContext
getEntityMethods 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, writeLeashDataMethods inherited from interface net.minecraft.util.Nameable
getStringifiedNameMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LEFT_PADDLE_MOVING
- Mappings:
Namespace Name Mixin selector named LEFT_PADDLE_MOVINGLnet/minecraft/entity/vehicle/AbstractBoatEntity;LEFT_PADDLE_MOVING:Lnet/minecraft/entity/data/TrackedData;intermediary field_54448Lnet/minecraft/class_10255;field_54448:Lnet/minecraft/class_2940;official rLdby;r:Lalm;
-
RIGHT_PADDLE_MOVING
- Mappings:
Namespace Name Mixin selector named RIGHT_PADDLE_MOVINGLnet/minecraft/entity/vehicle/AbstractBoatEntity;RIGHT_PADDLE_MOVING:Lnet/minecraft/entity/data/TrackedData;intermediary field_54449Lnet/minecraft/class_10255;field_54449:Lnet/minecraft/class_2940;official sLdby;s:Lalm;
-
BUBBLE_WOBBLE_TICKS
- Mappings:
Namespace Name Mixin selector named BUBBLE_WOBBLE_TICKSLnet/minecraft/entity/vehicle/AbstractBoatEntity;BUBBLE_WOBBLE_TICKS:Lnet/minecraft/entity/data/TrackedData;intermediary field_54450Lnet/minecraft/class_10255;field_54450:Lnet/minecraft/class_2940;official tLdby;t:Lalm;
-
field_54427
public static final int field_54427- See Also:
- Mappings:
Namespace Name Mixin selector named field_54427Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54427:Iintermediary field_54427Lnet/minecraft/class_10255;field_54427:Iofficial aLdby;a:I
-
field_54445
public static final int field_54445- See Also:
- Mappings:
Namespace Name Mixin selector named field_54445Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54445:Iintermediary field_54445Lnet/minecraft/class_10255;field_54445:Iofficial bLdby;b:I
-
field_54451
private static final int field_54451- See Also:
- Mappings:
Namespace Name Mixin selector named field_54451Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54451:Iintermediary field_54451Lnet/minecraft/class_10255;field_54451:Iofficial uLdby;u:I
-
NEXT_PADDLE_PHASE
private static final float NEXT_PADDLE_PHASE- See Also:
- Mappings:
Namespace Name Mixin selector named NEXT_PADDLE_PHASELnet/minecraft/entity/vehicle/AbstractBoatEntity;NEXT_PADDLE_PHASE:Fintermediary field_54452Lnet/minecraft/class_10255;field_54452:Fofficial aNLdby;aN: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_ROTATIONLnet/minecraft/entity/vehicle/AbstractBoatEntity;EMIT_SOUND_EVENT_PADDLE_ROTATION:Dintermediary field_54446Lnet/minecraft/class_10255;field_54446:Dofficial cLdby;c:D
-
field_54447
public static final int field_54447- See Also:
- Mappings:
Namespace Name Mixin selector named field_54447Lnet/minecraft/entity/vehicle/AbstractBoatEntity;field_54447:Iintermediary field_54447Lnet/minecraft/class_10255;field_54447:Iofficial dLdby;d:I
-
paddlePhases
private final float[] paddlePhases- Mappings:
Namespace Name Mixin selector named paddlePhasesLnet/minecraft/entity/vehicle/AbstractBoatEntity;paddlePhases:[Fintermediary field_54453Lnet/minecraft/class_10255;field_54453:[Fofficial aOLdby;aO:[F
-
ticksUnderwater
private float ticksUnderwater- Mappings:
Namespace Name Mixin selector named ticksUnderwaterLnet/minecraft/entity/vehicle/AbstractBoatEntity;ticksUnderwater:Fintermediary field_54455Lnet/minecraft/class_10255;field_54455:Fofficial aPLdby;aP:F
-
yawVelocity
private float yawVelocity- Mappings:
Namespace Name Mixin selector named yawVelocityLnet/minecraft/entity/vehicle/AbstractBoatEntity;yawVelocity:Fintermediary field_54456Lnet/minecraft/class_10255;field_54456:Fofficial aQLdby;aQ:F
-
interpolator
- Mappings:
Namespace Name Mixin selector named interpolatorLnet/minecraft/entity/vehicle/AbstractBoatEntity;interpolator:Lnet/minecraft/entity/PositionInterpolator;intermediary field_55706Lnet/minecraft/class_10255;field_55706:Lnet/minecraft/class_10584;official aRLdby;aR:Lceq;
-
pressingLeft
private boolean pressingLeft- Mappings:
Namespace Name Mixin selector named pressingLeftLnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingLeft:Zintermediary field_54444Lnet/minecraft/class_10255;field_54444:Zofficial aSLdby;aS:Z
-
pressingRight
private boolean pressingRight- Mappings:
Namespace Name Mixin selector named pressingRightLnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingRight:Zintermediary field_54428Lnet/minecraft/class_10255;field_54428:Zofficial aTLdby;aT:Z
-
pressingForward
private boolean pressingForward- Mappings:
Namespace Name Mixin selector named pressingForwardLnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingForward:Zintermediary field_54429Lnet/minecraft/class_10255;field_54429:Zofficial aULdby;aU:Z
-
pressingBack
private boolean pressingBack- Mappings:
Namespace Name Mixin selector named pressingBackLnet/minecraft/entity/vehicle/AbstractBoatEntity;pressingBack:Zintermediary field_54430Lnet/minecraft/class_10255;field_54430:Zofficial aVLdby;aV:Z
-
waterLevel
private double waterLevel- Mappings:
Namespace Name Mixin selector named waterLevelLnet/minecraft/entity/vehicle/AbstractBoatEntity;waterLevel:Dintermediary field_54431Lnet/minecraft/class_10255;field_54431:Dofficial aWLdby;aW:D
-
nearbySlipperiness
private float nearbySlipperiness- Mappings:
Namespace Name Mixin selector named nearbySlipperinessLnet/minecraft/entity/vehicle/AbstractBoatEntity;nearbySlipperiness:Fintermediary field_54432Lnet/minecraft/class_10255;field_54432:Fofficial aXLdby;aX:F
-
location
- Mappings:
Namespace Name Mixin selector named locationLnet/minecraft/entity/vehicle/AbstractBoatEntity;location:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_54433Lnet/minecraft/class_10255;field_54433:Lnet/minecraft/class_10255$class_1691;official aYLdby;aY:Ldby$a;
-
lastLocation
- Mappings:
Namespace Name Mixin selector named lastLocationLnet/minecraft/entity/vehicle/AbstractBoatEntity;lastLocation:Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary field_54434Lnet/minecraft/class_10255;field_54434:Lnet/minecraft/class_10255$class_1691;official aZLdby;aZ:Ldby$a;
-
fallVelocity
private double fallVelocity- Mappings:
Namespace Name Mixin selector named fallVelocityLnet/minecraft/entity/vehicle/AbstractBoatEntity;fallVelocity:Dintermediary field_54435Lnet/minecraft/class_10255;field_54435:Dofficial baLdby;ba:D
-
onBubbleColumnSurface
private boolean onBubbleColumnSurface- Mappings:
Namespace Name Mixin selector named onBubbleColumnSurfaceLnet/minecraft/entity/vehicle/AbstractBoatEntity;onBubbleColumnSurface:Zintermediary field_54436Lnet/minecraft/class_10255;field_54436:Zofficial bbLdby;bb:Z
-
bubbleColumnIsDrag
private boolean bubbleColumnIsDrag- Mappings:
Namespace Name Mixin selector named bubbleColumnIsDragLnet/minecraft/entity/vehicle/AbstractBoatEntity;bubbleColumnIsDrag:Zintermediary field_54437Lnet/minecraft/class_10255;field_54437:Zofficial bcLdby;bc:Z
-
bubbleWobbleStrength
private float bubbleWobbleStrength- Mappings:
Namespace Name Mixin selector named bubbleWobbleStrengthLnet/minecraft/entity/vehicle/AbstractBoatEntity;bubbleWobbleStrength:Fintermediary field_54438Lnet/minecraft/class_10255;field_54438:Fofficial bdLdby;bd:F
-
bubbleWobble
private float bubbleWobble- Mappings:
Namespace Name Mixin selector named bubbleWobbleLnet/minecraft/entity/vehicle/AbstractBoatEntity;bubbleWobble:Fintermediary field_54439Lnet/minecraft/class_10255;field_54439:Fofficial beLdby;be:F
-
lastBubbleWobble
private float lastBubbleWobble- Mappings:
Namespace Name Mixin selector named lastBubbleWobbleLnet/minecraft/entity/vehicle/AbstractBoatEntity;lastBubbleWobble:Fintermediary field_54440Lnet/minecraft/class_10255;field_54440:Fofficial bfLdby;bf:F
-
leashData
- Mappings:
Namespace Name Mixin selector named leashDataLnet/minecraft/entity/vehicle/AbstractBoatEntity;leashData:Lnet/minecraft/entity/Leashable$LeashData;intermediary field_54441Lnet/minecraft/class_10255;field_54441:Lnet/minecraft/class_9817$class_9818;official bgLdby;bg:Lceu$a;
-
itemSupplier
- Mappings:
Namespace Name Mixin selector named itemSupplierLnet/minecraft/entity/vehicle/AbstractBoatEntity;itemSupplier:Ljava/util/function/Supplier;intermediary field_54442Lnet/minecraft/class_10255;field_54442:Ljava/util/function/Supplier;official bhLdby;bh: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;)Vintermediary <init>Lnet/minecraft/class_10255;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Ljava/util/function/Supplier;)Vofficial <init>Ldby;<init>(Lcee;Ldrq;Ljava/util/function/Supplier;)V
-
-
Method Details
-
initPosition
public void initPosition(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named initPositionLnet/minecraft/entity/vehicle/AbstractBoatEntity;initPosition(DDD)Vintermediary method_64498Lnet/minecraft/class_10255;method_64498(DDD)Vofficial oLdby;o(DDD)V
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin 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 getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;official brLcdv;br()Lcdv$d;
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin 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 initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcdv;a(Lalq$a;)V
-
collidesWith
Returns whether this entity cannot occupy the same space withother.This returns
falseifotheris connected through vehicles.- Overrides:
collidesWithin classEntity- Returns:
- whether this entity cannot occupy the same space with
other - See Also:
- Mappings:
Namespace Name Mixin selector named collidesWithLnet/minecraft/entity/Entity;collidesWith(Lnet/minecraft/entity/Entity;)Zintermediary method_30949Lnet/minecraft/class_1297;method_30949(Lnet/minecraft/class_1297;)Zofficial iLcdv;i(Lcdv;)Z
-
canCollide
- Mappings:
Namespace Name Mixin selector named canCollideLnet/minecraft/entity/vehicle/AbstractBoatEntity;canCollide(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Zintermediary method_64486Lnet/minecraft/class_10255;method_64486(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Zofficial aLdby;a(Lcdv;Lcdv;)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.BoatEntityandShulkerEntityhas this behavior.- Overrides:
isCollidablein classEntity- Returns:
- whether other entities cannot occupy the same space with this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named isCollidableLnet/minecraft/entity/Entity;isCollidable(Lnet/minecraft/entity/Entity;)Zintermediary method_30948Lnet/minecraft/class_1297;method_30948(Lnet/minecraft/class_1297;)Zofficial jLcdv;j(Lcdv;)Z
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushablein classEntity- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushableLnet/minecraft/entity/Entity;isPushable()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Zofficial bULcdv;bU()Z
-
positionInPortal
Returns the entity's position in the portal after teleportation.- Overrides:
positionInPortalin classEntity- Returns:
- the entity's position in the portal after teleportation
- See Also:
- Mappings:
Namespace Name Mixin selector named positionInPortalLnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;intermediary method_30633Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;official aLcdv;a(Ljg$a;Lm$a;)Lfoh;
-
getPassengerAttachmentY
- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentYLnet/minecraft/entity/vehicle/AbstractBoatEntity;getPassengerAttachmentY(Lnet/minecraft/entity/EntityDimensions;)Dintermediary method_64489Lnet/minecraft/class_10255;method_64489(Lnet/minecraft/class_4048;)Dofficial bLdby;b(Lcdy;)D
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPosin classEntity- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentPosLnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;intermediary method_52533Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;official aLcdv;a(Lcdv;Lcdy;F)Lfoh;
-
onBubbleColumnSurfaceCollision
Called when the entity collides with a bubble column with an air above.This applies the bubble column velocity by default.
BoatEntityuses this to spawn splash particles.- Overrides:
onBubbleColumnSurfaceCollisionin classEntity- Parameters:
drag- whether the entity should be dragged downwards- Mappings:
Namespace Name Mixin selector named onBubbleColumnSurfaceCollisionLnet/minecraft/entity/Entity;onBubbleColumnSurfaceCollision(ZLnet/minecraft/util/math/BlockPos;)Vintermediary method_5700Lnet/minecraft/class_1297;method_5700(ZLnet/minecraft/class_2338;)Vofficial aLcdv;a(ZLja;)V
-
pushAwayFrom
- Overrides:
pushAwayFromin classEntity- Mappings:
Namespace Name Mixin selector named pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)Vintermediary method_5697Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)Vofficial hLcdv;h(Lcdv;)V
-
animateDamage
public void animateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).- Overrides:
animateDamagein classEntity- Mappings:
Namespace Name Mixin selector named animateDamageLnet/minecraft/entity/Entity;animateDamage(F)Vintermediary method_5879Lnet/minecraft/class_1297;method_5879(F)Vofficial qLcdv;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:
canHitin classEntity- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector named canHitLnet/minecraft/entity/Entity;canHit()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Zofficial bTLcdv;bT()Z
-
getInterpolator
- Overrides:
getInterpolatorin classEntity- Mappings:
Namespace Name Mixin selector named getInterpolatorLnet/minecraft/entity/Entity;getInterpolator()Lnet/minecraft/entity/PositionInterpolator;intermediary method_66233Lnet/minecraft/class_1297;method_66233()Lnet/minecraft/class_10584;official n_Lcdv;n_()Lceq;
-
getMovementDirection
- Overrides:
getMovementDirectionin classEntity- Mappings:
Namespace Name Mixin selector named getMovementDirectionLnet/minecraft/entity/Entity;getMovementDirection()Lnet/minecraft/util/math/Direction;intermediary method_5755Lnet/minecraft/class_1297;method_5755()Lnet/minecraft/class_2350;official dcLcdv;dc()Ljg;
-
tick
public void tick()Ticks this entity.- Overrides:
tickin 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 tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcdv;g()V
-
handleBubbleColumn
private void handleBubbleColumn()- Mappings:
Namespace Name Mixin selector named handleBubbleColumnLnet/minecraft/entity/vehicle/AbstractBoatEntity;handleBubbleColumn()Vintermediary method_64476Lnet/minecraft/class_10255;method_64476()Vofficial JLdby;J()V
-
getPaddleSound
- Mappings:
Namespace Name Mixin selector named getPaddleSoundLnet/minecraft/entity/vehicle/AbstractBoatEntity;getPaddleSound()Lnet/minecraft/sound/SoundEvent;intermediary method_64494Lnet/minecraft/class_10255;method_64494()Lnet/minecraft/class_3414;official fLdby;f()Lbcd;
-
setPaddlesMoving
public void setPaddlesMoving(boolean left, boolean right) - Mappings:
Namespace Name Mixin selector named setPaddlesMovingLnet/minecraft/entity/vehicle/AbstractBoatEntity;setPaddlesMoving(ZZ)Vintermediary method_64490Lnet/minecraft/class_10255;method_64490(ZZ)Vofficial aLdby;a(ZZ)V
-
lerpPaddlePhase
public float lerpPaddlePhase(int paddle, float tickProgress) - Mappings:
Namespace Name Mixin selector named lerpPaddlePhaseLnet/minecraft/entity/vehicle/AbstractBoatEntity;lerpPaddlePhase(IF)Fintermediary method_64485Lnet/minecraft/class_10255;method_64485(IF)Fofficial aLdby;a(IF)F
-
getLeashData
- Specified by:
getLeashDatain interfaceLeashable- Mappings:
Namespace Name Mixin selector named getLeashDataLnet/minecraft/entity/Leashable;getLeashData()Lnet/minecraft/entity/Leashable$LeashData;intermediary method_60955Lnet/minecraft/class_9817;method_60955()Lnet/minecraft/class_9817$class_9818;official U_Lceu;U_()Lceu$a;
-
setLeashData
- Specified by:
setLeashDatain interfaceLeashable- Mappings:
Namespace Name Mixin selector named setLeashDataLnet/minecraft/entity/Leashable;setLeashData(Lnet/minecraft/entity/Leashable$LeashData;)Vintermediary method_60960Lnet/minecraft/class_9817;method_60960(Lnet/minecraft/class_9817$class_9818;)Vofficial aLceu;a(Lceu$a;)V
-
getLeashOffset
- Specified by:
getLeashOffsetin interfaceLeashable- Mappings:
Namespace Name Mixin selector named getLeashOffsetLnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_29919Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;official FLceu;F()Lfoh;
-
canUseQuadLeashAttachmentPoint
public boolean canUseQuadLeashAttachmentPoint()- Specified by:
canUseQuadLeashAttachmentPointin interfaceLeashable- Mappings:
Namespace Name Mixin selector named canUseQuadLeashAttachmentPointLnet/minecraft/entity/Leashable;canUseQuadLeashAttachmentPoint()Zintermediary method_70991Lnet/minecraft/class_9817;method_70991()Zofficial DLceu;D()Z
-
getQuadLeashOffsets
- Specified by:
getQuadLeashOffsetsin interfaceLeashable- Mappings:
Namespace Name Mixin selector named getQuadLeashOffsetsLnet/minecraft/entity/Leashable;getQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;intermediary method_70992Lnet/minecraft/class_9817;method_70992()[Lnet/minecraft/class_243;official ELceu;E()[Lfoh;
-
checkLocation
- Mappings:
Namespace Name Mixin selector named checkLocationLnet/minecraft/entity/vehicle/AbstractBoatEntity;checkLocation()Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary method_64478Lnet/minecraft/class_10255;method_64478()Lnet/minecraft/class_10255$class_1691;official KLdby;K()Ldby$a;
-
getWaterHeightBelow
public float getWaterHeightBelow()- Mappings:
Namespace Name Mixin selector named getWaterHeightBelowLnet/minecraft/entity/vehicle/AbstractBoatEntity;getWaterHeightBelow()Fintermediary method_64495Lnet/minecraft/class_10255;method_64495()Fofficial iLdby;i()F
-
getNearbySlipperiness
public float getNearbySlipperiness()- Mappings:
Namespace Name Mixin selector named getNearbySlipperinessLnet/minecraft/entity/vehicle/AbstractBoatEntity;getNearbySlipperiness()Fintermediary method_64497Lnet/minecraft/class_10255;method_64497()Fofficial kLdby;k()F
-
checkBoatInWater
private boolean checkBoatInWater()- Mappings:
Namespace Name Mixin selector named checkBoatInWaterLnet/minecraft/entity/vehicle/AbstractBoatEntity;checkBoatInWater()Zintermediary method_64479Lnet/minecraft/class_10255;method_64479()Zofficial LLdby;L()Z
-
getUnderWaterLocation
- Mappings:
Namespace Name Mixin selector named getUnderWaterLocationLnet/minecraft/entity/vehicle/AbstractBoatEntity;getUnderWaterLocation()Lnet/minecraft/entity/vehicle/AbstractBoatEntity$Location;intermediary method_64480Lnet/minecraft/class_10255;method_64480()Lnet/minecraft/class_10255$class_1691;official MLdby;M()Ldby$a;
-
getGravity
protected double getGravity()- Overrides:
getGravityin classEntity- Mappings:
Namespace Name Mixin selector named getGravityLnet/minecraft/entity/Entity;getGravity()Dintermediary method_7490Lnet/minecraft/class_1297;method_7490()Dofficial boLcdv;bo()D
-
updateVelocity
private void updateVelocity()- Mappings:
Namespace Name Mixin selector named updateVelocityLnet/minecraft/entity/vehicle/AbstractBoatEntity;updateVelocity()Vintermediary method_64481Lnet/minecraft/class_10255;method_64481()Vofficial NLdby;N()V
-
updatePaddles
private void updatePaddles()- Mappings:
Namespace Name Mixin selector named updatePaddlesLnet/minecraft/entity/vehicle/AbstractBoatEntity;updatePaddles()Vintermediary method_64482Lnet/minecraft/class_10255;method_64482()Vofficial PLdby;P()V
-
getPassengerHorizontalOffset
protected float getPassengerHorizontalOffset()- Mappings:
Namespace Name Mixin selector named getPassengerHorizontalOffsetLnet/minecraft/entity/vehicle/AbstractBoatEntity;getPassengerHorizontalOffset()Fintermediary method_64499Lnet/minecraft/class_10255;method_64499()Fofficial mLdby;m()F
-
isSmallerThanBoat
- Mappings:
Namespace Name Mixin selector named isSmallerThanBoatLnet/minecraft/entity/vehicle/AbstractBoatEntity;isSmallerThanBoat(Lnet/minecraft/entity/Entity;)Zintermediary method_64488Lnet/minecraft/class_10255;method_64488(Lnet/minecraft/class_1297;)Zofficial CLdby;C(Lcdv;)Z
-
updatePassengerPosition
- Overrides:
updatePassengerPositionin classEntity- Mappings:
Namespace Name Mixin selector named updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity$PositionUpdater;)Vintermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)Vofficial aLcdv;a(Lcdv;Lcdv$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:
updatePassengerForDismountin classEntity- Returns:
- the position of the dismounted
passenger - See Also:
- Mappings:
Namespace Name Mixin selector named updatePassengerForDismountLnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;intermediary method_24829Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;official bLcdv;b(Lcew;)Lfoh;
-
clampPassengerYaw
- Mappings:
Namespace Name Mixin selector named clampPassengerYawLnet/minecraft/entity/vehicle/AbstractBoatEntity;clampPassengerYaw(Lnet/minecraft/entity/Entity;)Vintermediary method_64492Lnet/minecraft/class_10255;method_64492(Lnet/minecraft/class_1297;)Vofficial DLdby;D(Lcdv;)V
-
onPassengerLookAround
- Overrides:
onPassengerLookAroundin classEntity- Mappings:
Namespace Name Mixin selector named onPassengerLookAroundLnet/minecraft/entity/Entity;onPassengerLookAround(Lnet/minecraft/entity/Entity;)Vintermediary method_5644Lnet/minecraft/class_1297;method_5644(Lnet/minecraft/class_1297;)Vofficial lLcdv;l(Lcdv;)V
-
writeCustomData
- Specified by:
writeCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcdv;a(Lfir;)V
-
readCustomData
- Specified by:
readCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcdv;a(Lfip;)V
-
interact
Called when a player interacts with this entity.- Overrides:
interactin classEntity- Parameters:
player- the playerhand- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector named interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5688Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official aLcdv;a(Lczl;Lcbp;)Lcbq;
-
remove
Removes the entity.- Overrides:
removein classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_5650Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)Vofficial aLcdv;a(Lcdv$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:
fallin 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, ifheightDifferenceis negative, it subtracts that value fromEntity.fallDistance. - Mappings:
Namespace Name Mixin selector named fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial aLcdv;a(DZLejm;Lja;)V
-
isPaddleMoving
public boolean isPaddleMoving(int paddle) - Mappings:
Namespace Name Mixin selector named isPaddleMovingLnet/minecraft/entity/vehicle/AbstractBoatEntity;isPaddleMoving(I)Zintermediary method_64491Lnet/minecraft/class_10255;method_64491(I)Zofficial cLdby;c(I)Z
-
setBubbleWobbleTicks
private void setBubbleWobbleTicks(int bubbleWobbleTicks) - Mappings:
Namespace Name Mixin selector named setBubbleWobbleTicksLnet/minecraft/entity/vehicle/AbstractBoatEntity;setBubbleWobbleTicks(I)Vintermediary method_64496Lnet/minecraft/class_10255;method_64496(I)Vofficial mLdby;m(I)V
-
getBubbleWobbleTicks
private int getBubbleWobbleTicks()- Mappings:
Namespace Name Mixin selector named getBubbleWobbleTicksLnet/minecraft/entity/vehicle/AbstractBoatEntity;getBubbleWobbleTicks()Iintermediary method_64483Lnet/minecraft/class_10255;method_64483()Iofficial QLdby;Q()I
-
lerpBubbleWobble
public float lerpBubbleWobble(float tickProgress) - Mappings:
Namespace Name Mixin selector named lerpBubbleWobbleLnet/minecraft/entity/vehicle/AbstractBoatEntity;lerpBubbleWobble(F)Fintermediary method_64484Lnet/minecraft/class_10255;method_64484(F)Fofficial bLdby;b(F)F
-
canAddPassenger
Returns whetherentitycan ride this entity.Returning
falsecauses other entities to be unable to ride this entity. For example,BoatEntityuses 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:
canAddPassengerin classEntity- Returns:
- whether
entitycan ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector named canAddPassengerLnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Zintermediary method_5818Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Zofficial sLcdv;s(Lcdv;)Z
-
getMaxPassengers
protected int getMaxPassengers()- Mappings:
Namespace Name Mixin selector named getMaxPassengersLnet/minecraft/entity/vehicle/AbstractBoatEntity;getMaxPassengers()Iintermediary method_64500Lnet/minecraft/class_10255;method_64500()Iofficial nLdby;n()I
-
getControllingPassenger
Returns the passenger in control of this entity, ornullif there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger.- Overrides:
getControllingPassengerin classEntity- Returns:
- the passenger in control of this entity, or
nullif there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;official dgLcdv;dg()Lcew;
-
setInputs
public void setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack) - Mappings:
Namespace Name Mixin selector named setInputsLnet/minecraft/entity/vehicle/AbstractBoatEntity;setInputs(ZZZZ)Vintermediary method_64487Lnet/minecraft/class_10255;method_64487(ZZZZ)Vofficial aLdby;a(ZZZZ)V
-
isSubmergedInWater
public boolean isSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.- Overrides:
isSubmergedInWaterin classEntity- Returns:
- whether this entity's hitbox is fully submerged in water
- Mappings:
Namespace Name Mixin selector named isSubmergedInWaterLnet/minecraft/entity/Entity;isSubmergedInWater()Zintermediary method_5869Lnet/minecraft/class_1297;method_5869()Zofficial byLcdv;by()Z
-
asItem
- Specified by:
asItemin classVehicleEntity- Mappings:
Namespace Name Mixin selector named asItemLnet/minecraft/entity/vehicle/VehicleEntity;asItem()Lnet/minecraft/item/Item;intermediary method_7557Lnet/minecraft/class_8836;method_7557()Lnet/minecraft/class_1792;official pLdcs;p()Ldhl;
-
getPickBlockStack
Returns the stack for creative "pick block" functionality, ornullif 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
MobEntityhandles the spawn eggs.ItemFrameEntityinstead returns the copy of the stack held in the frame.- Overrides:
getPickBlockStackin classEntity- Returns:
- the stack for creative "pick block" functionality, or
nullif there is none - Mappings:
Namespace Name Mixin selector named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;official dULcdv;dU()Ldhp;
-