Package net.minecraft.entity.thrown
Class ThrowableEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.thrown.ThrowableEntity
- All Implemented Interfaces:
Projectile
- Direct Known Subclasses:
EggEntity,EnderPearlEntity,ExperienceBottleEntity,PotionEntity,SnowballEntity
- Mappings:
Namespace Name official xvintermediary net/minecraft/class_996named net/minecraft/entity/thrown/ThrowableEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate LivingEntityprivate Blockprotected booleanprivate intprivate StringintFields inherited from class net.minecraft.entity.Entity
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, 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 voidfloatprotected floatprotected floatprotected abstract voidonCollision(BlockHitResult result) voidvoidsetVelocity(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
addVelocity, afterSpawn, animateDamage, baseTick, burn, canAvoidTraps, canClimb, canFly, checkBlockCollision, collides, copyFrom, copyPosition, damage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getArmorStacks, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getRotation, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, handleAttack, handleStatus, hashCode, hasVehicle, increaseTransforms, isAlive, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isPushable, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2488, method_2489, method_2490, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, openInventory, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setArmorSlot, setBounds, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSprinting, setSwimming, setWorld, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official cLxv;c: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 dLxv;d: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 eLxv;e:Iintermediary field_4076Lnet/minecraft/class_996;field_4076:Inamed blockZLnet/minecraft/entity/thrown/ThrowableEntity;blockZ:I
-
inBlock
- Mappings:
Namespace Name Mixin selector official fLxv;f:Laht;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 aLxv;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 bLxv;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 gLxv;g:Lrg;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 hLxv;h: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 iLxv;i: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 jLxv;j:Iintermediary field_4079Lnet/minecraft/class_996;field_4079:Inamed field_4079Lnet/minecraft/entity/thrown/ThrowableEntity;field_4079:I
-
-
Constructor Details
-
ThrowableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)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>Lxv;<init>(Lafm;Lrg;)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
-
ThrowableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lxv;<init>(Lafm;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
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official cLqm;c()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 aLqm;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
method_3234
protected float method_3234()- Mappings:
Namespace Name Mixin selector official eLxv;e()Fintermediary method_3234Lnet/minecraft/class_996;method_3234()Fnamed method_3234Lnet/minecraft/entity/thrown/ThrowableEntity;method_3234()F
-
method_3235
protected float method_3235()- Mappings:
Namespace Name Mixin selector official fLxv;f()Fintermediary method_3235Lnet/minecraft/class_996;method_3235()Fnamed method_3235Lnet/minecraft/entity/thrown/ThrowableEntity;method_3235()F
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence) - Specified by:
setVelocityin interfaceProjectile- Mappings:
Namespace Name Mixin selector official cLxs;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 iLqm;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 iLxv;i()Fintermediary method_3236Lnet/minecraft/class_996;method_3236()Fnamed getGravityLnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
-
onCollision
- Mappings:
Namespace Name Mixin selector official aLxv;a(Layh;)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 bLqm;b(Ldg;)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 aLqm;a(Ldg;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_2475
- Overrides:
method_2475in classEntity- Mappings:
Namespace Name Mixin selector official YLqm;Y()Fintermediary method_2475Lnet/minecraft/class_864;method_2475()Fnamed method_2475Lnet/minecraft/entity/Entity;method_2475()F
-
getOwner
- Mappings:
Namespace Name Mixin selector official jLxv;j()Lrg;intermediary method_4585Lnet/minecraft/class_996;method_4585()Lnet/minecraft/class_1699;named getOwnerLnet/minecraft/entity/thrown/ThrowableEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
-