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 ahvintermediary net/minecraft/class_1000named net/minecraft/entity/thrown/PotionEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.thrown.ThrowableEntity
inGround, shakeFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, 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
ConstructorsConstructorDescriptionPotionEntity(World world) PotionEntity(World world, double x, double y, double z, int id) PotionEntity(World world, double x, double y, double z, ItemStack stack) PotionEntity(World world, LivingEntity entity, int id) PotionEntity(World world, LivingEntity entity, ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptionprotected floatprotected floatprotected floatintprotected voidonCollision(BlockHitResult result) voidvoidsetPotionValue(int int2) voidMethods inherited from class net.minecraft.entity.thrown.ThrowableEntity
getOwner, initDataTracker, setVelocity, setVelocityClient, shouldRender, tickMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fall, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, kill, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setWorld, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
stack
- Mappings:
Namespace Name Mixin selector official cLahv;c:Lamj;intermediary field_5405Lnet/minecraft/class_1000;field_5405:Lnet/minecraft/class_1071;named stackLnet/minecraft/entity/thrown/PotionEntity;stack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
PotionEntity
- Mappings:
Namespace Name Mixin selector official <init>Lwv;<init>(Laqu;)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>Lahv;<init>(Laqu;Lxm;I)Vintermediary <init>Lnet/minecraft/class_1000;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;I)Vnamed <init>Lnet/minecraft/entity/thrown/PotionEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
-
PotionEntity
- Mappings:
Namespace Name Mixin selector official <init>Lahv;<init>(Laqu;Lxm;Lamj;)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>Lahv;<init>(Laqu;DDDI)Vintermediary <init>Lnet/minecraft/class_1000;<init>(Lnet/minecraft/class_1150;DDDI)Vnamed <init>Lnet/minecraft/entity/thrown/PotionEntity;<init>(Lnet/minecraft/world/World;DDDI)V
-
PotionEntity
- Mappings:
Namespace Name Mixin selector official <init>Lahv;<init>(Laqu;DDDLamj;)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
-
getGravity
protected float getGravity()- Overrides:
getGravityin classThrowableEntity- Mappings:
Namespace Name Mixin selector official mLahr;m()Fintermediary method_3236Lnet/minecraft/class_996;method_3236()Fnamed getGravityLnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
-
method_3234
protected float method_3234()- Overrides:
method_3234in classThrowableEntity- Mappings:
Namespace Name Mixin selector official jLahr;j()Fintermediary method_3234Lnet/minecraft/class_996;method_3234()Fnamed method_3234Lnet/minecraft/entity/thrown/ThrowableEntity;method_3234()F
-
method_3235
protected float method_3235()- Overrides:
method_3235in classThrowableEntity- Mappings:
Namespace Name Mixin selector official lLahr;l()Fintermediary method_3235Lnet/minecraft/class_996;method_3235()Fnamed method_3235Lnet/minecraft/entity/thrown/ThrowableEntity;method_3235()F
-
setPotionValue
public void setPotionValue(int int2) - Mappings:
Namespace Name Mixin selector official aLahv;a(I)Vintermediary method_4586Lnet/minecraft/class_1000;method_4586(I)Vnamed setPotionValueLnet/minecraft/entity/thrown/PotionEntity;setPotionValue(I)V
-
method_3237
public int method_3237()- Mappings:
Namespace Name Mixin selector official oLahv;o()Iintermediary method_3237Lnet/minecraft/class_1000;method_3237()Inamed method_3237Lnet/minecraft/entity/thrown/PotionEntity;method_3237()I
-
onCollision
- Specified by:
onCollisionin classThrowableEntity- Mappings:
Namespace Name Mixin selector official aLahr;a(Lbru;)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
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classThrowableEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(Lfn;)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 bLwv;b(Lfn;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-