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 aevintermediary net/minecraft/class_996named net/minecraft/entity/thrown/ThrowableEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate intprotected LivingEntityprivate Blockprotected booleanprivate intprivate StringintFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, 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 voidstatic voidmethod_13295(class_2934 class_2934, String string) protected 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, getBurningDuration, 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, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interact, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, method_15051, method_15052, method_15055, method_2492, method_6344, move, onBlockCollision, 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, setNoGravity, 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, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateWaterState
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official eLaev;e: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 fLaev;f: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 gLaev;g:Iintermediary field_4076Lnet/minecraft/class_996;field_4076:Inamed blockZLnet/minecraft/entity/thrown/ThrowableEntity;blockZ:I
-
inBlock
- Mappings:
Namespace Name Mixin selector official hLaev;h:Laow;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 aLaev;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 bLaev;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 cLaev;c:Lvp;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 atLaev;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 auLaev;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 avLaev;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 dLaev;d:Lvg;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 awLaev;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>Lvg;<init>(Lamu;)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>Laev;<init>(Lamu;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>Laev;<init>(Lamu;Lvp;)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 iLvg;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 aLvg;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 aLaev;a(Lvg;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 cLaep;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 hLvg;h(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 jLaev;j()Fintermediary method_3236Lnet/minecraft/class_996;method_3236()Fnamed getGravityLnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
-
onCollision
- Mappings:
Namespace Name Mixin selector official aLaev;a(Lbhc;)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
-
method_13295
- Mappings:
Namespace Name Mixin selector official aLaev;a(Lry;Ljava/lang/String;)Vintermediary method_13295Lnet/minecraft/class_996;method_13295(Lnet/minecraft/class_2934;Ljava/lang/String;)Vnamed method_13295Lnet/minecraft/entity/thrown/ThrowableEntity;method_13295(Lnet/minecraft/class_2934;Ljava/lang/String;)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLvg;b(Lfy;)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 aLvg;a(Lfy;)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 kLaev;k()Lvp;intermediary method_4585Lnet/minecraft/class_996;method_4585()Lnet/minecraft/class_1699;named getOwnerLnet/minecraft/entity/thrown/ThrowableEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
-