Class class_10255
- All Implemented Interfaces:
DataTracked,Leashable,ScoreHolder,Nameable,EntityLike
- Direct Known Subclasses:
BoatEntity,class_10256,class_10258
- Mappings:
Namespace Name named net/minecraft/class_10255intermediary net/minecraft/class_10255official cqr
-
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.entity.Leashable
Leashable.LeashData -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate booleanprivate booleanprivate booleanprivate doubleprivate floatprivate class_10255.Locationprivate class_10255.Locationprivate doubleprivate booleanprivate booleanprivate floatprivate floatprivate floatprivate Leashable.LeashDataprivate doubleprivate booleanstatic final intstatic final doublestatic final intprivate static final TrackedData<Boolean> private static final TrackedData<Boolean> private static final TrackedData<Integer> private static final intprivate static final floatprivate final float[]private floatprivate floatprivate floatprivate intprivate doubleprivate doubleprivate doubleprivate doubleFields 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, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.Leashable
LEASH_NBT_KEY, MAX_LEASH_LENGTH, SHORT_LEASH_LENGTHFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionclass_10255(EntityType<? extends class_10255> entityType, World world, Supplier<Item> supplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidanimateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).voidapplyLeashElasticity(Entity leashHolder, float distance) protected final ItemasItem()protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.booleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.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.Returns the passenger in control of this entity, ornullif there is none.protected doubleReturns the offset from the entity's position where the leash is attached to.floatdoubledoublefloatdoubleprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.protected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) final ItemStackReturns the stack for creative "pick block" functionality, ornullif there is none.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.interact(PlayerEntity player, Hand hand) Called when a player interacts with this entity.booleanReturns whether other entities cannot occupy the same space with this entity.booleanReturns whether the entity can be pushed by other entities.booleanReturns whether this entity's hitbox is fully submerged in water.private voidprivate voidprivate class_10255.Locationprivate booleanprivate @Nullable class_10255.Locationprivate voidprivate voidprivate intfloatmethod_64484(float float2) floatmethod_64485(int int2, float float2) static booleanmethod_64486(Entity entity, Entity entity2) voidmethod_64487(boolean bool, boolean bool2, boolean bool3, boolean bool4) booleanmethod_64488(Entity entity) protected abstract doublemethod_64489(EntityDimensions entityDimensions) voidmethod_64490(boolean bool, boolean bool2) booleanmethod_64491(int int2) protected voidmethod_64492(Entity entity) protected @Nullable SoundEventfloatprivate voidmethod_64496(int int2) floatvoidmethod_64498(double double2, double double3, double double4) protected floatprotected intvoidonBubbleColumnSurfaceCollision(boolean drag) 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 voidReads custom data fromnbt.voidremove(Entity.RemovalReason reason) Removes the entity.voidsetLeashData(Leashable.LeashData leashData) voidtick()Ticks this entity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.protected voidupdatePassengerPosition(Entity passenger, Entity.PositionUpdater positionUpdater) voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) protected voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.vehicle.VehicleEntity
damage, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultPortalCooldown, isImmuneToExplosion, killAndDropItem, killAndDropSelf, method_64397, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicksMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTable, getMaxAir, getMinFreezeDamageTicks, getMovement, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, method_64419, method_64420, method_64421, move, movementInputToVelocity, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.entity.Leashable
attachLeash, beforeLeashTick, canBeLeashed, canLeashAttachTo, detachLeash, detachLeash, getLeashHolder, isLeashed, mightBeLeashed, onShortLeashTick, readLeashDataFromNbt, setUnresolvedLeashHolderId, writeLeashDataToNbtMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_54448
- Mappings:
Namespace Name Mixin selector named field_54448Lnet/minecraft/class_10255;field_54448:Lnet/minecraft/entity/data/TrackedData;intermediary field_54448Lnet/minecraft/class_10255;field_54448:Lnet/minecraft/class_2940;official hLcqr;h:Lakm;
-
field_54449
- Mappings:
Namespace Name Mixin selector named field_54449Lnet/minecraft/class_10255;field_54449:Lnet/minecraft/entity/data/TrackedData;intermediary field_54449Lnet/minecraft/class_10255;field_54449:Lnet/minecraft/class_2940;official iLcqr;i:Lakm;
-
field_54450
- Mappings:
Namespace Name Mixin selector named field_54450Lnet/minecraft/class_10255;field_54450:Lnet/minecraft/entity/data/TrackedData;intermediary field_54450Lnet/minecraft/class_10255;field_54450:Lnet/minecraft/class_2940;official jLcqr;j:Lakm;
-
field_54427
public static final int field_54427- See Also:
- Mappings:
Namespace Name Mixin selector named field_54427Lnet/minecraft/class_10255;field_54427:Iintermediary field_54427Lnet/minecraft/class_10255;field_54427:Iofficial aLcqr;a:I
-
field_54445
public static final int field_54445- See Also:
- Mappings:
Namespace Name Mixin selector named field_54445Lnet/minecraft/class_10255;field_54445:Iintermediary field_54445Lnet/minecraft/class_10255;field_54445:Iofficial bLcqr;b:I
-
field_54451
private static final int field_54451- See Also:
- Mappings:
Namespace Name Mixin selector named field_54451Lnet/minecraft/class_10255;field_54451:Iintermediary field_54451Lnet/minecraft/class_10255;field_54451:Iofficial kLcqr;k:I
-
field_54452
private static final float field_54452- See Also:
- Mappings:
Namespace Name Mixin selector named field_54452Lnet/minecraft/class_10255;field_54452:Fintermediary field_54452Lnet/minecraft/class_10255;field_54452:Fofficial lLcqr;l:F
-
field_54446
public static final double field_54446- See Also:
- Mappings:
Namespace Name Mixin selector named field_54446Lnet/minecraft/class_10255;field_54446:Dintermediary field_54446Lnet/minecraft/class_10255;field_54446:Dofficial cLcqr;c:D
-
field_54447
public static final int field_54447- See Also:
- Mappings:
Namespace Name Mixin selector named field_54447Lnet/minecraft/class_10255;field_54447:Iintermediary field_54447Lnet/minecraft/class_10255;field_54447:Iofficial dLcqr;d:I
-
field_54453
private final float[] field_54453- Mappings:
Namespace Name Mixin selector named field_54453Lnet/minecraft/class_10255;field_54453:[Fintermediary field_54453Lnet/minecraft/class_10255;field_54453:[Fofficial mLcqr;m:[F
-
field_54454
private float field_54454- Mappings:
Namespace Name Mixin selector named field_54454Lnet/minecraft/class_10255;field_54454:Fintermediary field_54454Lnet/minecraft/class_10255;field_54454:Fofficial nLcqr;n:F
-
field_54455
private float field_54455- Mappings:
Namespace Name Mixin selector named field_54455Lnet/minecraft/class_10255;field_54455:Fintermediary field_54455Lnet/minecraft/class_10255;field_54455:Fofficial oLcqr;o:F
-
field_54456
private float field_54456- Mappings:
Namespace Name Mixin selector named field_54456Lnet/minecraft/class_10255;field_54456:Fintermediary field_54456Lnet/minecraft/class_10255;field_54456:Fofficial pLcqr;p:F
-
field_54457
private int field_54457- Mappings:
Namespace Name Mixin selector named field_54457Lnet/minecraft/class_10255;field_54457:Iintermediary field_54457Lnet/minecraft/class_10255;field_54457:Iofficial qLcqr;q:I
-
field_54458
private double field_54458- Mappings:
Namespace Name Mixin selector named field_54458Lnet/minecraft/class_10255;field_54458:Dintermediary field_54458Lnet/minecraft/class_10255;field_54458:Dofficial rLcqr;r:D
-
field_54459
private double field_54459- Mappings:
Namespace Name Mixin selector named field_54459Lnet/minecraft/class_10255;field_54459:Dintermediary field_54459Lnet/minecraft/class_10255;field_54459:Dofficial sLcqr;s:D
-
field_54460
private double field_54460- Mappings:
Namespace Name Mixin selector named field_54460Lnet/minecraft/class_10255;field_54460:Dintermediary field_54460Lnet/minecraft/class_10255;field_54460:Dofficial tLcqr;t:D
-
field_54461
private double field_54461- Mappings:
Namespace Name Mixin selector named field_54461Lnet/minecraft/class_10255;field_54461:Dintermediary field_54461Lnet/minecraft/class_10255;field_54461:Dofficial uLcqr;u:D
-
field_54443
private double field_54443- Mappings:
Namespace Name Mixin selector named field_54443Lnet/minecraft/class_10255;field_54443:Dintermediary field_54443Lnet/minecraft/class_10255;field_54443:Dofficial ayLcqr;ay:D
-
field_54444
private boolean field_54444- Mappings:
Namespace Name Mixin selector named field_54444Lnet/minecraft/class_10255;field_54444:Zintermediary field_54444Lnet/minecraft/class_10255;field_54444:Zofficial azLcqr;az:Z
-
field_54428
private boolean field_54428- Mappings:
Namespace Name Mixin selector named field_54428Lnet/minecraft/class_10255;field_54428:Zintermediary field_54428Lnet/minecraft/class_10255;field_54428:Zofficial aALcqr;aA:Z
-
field_54429
private boolean field_54429- Mappings:
Namespace Name Mixin selector named field_54429Lnet/minecraft/class_10255;field_54429:Zintermediary field_54429Lnet/minecraft/class_10255;field_54429:Zofficial aBLcqr;aB:Z
-
field_54430
private boolean field_54430- Mappings:
Namespace Name Mixin selector named field_54430Lnet/minecraft/class_10255;field_54430:Zintermediary field_54430Lnet/minecraft/class_10255;field_54430:Zofficial aCLcqr;aC:Z
-
field_54431
private double field_54431- Mappings:
Namespace Name Mixin selector named field_54431Lnet/minecraft/class_10255;field_54431:Dintermediary field_54431Lnet/minecraft/class_10255;field_54431:Dofficial aDLcqr;aD:D
-
field_54432
private float field_54432- Mappings:
Namespace Name Mixin selector named field_54432Lnet/minecraft/class_10255;field_54432:Fintermediary field_54432Lnet/minecraft/class_10255;field_54432:Fofficial aELcqr;aE:F
-
field_54433
- Mappings:
Namespace Name Mixin selector named field_54433Lnet/minecraft/class_10255;field_54433:Lnet/minecraft/class_10255$Location;intermediary field_54433Lnet/minecraft/class_10255;field_54433:Lnet/minecraft/class_10255$class_1691;official aFLcqr;aF:Lcqr$a;
-
field_54434
- Mappings:
Namespace Name Mixin selector named field_54434Lnet/minecraft/class_10255;field_54434:Lnet/minecraft/class_10255$Location;intermediary field_54434Lnet/minecraft/class_10255;field_54434:Lnet/minecraft/class_10255$class_1691;official aGLcqr;aG:Lcqr$a;
-
field_54435
private double field_54435- Mappings:
Namespace Name Mixin selector named field_54435Lnet/minecraft/class_10255;field_54435:Dintermediary field_54435Lnet/minecraft/class_10255;field_54435:Dofficial aHLcqr;aH:D
-
field_54436
private boolean field_54436- Mappings:
Namespace Name Mixin selector named field_54436Lnet/minecraft/class_10255;field_54436:Zintermediary field_54436Lnet/minecraft/class_10255;field_54436:Zofficial aILcqr;aI:Z
-
field_54437
private boolean field_54437- Mappings:
Namespace Name Mixin selector named field_54437Lnet/minecraft/class_10255;field_54437:Zintermediary field_54437Lnet/minecraft/class_10255;field_54437:Zofficial aJLcqr;aJ:Z
-
field_54438
private float field_54438- Mappings:
Namespace Name Mixin selector named field_54438Lnet/minecraft/class_10255;field_54438:Fintermediary field_54438Lnet/minecraft/class_10255;field_54438:Fofficial aKLcqr;aK:F
-
field_54439
private float field_54439- Mappings:
Namespace Name Mixin selector named field_54439Lnet/minecraft/class_10255;field_54439:Fintermediary field_54439Lnet/minecraft/class_10255;field_54439:Fofficial aLLcqr;aL:F
-
field_54440
private float field_54440- Mappings:
Namespace Name Mixin selector named field_54440Lnet/minecraft/class_10255;field_54440:Fintermediary field_54440Lnet/minecraft/class_10255;field_54440:Fofficial aMLcqr;aM:F
-
field_54441
- Mappings:
Namespace Name Mixin selector named field_54441Lnet/minecraft/class_10255;field_54441:Lnet/minecraft/entity/Leashable$LeashData;intermediary field_54441Lnet/minecraft/class_10255;field_54441:Lnet/minecraft/class_9817$class_9818;official aNLcqr;aN:Lbvf$a;
-
field_54442
- Mappings:
Namespace Name Mixin selector named field_54442Lnet/minecraft/class_10255;field_54442:Ljava/util/function/Supplier;intermediary field_54442Lnet/minecraft/class_10255;field_54442:Ljava/util/function/Supplier;official aOLcqr;aO:Ljava/util/function/Supplier;
-
-
Constructor Details
-
class_10255
public class_10255(EntityType<? extends class_10255> entityType, World world, Supplier<Item> supplier)
-
-
Method Details
-
method_64498
public void method_64498(double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector named method_64498Lnet/minecraft/class_10255;method_64498(DDD)Vintermediary method_64498Lnet/minecraft/class_10255;method_64498(DDD)Vofficial pLcqr;p(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 bgLbul;bg()Lbul$b;
-
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 aLbul;a(Lakq$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 iLbul;i(Lbul;)Z
-
method_64486
- Mappings:
Namespace Name Mixin selector named method_64486Lnet/minecraft/class_10255;method_64486(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 aLcqr;a(Lbul;Lbul;)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.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()Zintermediary method_30948Lnet/minecraft/class_1297;method_30948()Zofficial bNLbul;bN()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 bILbul;bI()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 aLbul;a(Ljm$a;Ll$a;)Lezy;
-
method_64489
- Mappings:
Namespace Name Mixin selector named method_64489Lnet/minecraft/class_10255;method_64489(Lnet/minecraft/entity/EntityDimensions;)Dintermediary method_64489Lnet/minecraft/class_10255;method_64489(Lnet/minecraft/class_4048;)Dofficial bLcqr;b(Lbuo;)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 aLbul;a(Lbul;Lbuo;F)Lezy;
-
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.
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(Z)Vintermediary method_5700Lnet/minecraft/class_1297;method_5700(Z)Vofficial lLbul;l(Z)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 hLbul;h(Lbul;)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 pLbul;p(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 bHLbul;bH()Z
-
updateTrackedPositionAndAngles
public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) - Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector named updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFI)Vintermediary method_5759Lnet/minecraft/class_1297;method_5759(DDDFFI)Vofficial aLbul;a(DDDFFI)V
-
getLerpTargetX
public double getLerpTargetX()- Overrides:
getLerpTargetXin classEntity- Mappings:
Namespace Name Mixin selector named getLerpTargetXLnet/minecraft/entity/Entity;getLerpTargetX()Dintermediary method_53830Lnet/minecraft/class_1297;method_53830()Dofficial f_Lbul;f_()D
-
getLerpTargetY
public double getLerpTargetY()- Overrides:
getLerpTargetYin classEntity- Mappings:
Namespace Name Mixin selector named getLerpTargetYLnet/minecraft/entity/Entity;getLerpTargetY()Dintermediary method_53827Lnet/minecraft/class_1297;method_53827()Dofficial P_Lbul;P_()D
-
getLerpTargetZ
public double getLerpTargetZ()- Overrides:
getLerpTargetZin classEntity- Mappings:
Namespace Name Mixin selector named getLerpTargetZLnet/minecraft/entity/Entity;getLerpTargetZ()Dintermediary method_53828Lnet/minecraft/class_1297;method_53828()Dofficial Q_Lbul;Q_()D
-
getLerpTargetPitch
public float getLerpTargetPitch()- Overrides:
getLerpTargetPitchin classEntity- Mappings:
Namespace Name Mixin selector named getLerpTargetPitchLnet/minecraft/entity/Entity;getLerpTargetPitch()Fintermediary method_53829Lnet/minecraft/class_1297;method_53829()Fofficial g_Lbul;g_()F
-
getLerpTargetYaw
public float getLerpTargetYaw()- Overrides:
getLerpTargetYawin classEntity- Mappings:
Namespace Name Mixin selector named getLerpTargetYawLnet/minecraft/entity/Entity;getLerpTargetYaw()Fintermediary method_53831Lnet/minecraft/class_1297;method_53831()Fofficial q_Lbul;q_()F
-
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 cPLbul;cP()Ljm;
-
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 hLbul;h()V
-
method_64476
private void method_64476()- Mappings:
Namespace Name Mixin selector named method_64476Lnet/minecraft/class_10255;method_64476()Vintermediary method_64476Lnet/minecraft/class_10255;method_64476()Vofficial DLcqr;D()V
-
method_64494
- Mappings:
Namespace Name Mixin selector named method_64494Lnet/minecraft/class_10255;method_64494()Lnet/minecraft/sound/SoundEvent;intermediary method_64494Lnet/minecraft/class_10255;method_64494()Lnet/minecraft/class_3414;official jLcqr;j()Lawm;
-
method_64477
private void method_64477()- Mappings:
Namespace Name Mixin selector named method_64477Lnet/minecraft/class_10255;method_64477()Vintermediary method_64477Lnet/minecraft/class_10255;method_64477()Vofficial ELcqr;E()V
-
method_64490
public void method_64490(boolean bool, boolean bool2) - Mappings:
Namespace Name Mixin selector named method_64490Lnet/minecraft/class_10255;method_64490(ZZ)Vintermediary method_64490Lnet/minecraft/class_10255;method_64490(ZZ)Vofficial bLcqr;b(ZZ)V
-
method_64485
public float method_64485(int int2, float float2) - Mappings:
Namespace Name Mixin selector named method_64485Lnet/minecraft/class_10255;method_64485(IF)Fintermediary method_64485Lnet/minecraft/class_10255;method_64485(IF)Fofficial aLcqr;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 R_Lbvf;R_()Lbvf$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 aLbvf;a(Lbvf$a;)V
-
getLeashOffset
Returns the offset from the entity's position where the leash is attached to.This is different from
Entity.getLeashPos(float); this method is called on the entity which a leash is attached to.- Overrides:
getLeashOffsetin classEntity- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
Namespace Name Mixin selector named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;official cTLbul;cT()Lezy;
-
applyLeashElasticity
- Specified by:
applyLeashElasticityin interfaceLeashable- Mappings:
Namespace Name Mixin selector named applyLeashElasticityLnet/minecraft/entity/Leashable;applyLeashElasticity(Lnet/minecraft/entity/Entity;F)Vintermediary method_61162Lnet/minecraft/class_9817;method_61162(Lnet/minecraft/class_1297;F)Vofficial bLbvf;b(Lbul;F)V
-
method_64478
- Mappings:
Namespace Name Mixin selector named method_64478Lnet/minecraft/class_10255;method_64478()Lnet/minecraft/class_10255$Location;intermediary method_64478Lnet/minecraft/class_10255;method_64478()Lnet/minecraft/class_10255$class_1691;official FLcqr;F()Lcqr$a;
-
method_64495
public float method_64495()- Mappings:
Namespace Name Mixin selector named method_64495Lnet/minecraft/class_10255;method_64495()Fintermediary method_64495Lnet/minecraft/class_10255;method_64495()Fofficial lLcqr;l()F
-
method_64497
public float method_64497()- Mappings:
Namespace Name Mixin selector named method_64497Lnet/minecraft/class_10255;method_64497()Fintermediary method_64497Lnet/minecraft/class_10255;method_64497()Fofficial nLcqr;n()F
-
method_64479
private boolean method_64479()- Mappings:
Namespace Name Mixin selector named method_64479Lnet/minecraft/class_10255;method_64479()Zintermediary method_64479Lnet/minecraft/class_10255;method_64479()Zofficial GLcqr;G()Z
-
method_64480
- Mappings:
Namespace Name Mixin selector named method_64480Lnet/minecraft/class_10255;method_64480()Lnet/minecraft/class_10255$Location;intermediary method_64480Lnet/minecraft/class_10255;method_64480()Lnet/minecraft/class_10255$class_1691;official HLcqr;H()Lcqr$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 bdLbul;bd()D
-
method_64481
private void method_64481()- Mappings:
Namespace Name Mixin selector named method_64481Lnet/minecraft/class_10255;method_64481()Vintermediary method_64481Lnet/minecraft/class_10255;method_64481()Vofficial ILcqr;I()V
-
method_64482
private void method_64482()- Mappings:
Namespace Name Mixin selector named method_64482Lnet/minecraft/class_10255;method_64482()Vintermediary method_64482Lnet/minecraft/class_10255;method_64482()Vofficial JLcqr;J()V
-
method_64499
protected float method_64499()- Mappings:
Namespace Name Mixin selector named method_64499Lnet/minecraft/class_10255;method_64499()Fintermediary method_64499Lnet/minecraft/class_10255;method_64499()Fofficial qLcqr;q()F
-
method_64488
- Mappings:
Namespace Name Mixin selector named method_64488Lnet/minecraft/class_10255;method_64488(Lnet/minecraft/entity/Entity;)Zintermediary method_64488Lnet/minecraft/class_10255;method_64488(Lnet/minecraft/class_1297;)Zofficial bLcqr;b(Lbul;)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 aLbul;a(Lbul;Lbul$a;)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 bLbul;b(Lbvh;)Lezy;
-
method_64492
- Mappings:
Namespace Name Mixin selector named method_64492Lnet/minecraft/class_10255;method_64492(Lnet/minecraft/entity/Entity;)Vintermediary method_64492Lnet/minecraft/class_10255;method_64492(Lnet/minecraft/class_1297;)Vofficial cLcqr;c(Lbul;)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 kLbul;k(Lbul;)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:
writeCustomDataToNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbul;b(Lul;)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.
nbtmight 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:
readCustomDataFromNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbul;a(Lul;)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 aLbul;a(Lcou;Lbsj;)Lbsk;
-
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 aLbul;a(Lbul$c;)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, float), 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 aLbul;a(DZLdvv;Ljh;)V
-
method_64491
public boolean method_64491(int int2) - Mappings:
Namespace Name Mixin selector named method_64491Lnet/minecraft/class_10255;method_64491(I)Zintermediary method_64491Lnet/minecraft/class_10255;method_64491(I)Zofficial cLcqr;c(I)Z
-
method_64496
private void method_64496(int int2) - Mappings:
Namespace Name Mixin selector named method_64496Lnet/minecraft/class_10255;method_64496(I)Vintermediary method_64496Lnet/minecraft/class_10255;method_64496(I)Vofficial mLcqr;m(I)V
-
method_64483
private int method_64483()- Mappings:
Namespace Name Mixin selector named method_64483Lnet/minecraft/class_10255;method_64483()Iintermediary method_64483Lnet/minecraft/class_10255;method_64483()Iofficial OLcqr;O()I
-
method_64484
public float method_64484(float float2) - Mappings:
Namespace Name Mixin selector named method_64484Lnet/minecraft/class_10255;method_64484(F)Fintermediary method_64484Lnet/minecraft/class_10255;method_64484(F)Fofficial aLcqr;a(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 rLbul;r(Lbul;)Z
-
method_64500
protected int method_64500()- Mappings:
Namespace Name Mixin selector named method_64500Lnet/minecraft/class_10255;method_64500()Iintermediary method_64500Lnet/minecraft/class_10255;method_64500()Iofficial sLcqr;s()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 cXLbul;cX()Lbvh;
-
method_64487
public void method_64487(boolean bool, boolean bool2, boolean bool3, boolean bool4) - Mappings:
Namespace Name Mixin selector named method_64487Lnet/minecraft/class_10255;method_64487(ZZZZ)Vintermediary method_64487Lnet/minecraft/class_10255;method_64487(ZZZZ)Vofficial aLcqr;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 boLbul;bo()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 tLcrl;t()Lcwi;
-
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 dILbul;dI()Lcwm;
-