Class InteractionEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,Targeter,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/decoration/InteractionEntityintermediary net/minecraft/class_8150official cep
-
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.Offset -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final floatprivate static final booleanprivate static final floatprivate static final TrackedData<Float> private static final Stringprivate static final Stringprivate static final TrackedData<Boolean> private static final Stringprivate static final TrackedData<Float> private static final StringFields 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.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BoxbooleanReturns whether the entity cannot trigger pressure plates or tripwires.booleanbooleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.final booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.private EntityDimensionsgetDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.private floatprivate floatReturns the behavior of the piston for this entity.booleanhandleAttack(Entity attacker) Handles a player attacking the entity.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.interact(PlayerEntity player, Hand hand) Called when a player interacts with this entity.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidreadCustomData(ReadView view) private voidsetInteractionHeight(float height) private voidsetInteractionWidth(float width) private voidsetResponse(boolean response) private booleanvoidtick()Ticks this entity.protected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calcDistanceFromBottomCollision, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canActVoluntarily, canAddPassenger, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, castComponentValue, changeLookDirection, checkDespawn, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, 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, fall, findCollisions, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyYaw, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityPos, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getInterpolator, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPickBlockStack, 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, handleFall, handleFallDamage, handleFallDamageForPassengers, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlive, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInSneakingPose, isInSwimmingPose, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, registerTracking, reinitDimensions, remove, 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, updatePassengerForDismount, updatePassengerPosition, 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.util.Nameable
getStringifiedNameMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
WIDTH
- Mappings:
Namespace Name Mixin selector named WIDTHLnet/minecraft/entity/decoration/InteractionEntity;WIDTH:Lnet/minecraft/entity/data/TrackedData;intermediary field_42625Lnet/minecraft/class_8150;field_42625:Lnet/minecraft/class_2940;official aLcep;a:Lalm;
-
HEIGHT
- Mappings:
Namespace Name Mixin selector named HEIGHTLnet/minecraft/entity/decoration/InteractionEntity;HEIGHT:Lnet/minecraft/entity/data/TrackedData;intermediary field_42626Lnet/minecraft/class_8150;field_42626:Lnet/minecraft/class_2940;official bLcep;b:Lalm;
-
RESPONSE
- Mappings:
Namespace Name Mixin selector named RESPONSELnet/minecraft/entity/decoration/InteractionEntity;RESPONSE:Lnet/minecraft/entity/data/TrackedData;intermediary field_42627Lnet/minecraft/class_8150;field_42627:Lnet/minecraft/class_2940;official cLcep;c:Lalm;
-
WIDTH_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named WIDTH_KEYLnet/minecraft/entity/decoration/InteractionEntity;WIDTH_KEY:Ljava/lang/String;intermediary field_42628Lnet/minecraft/class_8150;field_42628:Ljava/lang/String;official dLcep;d:Ljava/lang/String;
-
HEIGHT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HEIGHT_KEYLnet/minecraft/entity/decoration/InteractionEntity;HEIGHT_KEY:Ljava/lang/String;intermediary field_42629Lnet/minecraft/class_8150;field_42629:Ljava/lang/String;official eLcep;e:Ljava/lang/String;
-
ATTACK_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ATTACK_KEYLnet/minecraft/entity/decoration/InteractionEntity;ATTACK_KEY:Ljava/lang/String;intermediary field_42630Lnet/minecraft/class_8150;field_42630:Ljava/lang/String;official fLcep;f:Ljava/lang/String;
-
INTERACTION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named INTERACTION_KEYLnet/minecraft/entity/decoration/InteractionEntity;INTERACTION_KEY:Ljava/lang/String;intermediary field_42631Lnet/minecraft/class_8150;field_42631:Ljava/lang/String;official gLcep;g:Ljava/lang/String;
-
RESPONSE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named RESPONSE_KEYLnet/minecraft/entity/decoration/InteractionEntity;RESPONSE_KEY:Ljava/lang/String;intermediary field_42632Lnet/minecraft/class_8150;field_42632:Ljava/lang/String;official hLcep;h:Ljava/lang/String;
-
DEFAULT_WIDTH
private static final float DEFAULT_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_WIDTHLnet/minecraft/entity/decoration/InteractionEntity;DEFAULT_WIDTH:Fintermediary field_57588Lnet/minecraft/class_8150;field_57588:Fofficial iLcep;i:F
-
DEFAULT_HEIGHT
private static final float DEFAULT_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_HEIGHTLnet/minecraft/entity/decoration/InteractionEntity;DEFAULT_HEIGHT:Fintermediary field_57589Lnet/minecraft/class_8150;field_57589:Fofficial jLcep;j:F
-
DEFAULT_RESPONSE
private static final boolean DEFAULT_RESPONSE- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_RESPONSELnet/minecraft/entity/decoration/InteractionEntity;DEFAULT_RESPONSE:Zintermediary field_57590Lnet/minecraft/class_8150;field_57590:Zofficial kLcep;k:Z
-
attack
- Mappings:
Namespace Name Mixin selector named attackLnet/minecraft/entity/decoration/InteractionEntity;attack:Lnet/minecraft/entity/decoration/InteractionEntity$Interaction;intermediary field_42633Lnet/minecraft/class_8150;field_42633:Lnet/minecraft/class_8150$class_8151;official lLcep;l:Lcep$a;
-
interaction
- Mappings:
Namespace Name Mixin selector named interactionLnet/minecraft/entity/decoration/InteractionEntity;interaction:Lnet/minecraft/entity/decoration/InteractionEntity$Interaction;intermediary field_42634Lnet/minecraft/class_8150;field_42634:Lnet/minecraft/class_8150$class_8151;official mLcep;m:Lcep$a;
-
-
Constructor Details
-
InteractionEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcdv;<init>(Lcee;Ldrq;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTrackerin classEntity- 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
-
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
-
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
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLalp;a(Lalm;)V
-
canBeHitByProjectile
public boolean canBeHitByProjectile()- Overrides:
canBeHitByProjectilein classEntity- Mappings:
Namespace Name Mixin selector named canBeHitByProjectileLnet/minecraft/entity/Entity;canBeHitByProjectile()Zintermediary method_49108Lnet/minecraft/class_1297;method_49108()Zofficial bSLcdv;bS()Z
-
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
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMALby default.AreaEffectCloudEntity,MarkerEntity, and markerArmorStandEntityreturnPistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL.- Overrides:
getPistonBehaviorin classEntity- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector named getPistonBehaviorLnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;intermediary method_5657Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;official p_Lcdv;p_()Lfgf;
-
canAvoidTraps
public boolean canAvoidTraps()Returns whether the entity cannot trigger pressure plates or tripwires.BatEntityis the only entity in vanilla that can avoid traps.- Overrides:
canAvoidTrapsin classEntity- Returns:
- whether the entity cannot trigger pressure plates or tripwires
- Mappings:
Namespace Name Mixin selector named canAvoidTrapsLnet/minecraft/entity/Entity;canAvoidTraps()Zintermediary method_5696Lnet/minecraft/class_1297;method_5696()Zofficial o_Lcdv;o_()Z
-
handleAttack
Handles a player attacking the entity. This is called beforedamage(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource, float)and can be used to restrict players from attacking the entity by returningtrue.- Overrides:
handleAttackin classEntity- Returns:
- whether to stop handling the attack
- See Also:
- API Note:
- For example,
ArmorStandEntitychecks whether the player can modify blocks at the entity's position. - Mappings:
Namespace Name Mixin selector named handleAttackLnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Zintermediary method_5698Lnet/minecraft/class_1297;method_5698(Lnet/minecraft/class_1297;)Zofficial wLcdv;w(Lcdv;)Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Specified by:
damagein classEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcdv;a(Lawx;Lcci;F)Z
-
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;
-
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
-
getLastAttacker
- Specified by:
getLastAttackerin interfaceAttackable- Mappings:
Namespace Name Mixin selector named getLastAttackerLnet/minecraft/entity/Attackable;getLastAttacker()Lnet/minecraft/entity/LivingEntity;intermediary method_49107Lnet/minecraft/class_8149;method_49107()Lnet/minecraft/class_1309;official h_Lcdm;h_()Lcew;
-
getTarget
-
setInteractionWidth
private void setInteractionWidth(float width) - Mappings:
Namespace Name Mixin selector named setInteractionWidthLnet/minecraft/entity/decoration/InteractionEntity;setInteractionWidth(F)Vintermediary method_49109Lnet/minecraft/class_8150;method_49109(F)Vofficial aLcep;a(F)V
-
getInteractionWidth
private float getInteractionWidth()- Mappings:
Namespace Name Mixin selector named getInteractionWidthLnet/minecraft/entity/decoration/InteractionEntity;getInteractionWidth()Fintermediary method_49116Lnet/minecraft/class_8150;method_49116()Fofficial fLcep;f()F
-
setInteractionHeight
private void setInteractionHeight(float height) - Mappings:
Namespace Name Mixin selector named setInteractionHeightLnet/minecraft/entity/decoration/InteractionEntity;setInteractionHeight(F)Vintermediary method_49113Lnet/minecraft/class_8150;method_49113(F)Vofficial bLcep;b(F)V
-
getInteractionHeight
private float getInteractionHeight()- Mappings:
Namespace Name Mixin selector named getInteractionHeightLnet/minecraft/entity/decoration/InteractionEntity;getInteractionHeight()Fintermediary method_49117Lnet/minecraft/class_8150;method_49117()Fofficial iLcep;i()F
-
setResponse
private void setResponse(boolean response) - Mappings:
Namespace Name Mixin selector named setResponseLnet/minecraft/entity/decoration/InteractionEntity;setResponse(Z)Vintermediary method_49112Lnet/minecraft/class_8150;method_49112(Z)Vofficial aLcep;a(Z)V
-
shouldRespond
private boolean shouldRespond()- Mappings:
Namespace Name Mixin selector named shouldRespondLnet/minecraft/entity/decoration/InteractionEntity;shouldRespond()Zintermediary method_49118Lnet/minecraft/class_8150;method_49118()Zofficial kLcep;k()Z
-
getDimensions
- Mappings:
Namespace Name Mixin selector named getDimensionsLnet/minecraft/entity/decoration/InteractionEntity;getDimensions()Lnet/minecraft/entity/EntityDimensions;intermediary method_49119Lnet/minecraft/class_8150;method_49119()Lnet/minecraft/class_4048;official mLcep;m()Lcdy;
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official aLcdv;a(Lcfi;)Lcdy;
-
calculateDefaultBoundingBox
- Overrides:
calculateDefaultBoundingBoxin classEntity- Mappings:
Namespace Name Mixin selector named calculateDefaultBoundingBoxLnet/minecraft/entity/Entity;calculateDefaultBoundingBox(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Box;intermediary method_65341Lnet/minecraft/class_1297;method_65341(Lnet/minecraft/class_243;)Lnet/minecraft/class_238;official cLcdv;c(Lfoh;)Lfoc;
-