Package net.minecraft.entity.thrown
Class ThrowableEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.thrown.ThrowableEntity
- All Implemented Interfaces:
CommandSource,Projectile
- Direct Known Subclasses:
EggEntity,EnderPearlEntity,ExperienceBottleEntity,PotionEntity,SnowballEntity
- Mappings:
Namespace Name official zyintermediary net/minecraft/class_996named net/minecraft/entity/thrown/ThrowableEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate intprivate LivingEntityprivate Blockprotected booleanprivate intprivate StringintFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionThrowableEntity(World world) ThrowableEntity(World world, double x, double y, double z) ThrowableEntity(World world, LivingEntity owner) -
Method Summary
Modifier and TypeMethodDescriptionprotected floatgetOwner()protected voidprotected abstract voidonCollision(BlockHitResult result) voidvoidsetProperties(Entity user, float pitch, float yaw, float roll, float modifierZ, float modifierXYZ) voidsetVelocity(double x, double y, double z, float speed, float divergence) voidsetVelocityClient(double x, double y, double z) booleanshouldRender(double distance) voidtick()voidMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, animateDamage, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, collides, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6097, method_6100, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateVelocity, updateWaterState
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official dLzy;d:Iintermediary field_4074Lnet/minecraft/class_996;field_4074:Inamed blockXLnet/minecraft/entity/thrown/ThrowableEntity;blockX:I
-
blockY
private int blockY- Mappings:
Namespace Name Mixin selector official eLzy;e:Iintermediary field_4075Lnet/minecraft/class_996;field_4075:Inamed blockYLnet/minecraft/entity/thrown/ThrowableEntity;blockY:I
-
blockZ
private int blockZ- Mappings:
Namespace Name Mixin selector official fLzy;f:Iintermediary field_4076Lnet/minecraft/class_996;field_4076:Inamed blockZLnet/minecraft/entity/thrown/ThrowableEntity;blockZ:I
-
inBlock
- Mappings:
Namespace Name Mixin selector official gLzy;g:Lajt;intermediary field_9143Lnet/minecraft/class_996;field_9143:Lnet/minecraft/class_197;named inBlockLnet/minecraft/entity/thrown/ThrowableEntity;inBlock:Lnet/minecraft/block/Block;
-
inGround
protected boolean inGround- Mappings:
Namespace Name Mixin selector official aLzy;a:Zintermediary field_4071Lnet/minecraft/class_996;field_4071:Znamed inGroundLnet/minecraft/entity/thrown/ThrowableEntity;inGround:Z
-
shake
public int shake- Mappings:
Namespace Name Mixin selector official bLzy;b:Iintermediary field_4072Lnet/minecraft/class_996;field_4072:Inamed shakeLnet/minecraft/entity/thrown/ThrowableEntity;shake:I
-
field_6932
- Mappings:
Namespace Name Mixin selector official hLzy;h:Lsa;intermediary field_6932Lnet/minecraft/class_996;field_6932:Lnet/minecraft/class_1699;named field_6932Lnet/minecraft/entity/thrown/ThrowableEntity;field_6932:Lnet/minecraft/entity/LivingEntity;
-
ownerName
- Mappings:
Namespace Name Mixin selector official atLzy;at:Ljava/lang/String;intermediary field_5404Lnet/minecraft/class_996;field_5404:Ljava/lang/String;named ownerNameLnet/minecraft/entity/thrown/ThrowableEntity;ownerName:Ljava/lang/String;
-
inGroundTime
private int inGroundTime- Mappings:
Namespace Name Mixin selector official auLzy;au:Iintermediary field_4078Lnet/minecraft/class_996;field_4078:Inamed inGroundTimeLnet/minecraft/entity/thrown/ThrowableEntity;inGroundTime:I
-
field_4079
private int field_4079- Mappings:
Namespace Name Mixin selector official avLzy;av:Iintermediary field_4079Lnet/minecraft/class_996;field_4079:Inamed field_4079Lnet/minecraft/entity/thrown/ThrowableEntity;field_4079:I
-
field_14820
- Mappings:
Namespace Name Mixin selector official cLzy;c:Lrr;intermediary field_14820Lnet/minecraft/class_996;field_14820:Lnet/minecraft/class_864;named field_14820Lnet/minecraft/entity/thrown/ThrowableEntity;field_14820:Lnet/minecraft/entity/Entity;
-
field_14819
private int field_14819- Mappings:
Namespace Name Mixin selector official awLzy;aw:Iintermediary field_14819Lnet/minecraft/class_996;field_14819:Inamed field_14819Lnet/minecraft/entity/thrown/ThrowableEntity;field_14819:I
-
-
Constructor Details
-
ThrowableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Laht;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ThrowableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lzy;<init>(Laht;DDD)Vintermediary <init>Lnet/minecraft/class_996;<init>(Lnet/minecraft/class_1150;DDD)Vnamed <init>Lnet/minecraft/entity/thrown/ThrowableEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
ThrowableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lzy;<init>(Laht;Lsa;)Vintermediary <init>Lnet/minecraft/class_996;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;)Vnamed <init>Lnet/minecraft/entity/thrown/ThrowableEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLrr;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
setProperties
public void setProperties(Entity user, float pitch, float yaw, float roll, float modifierZ, float modifierXYZ) - Mappings:
Namespace Name Mixin selector official aLzy;a(Lrr;FFFFF)Vintermediary method_13290Lnet/minecraft/class_996;method_13290(Lnet/minecraft/class_864;FFFFF)Vnamed setPropertiesLnet/minecraft/entity/thrown/ThrowableEntity;setProperties(Lnet/minecraft/entity/Entity;FFFFF)V
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence) - Specified by:
setVelocityin interfaceProjectile- Mappings:
Namespace Name Mixin selector official cLzs;c(DDDFF)Vintermediary method_3233Lnet/minecraft/class_1417;method_3233(DDDFF)Vnamed setVelocityLnet/minecraft/entity/projectile/Projectile;setVelocity(DDDFF)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official iLrr;i(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
getGravity
protected float getGravity()- Mappings:
Namespace Name Mixin selector official jLzy;j()Fintermediary method_3236Lnet/minecraft/class_996;method_3236()Fnamed getGravityLnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
-
onCollision
- Mappings:
Namespace Name Mixin selector official aLzy;a(Lbbg;)Vintermediary method_3232Lnet/minecraft/class_996;method_3232(Lnet/minecraft/class_234;)Vnamed onCollisionLnet/minecraft/entity/thrown/ThrowableEntity;onCollision(Lnet/minecraft/util/hit/BlockHitResult;)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(Ldq;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Ldq;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getOwner
- Mappings:
Namespace Name Mixin selector official kLzy;k()Lsa;intermediary method_4585Lnet/minecraft/class_996;method_4585()Lnet/minecraft/class_1699;named getOwnerLnet/minecraft/entity/thrown/ThrowableEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
-