Package net.minecraft.entity.vehicle
Class BoatEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.BoatEntity
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official uxintermediary net/minecraft/class_962named net/minecraft/entity/vehicle/BoatEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate booleanprivate doubleprivate doubleprivate intprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionBoatEntity(World world) BoatEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleancanClimb()booleancollides()booleandamage(DamageSource source, float amount) protected voidgetBox()intintfloatgetHardCollisionBox(Entity collidingEntity) doubleprotected voidbooleanvoidmethod_3052(boolean bool) booleanopenInventory(PlayerEntity player) protected voidvoidsetBubbleWobbleTicks(int wobbleTicks) voidsetDamageWobbleSide(int side) voidsetDamageWobbleStrength(float wobbleStrength) voidsetVelocityClient(double x, double y, double z) voidtick()voidvoidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) protected voidMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, kill, method_10948, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
field_3877
private boolean field_3877- Mappings:
Namespace Name Mixin selector official aLux;a:Zintermediary field_3877Lnet/minecraft/class_962;field_3877:Znamed field_3877Lnet/minecraft/entity/vehicle/BoatEntity;field_3877:Z
-
field_3879
private double field_3879- Mappings:
Namespace Name Mixin selector official bLux;b:Dintermediary field_3879Lnet/minecraft/class_962;field_3879:Dnamed field_3879Lnet/minecraft/entity/vehicle/BoatEntity;field_3879:D
-
field_3880
private int field_3880- Mappings:
Namespace Name Mixin selector official cLux;c:Iintermediary field_3880Lnet/minecraft/class_962;field_3880:Inamed field_3880Lnet/minecraft/entity/vehicle/BoatEntity;field_3880:I
-
field_3881
private double field_3881- Mappings:
Namespace Name Mixin selector official dLux;d:Dintermediary field_3881Lnet/minecraft/class_962;field_3881:Dnamed field_3881Lnet/minecraft/entity/vehicle/BoatEntity;field_3881:D
-
field_3882
private double field_3882- Mappings:
Namespace Name Mixin selector official eLux;e:Dintermediary field_3882Lnet/minecraft/class_962;field_3882:Dnamed field_3882Lnet/minecraft/entity/vehicle/BoatEntity;field_3882:D
-
field_3883
private double field_3883- Mappings:
Namespace Name Mixin selector official fLux;f:Dintermediary field_3883Lnet/minecraft/class_962;field_3883:Dnamed field_3883Lnet/minecraft/entity/vehicle/BoatEntity;field_3883:D
-
boatYaw
private double boatYaw- Mappings:
Namespace Name Mixin selector official gLux;g:Dintermediary field_3884Lnet/minecraft/class_962;field_3884:Dnamed boatYawLnet/minecraft/entity/vehicle/BoatEntity;boatYaw:D
-
boatX
private double boatX- Mappings:
Namespace Name Mixin selector official hLux;h:Dintermediary field_3885Lnet/minecraft/class_962;field_3885:Dnamed boatXLnet/minecraft/entity/vehicle/BoatEntity;boatX:D
-
field_3886
- Mappings:
Namespace Name Mixin selector official iLux;i:Dintermediary field_3886Lnet/minecraft/class_962;field_3886:Dnamed field_3886Lnet/minecraft/entity/vehicle/BoatEntity;field_3886:D
-
field_3887
- Mappings:
Namespace Name Mixin selector official arLux;ar:Dintermediary field_3887Lnet/minecraft/class_962;field_3887:Dnamed field_3887Lnet/minecraft/entity/vehicle/BoatEntity;field_3887:D
-
field_3878
- Mappings:
Namespace Name Mixin selector official asLux;as:Dintermediary field_3878Lnet/minecraft/class_962;field_3878:Dnamed field_3878Lnet/minecraft/entity/vehicle/BoatEntity;field_3878:D
-
-
Constructor Details
-
BoatEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
BoatEntity
- Mappings:
Namespace Name Mixin selector official <init>Lux;<init>(Ladm;DDD)Vintermediary <init>Lnet/minecraft/class_962;<init>(Lnet/minecraft/class_1150;DDD)Vnamed <init>Lnet/minecraft/entity/vehicle/BoatEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
canClimb
protected boolean canClimb() -
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getHardCollisionBox
- Overrides:
getHardCollisionBoxin classEntity- Mappings:
Namespace Name Mixin selector official jLpk;j(Lpk;)Laug;intermediary method_2555Lnet/minecraft/class_864;method_2555(Lnet/minecraft/class_864;)Lnet/minecraft/class_231;named getHardCollisionBoxLnet/minecraft/entity/Entity;getHardCollisionBox(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Box;
-
getBox
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classEntity- Mappings:
Namespace Name Mixin selector official aeLpk;ae()Zintermediary method_2472Lnet/minecraft/class_864;method_2472()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official anLpk;an()Dintermediary method_2481Lnet/minecraft/class_864;method_2481()Dnamed getMountedHeightOffsetLnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
damage
-
animateDamage
- Overrides:
animateDamagein classEntity- Mappings:
Namespace Name Mixin selector official arLpk;ar()Vintermediary method_2509Lnet/minecraft/class_864;method_2509()Vnamed animateDamageLnet/minecraft/entity/Entity;animateDamage()V
-
collides
public boolean collides() -
updateTrackedPositionAndAngles
@Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) - Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(DDDFFIZ)Vintermediary method_2488Lnet/minecraft/class_864;method_2488(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
updatePassengerPosition
public void updatePassengerPosition()- Overrides:
updatePassengerPositionin classEntity- Mappings:
Namespace Name Mixin selector official alLpk;al()Vintermediary method_2479Lnet/minecraft/class_864;method_2479()Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition()V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
openInventory
- Overrides:
openInventoryin classEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(Lwn;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;)Znamed openInventoryLnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, Block landedBlock, BlockPos landedPosition) - Overrides:
fallin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(DZLafh;Lcj;)Vintermediary method_2489Lnet/minecraft/class_864;method_2489(DZLnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
setDamageWobbleStrength
public void setDamageWobbleStrength(float wobbleStrength) - Mappings:
Namespace Name Mixin selector official aLux;a(F)Vintermediary method_6304Lnet/minecraft/class_962;method_6304(F)Vnamed setDamageWobbleStrengthLnet/minecraft/entity/vehicle/BoatEntity;setDamageWobbleStrength(F)V
-
getDamageWobbleStrength
public float getDamageWobbleStrength()- Mappings:
Namespace Name Mixin selector official jLux;j()Fintermediary method_6305Lnet/minecraft/class_962;method_6305()Fnamed getDamageWobbleStrengthLnet/minecraft/entity/vehicle/BoatEntity;getDamageWobbleStrength()F
-
setBubbleWobbleTicks
public void setBubbleWobbleTicks(int wobbleTicks) - Mappings:
Namespace Name Mixin selector official aLux;a(I)Vintermediary method_3050Lnet/minecraft/class_962;method_3050(I)Vnamed setBubbleWobbleTicksLnet/minecraft/entity/vehicle/BoatEntity;setBubbleWobbleTicks(I)V
-
getBubbleWobbleTicks
public int getBubbleWobbleTicks()- Mappings:
Namespace Name Mixin selector official lLux;l()Iintermediary method_3054Lnet/minecraft/class_962;method_3054()Inamed getBubbleWobbleTicksLnet/minecraft/entity/vehicle/BoatEntity;getBubbleWobbleTicks()I
-
setDamageWobbleSide
public void setDamageWobbleSide(int side) - Mappings:
Namespace Name Mixin selector official bLux;b(I)Vintermediary method_3051Lnet/minecraft/class_962;method_3051(I)Vnamed setDamageWobbleSideLnet/minecraft/entity/vehicle/BoatEntity;setDamageWobbleSide(I)V
-
getDamageWobbleSide
public int getDamageWobbleSide()- Mappings:
Namespace Name Mixin selector official mLux;m()Iintermediary method_3055Lnet/minecraft/class_962;method_3055()Inamed getDamageWobbleSideLnet/minecraft/entity/vehicle/BoatEntity;getDamageWobbleSide()I
-
method_3052
- Mappings:
Namespace Name Mixin selector official aLux;a(Z)Vintermediary method_3052Lnet/minecraft/class_962;method_3052(Z)Vnamed method_3052Lnet/minecraft/entity/vehicle/BoatEntity;method_3052(Z)V
-