Package net.minecraft.entity.thrown
Class ThrowableEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.thrown.ThrowableEntity
- All Implemented Interfaces:
class_3893,Projectile,Nameable
- Direct Known Subclasses:
EggEntity,EnderPearlEntity,ExperienceBottleEntity,PotionEntity,SnowballEntity
- Mappings:
Namespace Name official aozintermediary net/minecraft/class_996named net/minecraft/entity/thrown/ThrowableEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate UUIDprotected LivingEntityprotected booleanintFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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
ConstructorsModifierConstructorDescriptionprotectedThrowableEntity(EntityType<?> entityType, double double2, double double3, double double4, World world) protectedThrowableEntity(EntityType<?> entityType, LivingEntity livingEntity, World world) protectedThrowableEntity(EntityType<?> entityType, World world) -
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, canFly, canStartRiding, canUsePortals, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getUuid, getVehicle, getVisibilityBoundingBox, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interact, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_12991, method_13003, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15559, method_15560, method_15561, method_15562, method_15563, method_15564, method_15566, method_15567, method_15569, method_15570, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15591, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, 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 eLaoz;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 fLaoz;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 gLaoz;g:Iintermediary field_4076Lnet/minecraft/class_996;field_4076:Inamed blockZLnet/minecraft/entity/thrown/ThrowableEntity;blockZ:I
-
inGround
protected boolean inGround- Mappings:
Namespace Name Mixin selector official aLaoz;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 bLaoz;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 cLaoz;c:Lafa;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;
-
field_17098
- Mappings:
Namespace Name Mixin selector official hLaoz;h:Ljava/util/UUID;intermediary field_17098Lnet/minecraft/class_996;field_17098:Ljava/util/UUID;named field_17098Lnet/minecraft/entity/thrown/ThrowableEntity;field_17098:Ljava/util/UUID;
-
field_14820
- Mappings:
Namespace Name Mixin selector official dLaoz;d:Laer;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 awLaoz;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>Laer;<init>(Laev;Laxy;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ThrowableEntity
protected ThrowableEntity(EntityType<?> entityType, double double2, double double3, double double4, World world) -
ThrowableEntity
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official x_Laer;x_()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 aLaer;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 aLaoz;a(Laer;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 cLaot;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 hLaer;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 fLaoz;f()Fintermediary method_3236Lnet/minecraft/class_996;method_3236()Fnamed getGravityLnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
-
onCollision
- Mappings:
Namespace Name Mixin selector official aLaoz;a(Lceb;)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 bLaer;b(Lgy;)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 aLaer;a(Lgy;)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 iLaoz;i()Lafa;intermediary method_4585Lnet/minecraft/class_996;method_4585()Lnet/minecraft/class_1699;named getOwnerLnet/minecraft/entity/thrown/ThrowableEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
-