Class SnowballEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.thrown.SnowballEntity
- Mappings:
Namespace Name intermediary net/minecraft/class_484glue class_52server beclient bynamed net/minecraft/entity/projectile/thrown/SnowballEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate intprivate booleanprivate LivingEntityprivate intintFields inherited from class net.minecraft.entity.Entity
age, air, blocksSameBlockSpawning, boundingBox, cameraOffset, capeUrl, chunkSlice, chunkX, chunkZ, dataTracker, dead, fallDistance, field_1643, fireImmune, fireImmunityTicks, fireTicks, hasCollided, hearts, height, horizontalCollision, horizontalSpeed, id, ignoreFrustumCull, isPersistent, keepVelocityOnCollision, lastTickX, lastTickY, lastTickZ, maxAir, minBrightness, noClip, onGround, passenger, pitch, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, renderDistanceMultiplier, skinUrl, slowed, standingEyeHeight, stepHeight, submergedInWater, trackedPosX, trackedPosY, trackedPosZ, vehicle, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionSnowballEntity(World world) SnowballEntity(World world, double x, double y, double z) SnowballEntity(World world, LivingEntity owner) -
Method Summary
Modifier and TypeMethodDescriptionfloatprotected voidvoidonPlayerInteraction(PlayerEntity player) voidreadNbt(NbtCompound nbt) voidsetVelocity(double x, double y, double z, float speed, float divergence) voidsetVelocityClient(double x, double y, double z) booleanshouldRender(double distance) voidtick()voidwriteNbt(NbtCompound nbt) Methods inherited from class net.minecraft.entity.Entity
addVelocity, animateHurt, baseTick, bypassesSteppingEffects, changeLookDirection, damage, damage, dropItem, dropItem, dropItem, equals, fall, getBoundingBox, getBrightnessAtEyes, getDataTracker, getDistance, getDistance, getEntitiesInside, getEquipment, getEyeHeight, getFlag, getPassengerRidingHeight, getRegistryEntry, getSquaredDistance, getSquaredDistance, getStandingEyeHeight, getTargetingMargin, getTexture, hashCode, hasVehicle, interact, isAlive, isCollidable, isInFluid, isInsideWall, isOnFire, isPushable, isSneaking, isSubmergedInWater, isTouchingLava, isWet, markDead, method_1320, method_1361, method_1367, method_1379, method_1388, method_1391, method_1393, move, moveNonSolid, onCollision, onKilledOther, onLanding, onStruckByLightning, processServerEntityStatus, pushOutOfBlock, read, saveSelfNbt, scheduleVelocityUpdate, setBoundingBoxSpacing, setFlag, setOnFire, setPos, setPositionAndAngles, setPositionAndAnglesAvoidEntities, setPositionAndAnglesKeepPrevAngles, setRotation, setSneaking, setVehicle, setWorld, teleportTop, tickInVoid, tickRiding, toNbtList, toNbtList, updateCapeUrl, updatePassengerPosition, write
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector intermediary field_1991Lnet/minecraft/class_484;field_1991:Iglue field_104Lclass_52;field_104:Iserver bLbe;b:Iclient bLby;b:Inamed blockXLnet/minecraft/entity/projectile/thrown/SnowballEntity;blockX:I
-
blockY
private int blockY- Mappings:
Namespace Name Mixin selector intermediary field_1992Lnet/minecraft/class_484;field_1992:Iglue field_105Lclass_52;field_105:Iserver cLbe;c:Iclient cLby;c:Inamed blockYLnet/minecraft/entity/projectile/thrown/SnowballEntity;blockY:I
-
blockZ
private int blockZ- Mappings:
Namespace Name Mixin selector intermediary field_1993Lnet/minecraft/class_484;field_1993:Iglue field_106Lclass_52;field_106:Iserver dLbe;d:Iclient dLby;d:Inamed blockZLnet/minecraft/entity/projectile/thrown/SnowballEntity;blockZ:I
-
blockId
private int blockId- Mappings:
Namespace Name Mixin selector intermediary field_1994Lnet/minecraft/class_484;field_1994:Iglue field_107Lclass_52;field_107:Iserver eLbe;e:Iclient eLby;e:Inamed blockIdLnet/minecraft/entity/projectile/thrown/SnowballEntity;blockId:I
-
inGround
private boolean inGround- Mappings:
Namespace Name Mixin selector intermediary field_1995Lnet/minecraft/class_484;field_1995:Zglue field_108Lclass_52;field_108:Zserver fLbe;f:Zclient fLby;f:Znamed inGroundLnet/minecraft/entity/projectile/thrown/SnowballEntity;inGround:Z
-
shake
public int shake- Mappings:
Namespace Name Mixin selector intermediary field_1990Lnet/minecraft/class_484;field_1990:Iglue field_103Lclass_52;field_103:Iserver aLbe;a:Iclient aLby;a:Inamed shakeLnet/minecraft/entity/projectile/thrown/SnowballEntity;shake:I
-
owner
- Mappings:
Namespace Name Mixin selector intermediary field_1996Lnet/minecraft/class_484;field_1996:Lnet/minecraft/class_127;glue field_109Lclass_52;field_109:Lclass_283;server gLbe;g:Lhl;client gLby;g:Lls;named ownerLnet/minecraft/entity/projectile/thrown/SnowballEntity;owner:Lnet/minecraft/entity/LivingEntity;
-
removalTimer
private int removalTimer- Mappings:
Namespace Name Mixin selector intermediary field_1997Lnet/minecraft/class_484;field_1997:Iglue field_110Lclass_52;field_110:Iserver hLbe;h:Iclient hLby;h:Inamed removalTimerLnet/minecraft/entity/projectile/thrown/SnowballEntity;removalTimer:I
-
inAirTime
private int inAirTime- Mappings:
Namespace Name Mixin selector intermediary field_1998Lnet/minecraft/class_484;field_1998:Iglue field_111Lclass_52;field_111:Iserver iLbe;i:Iclient iLby;i:Inamed inAirTimeLnet/minecraft/entity/projectile/thrown/SnowballEntity;inAirTime:I
-
-
Constructor Details
-
SnowballEntity
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_57;<init>(Lnet/minecraft/class_18;)Vglue <init>Lclass_450;<init>(Lclass_129;)Vserver <init>Llq;<init>(Ldj;)Vclient <init>Lsn;<init>(Lfd;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
SnowballEntity
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_484;<init>(Lnet/minecraft/class_18;Lnet/minecraft/class_127;)Vglue <init>Lclass_52;<init>(Lclass_129;Lclass_283;)Vserver <init>Lbe;<init>(Ldj;Lhl;)Vclient <init>Lby;<init>(Lfd;Lls;)Vnamed <init>Lnet/minecraft/entity/projectile/thrown/SnowballEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
-
SnowballEntity
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_484;<init>(Lnet/minecraft/class_18;DDD)Vglue <init>Lclass_52;<init>(Lclass_129;DDD)Vserver <init>Lbe;<init>(Ldj;DDD)Vclient <init>Lby;<init>(Lfd;DDD)Vnamed <init>Lnet/minecraft/entity/projectile/thrown/SnowballEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1310Lnet/minecraft/class_57;method_1310()Vglue method_108Lclass_450;method_108()Vserver bLlq;b()Vclient bLsn;b()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1364Lnet/minecraft/class_57;method_1364(D)Zglue method_235Lclass_450;method_235(D)Zserver method_1364Llq;method_1364(D)Zclient aLsn;a(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence) - Mappings:
Namespace Name Mixin selector intermediary method_1656Lnet/minecraft/class_484;method_1656(DDDFF)Vglue method_171Lclass_52;method_171(DDDFF)Vserver aLbe;a(DDDFF)Vclient aLby;a(DDDFF)Vnamed setVelocityLnet/minecraft/entity/projectile/thrown/SnowballEntity;setVelocity(DDDFF)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1365Lnet/minecraft/class_57;method_1365(DDD)Vglue method_236Lclass_450;method_236(DDD)Vserver method_1365Llq;method_1365(DDD)Vclient aLsn;a(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
writeNbt
- Specified by:
writeNbtin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1368Lnet/minecraft/class_57;method_1368(Lnet/minecraft/class_8;)Vglue method_24Lclass_450;method_24(Lclass_333;)Vserver bLlq;b(Liq;)Vclient bLsn;b(Lnu;)Vnamed writeNbtLnet/minecraft/entity/Entity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readNbt
- Specified by:
readNbtin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1363Lnet/minecraft/class_57;method_1363(Lnet/minecraft/class_8;)Vglue method_23Lclass_450;method_23(Lclass_333;)Vserver aLlq;a(Liq;)Vclient aLsn;a(Lnu;)Vnamed readNbtLnet/minecraft/entity/Entity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
onPlayerInteraction
- Overrides:
onPlayerInteractionin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1354Lnet/minecraft/class_57;method_1354(Lnet/minecraft/class_54;)Vglue method_172Lclass_450;method_172(Lclass_172;)Vserver bLlq;b(Lem;)Vclient bLsn;b(Lgs;)Vnamed onPlayerInteractionLnet/minecraft/entity/Entity;onPlayerInteraction(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getShadowRadius
- Overrides:
getShadowRadiusin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1366Lnet/minecraft/class_57;method_1366()Fglue method_237Lclass_450;method_237()Fserver method_1366Llq;method_1366()Fclient x_Lsn;x_()Fnamed getShadowRadiusLnet/minecraft/entity/Entity;getShadowRadius()F
-