Package net.minecraft.entity
Class FireworkEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.FireworkEntity
- All Implemented Interfaces:
CommandSource
public class FireworkEntity extends Entity
- Mappings:
Namespace Name official wtintermediary net/minecraft/class_1970named net/minecraft/entity/FireworkEntity
-
Field Summary
Fields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description FireworkEntity(World world)FireworkEntity(World world, double double2, double double3, double double4, ItemStack itemStack) -
Method Summary
Modifier and Type Method Description voiddeserialize(CompoundTag tag)voidhandleStatus(byte status)protected voidinitDataTracker()booleanisAttackable()intmethod_6998(float float2)floatmethod_7008(float float2)voidserialize(CompoundTag tag)voidsetVelocityClient(double x, double y, double z)booleanshouldRender(double distance)voidtick()Methods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, updateTrackedPositionAndAngles, writePlayerData
-
Field Details
-
life
private int life- Mappings:
Namespace Name Mixin selector official aLwt;a:Iintermediary field_8415Lnet/minecraft/class_1970;field_8415:Inamed lifeLnet/minecraft/entity/FireworkEntity;life:I
-
lifeTime
private int lifeTime- Mappings:
Namespace Name Mixin selector official bLwt;b:Iintermediary field_8416Lnet/minecraft/class_1970;field_8416:Inamed lifeTimeLnet/minecraft/entity/FireworkEntity;lifeTime:I
-
-
Constructor Details
-
FireworkEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
FireworkEntity
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(D)Zintermediary method_6917Lnet/minecraft/class_1745;method_6917(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(DDD)Vintermediary method_7048Lnet/minecraft/class_1745;method_7048(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
handleStatus
- Overrides:
handleStatusin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(B)Vintermediary method_6916Lnet/minecraft/class_1745;method_6916(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
serialize
-
deserialize
- Specified by:
deserializein classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
method_7008
public float method_7008(float float2)- Overrides:
method_7008in classEntity- Mappings:
Namespace Name Mixin selector official cLpk;c(F)Fintermediary method_7008Lnet/minecraft/class_1745;method_7008(F)Fnamed method_7008Lnet/minecraft/entity/Entity;method_7008(F)F
-
method_6998
- Overrides:
method_6998in classEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(F)Iintermediary method_6998Lnet/minecraft/class_1745;method_6998(F)Inamed method_6998Lnet/minecraft/entity/Entity;method_6998(F)I
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official aDLpk;aD()Zintermediary method_6951Lnet/minecraft/class_1745;method_6951()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-