Class InteractionEntity
- All Implemented Interfaces:
Attackable
,DataTracked
,Targeter
,ScoreHolder
,Nameable
,EntityLike
- Mappings:
Namespace Name named net/minecraft/entity/decoration/InteractionEntity
intermediary net/minecraft/class_8150
official bwa
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final TrackedData
<Float> private static final String
private static final String
private static final Logger
private static final TrackedData
<Boolean> private static final String
private static final TrackedData
<Float> private static final String
Fields 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, wasInPowderSnow
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Box
boolean
Returns whether the entity cannot trigger pressure plates or tripwires.boolean
boolean
canHit()
Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.final boolean
damage
(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.private EntityDimensions
getDimensions
(EntityPose pose) Returns the dimensions of the entity with the givenpose
.private float
private float
Returns the behavior of the piston for this entity.boolean
handleAttack
(Entity attacker) Handles a player attacking the entity.protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.protected void
Reads custom data fromnbt
.private void
setInteractionHeight
(float height) private void
setInteractionWidth
(float width) private void
setResponse
(boolean response) private boolean
void
tick()
Ticks this entity.protected void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkDespawn, clientDamage, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPickBlockStack, 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, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlive, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, move, movementInputToVelocity, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetLerp, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, 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, sidedDamage, 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, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/entity/decoration/InteractionEntity;LOGGER:Lorg/slf4j/Logger;
intermediary field_42624
Lnet/minecraft/class_8150;field_42624:Lorg/slf4j/Logger;
official a
Lbwa;a:Lorg/slf4j/Logger;
-
WIDTH
- Mappings:
Namespace Name Mixin selector named WIDTH
Lnet/minecraft/entity/decoration/InteractionEntity;WIDTH:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42625
Lnet/minecraft/class_8150;field_42625:Lnet/minecraft/class_2940;
official b
Lbwa;b:Lalc;
-
HEIGHT
- Mappings:
Namespace Name Mixin selector named HEIGHT
Lnet/minecraft/entity/decoration/InteractionEntity;HEIGHT:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42626
Lnet/minecraft/class_8150;field_42626:Lnet/minecraft/class_2940;
official c
Lbwa;c:Lalc;
-
RESPONSE
- Mappings:
Namespace Name Mixin selector named RESPONSE
Lnet/minecraft/entity/decoration/InteractionEntity;RESPONSE:Lnet/minecraft/entity/data/TrackedData;
intermediary field_42627
Lnet/minecraft/class_8150;field_42627:Lnet/minecraft/class_2940;
official d
Lbwa;d:Lalc;
-
WIDTH_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named WIDTH_KEY
Lnet/minecraft/entity/decoration/InteractionEntity;WIDTH_KEY:Ljava/lang/String;
intermediary field_42628
Lnet/minecraft/class_8150;field_42628:Ljava/lang/String;
official e
Lbwa;e:Ljava/lang/String;
-
HEIGHT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HEIGHT_KEY
Lnet/minecraft/entity/decoration/InteractionEntity;HEIGHT_KEY:Ljava/lang/String;
intermediary field_42629
Lnet/minecraft/class_8150;field_42629:Ljava/lang/String;
official f
Lbwa;f:Ljava/lang/String;
-
ATTACK_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ATTACK_KEY
Lnet/minecraft/entity/decoration/InteractionEntity;ATTACK_KEY:Ljava/lang/String;
intermediary field_42630
Lnet/minecraft/class_8150;field_42630:Ljava/lang/String;
official g
Lbwa;g:Ljava/lang/String;
-
INTERACTION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named INTERACTION_KEY
Lnet/minecraft/entity/decoration/InteractionEntity;INTERACTION_KEY:Ljava/lang/String;
intermediary field_42631
Lnet/minecraft/class_8150;field_42631:Ljava/lang/String;
official h
Lbwa;h:Ljava/lang/String;
-
RESPONSE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named RESPONSE_KEY
Lnet/minecraft/entity/decoration/InteractionEntity;RESPONSE_KEY:Ljava/lang/String;
intermediary field_42632
Lnet/minecraft/class_8150;field_42632:Ljava/lang/String;
official i
Lbwa;i:Ljava/lang/String;
-
attack
- Mappings:
Namespace Name Mixin selector named attack
Lnet/minecraft/entity/decoration/InteractionEntity;attack:Lnet/minecraft/entity/decoration/InteractionEntity$Interaction;
intermediary field_42633
Lnet/minecraft/class_8150;field_42633:Lnet/minecraft/class_8150$class_8151;
official j
Lbwa;j:Lbwa$a;
-
interaction
- Mappings:
Namespace Name Mixin selector named interaction
Lnet/minecraft/entity/decoration/InteractionEntity;interaction:Lnet/minecraft/entity/decoration/InteractionEntity$Interaction;
intermediary field_42634
Lnet/minecraft/class_8150;field_42634:Lnet/minecraft/class_8150$class_8151;
official k
Lbwa;k:Lbwa$a;
-
-
Constructor Details
-
InteractionEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbvj;<init>(Lbvq;Ldhh;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTracker
in 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 initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbvj;a(Lalg$a;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Specified by:
readCustomDataFromNbt
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
official a
Lbvj;a(Lux;)V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Specified by:
writeCustomDataToNbt
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
official b
Lbvj;b(Lux;)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:
onTrackedDataSet
in interfaceDataTracked
- Overrides:
onTrackedDataSet
in classEntity
- Mappings:
Namespace Name Mixin selector named onTrackedDataSet
Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
intermediary method_5674
Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
official a
Lalf;a(Lalc;)V
-
canBeHitByProjectile
public boolean canBeHitByProjectile()- Overrides:
canBeHitByProjectile
in classEntity
- Mappings:
Namespace Name Mixin selector named canBeHitByProjectile
Lnet/minecraft/entity/Entity;canBeHitByProjectile()Z
intermediary method_49108
Lnet/minecraft/class_1297;method_49108()Z
official bG
Lbvj;bG()Z
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHit
in classEntity
- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector named canHit
Lnet/minecraft/entity/Entity;canHit()Z
intermediary method_5863
Lnet/minecraft/class_1297;method_5863()Z
official bH
Lbvj;bH()Z
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMAL
by default.AreaEffectCloudEntity
,MarkerEntity
, and markerArmorStandEntity
returnPistonBehavior.IGNORE
, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL
.- Overrides:
getPistonBehavior
in classEntity
- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector named getPistonBehavior
Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
intermediary method_5657
Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
official n_
Lbvj;n_()Leub;
-
canAvoidTraps
public boolean canAvoidTraps()Returns whether the entity cannot trigger pressure plates or tripwires.BatEntity
is the only entity in vanilla that can avoid traps.- Overrides:
canAvoidTraps
in classEntity
- Returns:
- whether the entity cannot trigger pressure plates or tripwires
- Mappings:
Namespace Name Mixin selector named canAvoidTraps
Lnet/minecraft/entity/Entity;canAvoidTraps()Z
intermediary method_5696
Lnet/minecraft/class_1297;method_5696()Z
official s_
Lbvj;s_()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:
handleAttack
in classEntity
- Returns:
- whether to stop handling the attack
- See Also:
- API Note:
- For example,
ArmorStandEntity
checks whether the player can modify blocks at the entity's position. - Mappings:
Namespace Name Mixin selector named handleAttack
Lnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Z
intermediary method_5698
Lnet/minecraft/class_1297;method_5698(Lnet/minecraft/class_1297;)Z
official v
Lbvj;v(Lbvj;)Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
invalid reference
#isInvulnerableTo
- Specified by:
damage
in classEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
intermediary method_64397
Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
official a
Lbvj;a(Lash;Lbtz;F)Z
-
interact
Called when a player interacts with this entity.- Overrides:
interact
in classEntity
- Parameters:
player
- the playerhand
- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official a
Lbvj;a(Lcpw;Lbth;)Lbti;
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in 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 tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official h
Lbvj;h()V
-
getLastAttacker
- Specified by:
getLastAttacker
in interfaceAttackable
- Mappings:
Namespace Name Mixin selector named getLastAttacker
Lnet/minecraft/entity/Attackable;getLastAttacker()Lnet/minecraft/entity/LivingEntity;
intermediary method_49107
Lnet/minecraft/class_8149;method_49107()Lnet/minecraft/class_1309;
official am
Lbvd;am()Lbwf;
-
getTarget
-
setInteractionWidth
private void setInteractionWidth(float width) - Mappings:
Namespace Name Mixin selector named setInteractionWidth
Lnet/minecraft/entity/decoration/InteractionEntity;setInteractionWidth(F)V
intermediary method_49109
Lnet/minecraft/class_8150;method_49109(F)V
official a
Lbwa;a(F)V
-
getInteractionWidth
private float getInteractionWidth()- Mappings:
Namespace Name Mixin selector named getInteractionWidth
Lnet/minecraft/entity/decoration/InteractionEntity;getInteractionWidth()F
intermediary method_49116
Lnet/minecraft/class_8150;method_49116()F
official m
Lbwa;m()F
-
setInteractionHeight
private void setInteractionHeight(float height) - Mappings:
Namespace Name Mixin selector named setInteractionHeight
Lnet/minecraft/entity/decoration/InteractionEntity;setInteractionHeight(F)V
intermediary method_49113
Lnet/minecraft/class_8150;method_49113(F)V
official b
Lbwa;b(F)V
-
getInteractionHeight
private float getInteractionHeight()- Mappings:
Namespace Name Mixin selector named getInteractionHeight
Lnet/minecraft/entity/decoration/InteractionEntity;getInteractionHeight()F
intermediary method_49117
Lnet/minecraft/class_8150;method_49117()F
official p
Lbwa;p()F
-
setResponse
private void setResponse(boolean response) - Mappings:
Namespace Name Mixin selector named setResponse
Lnet/minecraft/entity/decoration/InteractionEntity;setResponse(Z)V
intermediary method_49112
Lnet/minecraft/class_8150;method_49112(Z)V
official a
Lbwa;a(Z)V
-
shouldRespond
private boolean shouldRespond()- Mappings:
Namespace Name Mixin selector named shouldRespond
Lnet/minecraft/entity/decoration/InteractionEntity;shouldRespond()Z
intermediary method_49118
Lnet/minecraft/class_8150;method_49118()Z
official s
Lbwa;s()Z
-
getDimensions
- Mappings:
Namespace Name Mixin selector named getDimensions
Lnet/minecraft/entity/decoration/InteractionEntity;getDimensions()Lnet/minecraft/entity/EntityDimensions;
intermediary method_49119
Lnet/minecraft/class_8150;method_49119()Lnet/minecraft/class_4048;
official t
Lbwa;t()Lbvm;
-
getDimensions
Returns the dimensions of the entity with the givenpose
.- Overrides:
getDimensions
in classEntity
- Returns:
- the dimensions of the entity with the given
pose
- See Also:
- Mappings:
Namespace Name Mixin selector named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
official a
Lbvj;a(Lbwr;)Lbvm;
-
calculateBoundingBox
- Overrides:
calculateBoundingBox
in classEntity
- Mappings:
Namespace Name Mixin selector named calculateBoundingBox
Lnet/minecraft/entity/Entity;calculateBoundingBox()Lnet/minecraft/util/math/Box;
intermediary method_33332
Lnet/minecraft/class_1297;method_33332()Lnet/minecraft/class_238;
official ax
Lbvj;ax()Lfbs;
-