Package net.minecraft.entity.thrown
Class PotionEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.thrown.ThrowableEntity
net.minecraft.entity.thrown.PotionEntity
- All Implemented Interfaces:
CommandSource,Projectile
- Mappings:
Namespace Name official aalintermediary net/minecraft/class_1000named net/minecraft/entity/thrown/PotionEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Optional<ItemStack>>private static final LoggerFields inherited from class net.minecraft.entity.thrown.ThrowableEntity
field_14820, inGround, shakeFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, 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
ConstructorsConstructorDescriptionPotionEntity(World world) PotionEntity(World world, double x, double y, double z, ItemStack stack) PotionEntity(World world, LivingEntity entity, ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptionprotected floatgetItem()protected voidprivate booleanprivate voidmethod_11316(BlockPos blockPos) static voidmethod_13299(class_2934 class_2934) protected voidonCollision(BlockHitResult result) voidvoidvoidMethods inherited from class net.minecraft.entity.thrown.ThrowableEntity
getOwner, method_13295, setProperties, setVelocity, setVelocityClient, shouldRender, tickMethods 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, 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, 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_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, 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, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateVelocity, updateWaterState
-
Field Details
-
ITEM
- Mappings:
Namespace Name Mixin selector official dLaal;d:Lkh;intermediary field_12206Lnet/minecraft/class_1000;field_12206:Lnet/minecraft/class_2921;named ITEMLnet/minecraft/entity/thrown/PotionEntity;ITEM:Lnet/minecraft/entity/data/TrackedData;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official eLaal;e:Lorg/apache/logging/log4j/Logger;intermediary field_12207Lnet/minecraft/class_1000;field_12207:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/entity/thrown/PotionEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
-
Constructor Details
-
PotionEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrw;<init>(Laid;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
PotionEntity
- Mappings:
Namespace Name Mixin selector official <init>Laal;<init>(Laid;Lsf;Ladz;)Vintermediary <init>Lnet/minecraft/class_1000;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed <init>Lnet/minecraft/entity/thrown/PotionEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
PotionEntity
- Mappings:
Namespace Name Mixin selector official <init>Laal;<init>(Laid;DDDLadz;)Vintermediary <init>Lnet/minecraft/class_1000;<init>(Lnet/minecraft/class_1150;DDDLnet/minecraft/class_1071;)Vnamed <init>Lnet/minecraft/entity/thrown/PotionEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classThrowableEntity- Mappings:
Namespace Name Mixin selector official iLrw;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getItem
- Mappings:
Namespace Name Mixin selector official lLaal;l()Ladz;intermediary method_11317Lnet/minecraft/class_1000;method_11317()Lnet/minecraft/class_1071;named getItemLnet/minecraft/entity/thrown/PotionEntity;getItem()Lnet/minecraft/item/ItemStack;
-
setItem
- Mappings:
Namespace Name Mixin selector official aLaal;a(Ladz;)Vintermediary method_11315Lnet/minecraft/class_1000;method_11315(Lnet/minecraft/class_1071;)Vnamed setItemLnet/minecraft/entity/thrown/PotionEntity;setItem(Lnet/minecraft/item/ItemStack;)V
-
getGravity
protected float getGravity()- Overrides:
getGravityin classThrowableEntity- Mappings:
Namespace Name Mixin selector official jLaah;j()Fintermediary method_3236Lnet/minecraft/class_996;method_3236()Fnamed getGravityLnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
-
onCollision
- Specified by:
onCollisionin classThrowableEntity- Mappings:
Namespace Name Mixin selector official aLaah;a(Lbbz;)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
-
isLingering
private boolean isLingering()- Mappings:
Namespace Name Mixin selector official nLaal;n()Zintermediary method_11318Lnet/minecraft/class_1000;method_11318()Znamed isLingeringLnet/minecraft/entity/thrown/PotionEntity;isLingering()Z
-
method_11316
- Mappings:
Namespace Name Mixin selector official aLaal;a(Lcm;)Vintermediary method_11316Lnet/minecraft/class_1000;method_11316(Lnet/minecraft/class_2552;)Vnamed method_11316Lnet/minecraft/entity/thrown/PotionEntity;method_11316(Lnet/minecraft/util/math/BlockPos;)V
-
method_13299
- Mappings:
Namespace Name Mixin selector official aLaal;a(Lpd;)Vintermediary method_13299Lnet/minecraft/class_1000;method_13299(Lnet/minecraft/class_2934;)Vnamed method_13299Lnet/minecraft/entity/thrown/PotionEntity;method_13299(Lnet/minecraft/class_2934;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classThrowableEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(Ldr;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classThrowableEntity- Mappings:
Namespace Name Mixin selector official bLrw;b(Ldr;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-