Package net.minecraft.entity.projectile
Class LlamaSpitEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.LlamaSpitEntity
- All Implemented Interfaces:
CommandSource,Projectile
- Mappings:
Namespace Name official abiintermediary net/minecraft/class_3053named net/minecraft/entity/projectile/LlamaSpitEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, 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
ConstructorsConstructorDescriptionLlamaSpitEntity(World world) LlamaSpitEntity(World world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) LlamaSpitEntity(World world, LlamaEntity owner) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidonHit(BlockHitResult result) private Entityprotected voidprivate voidvoidsetVelocity(double x, double y, double z, float speed, float divergence) voidsetVelocityClient(double x, double y, double z) voidtick()protected voidMethods 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, getBurningDuration, 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, interact, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, 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, 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
-
owner
- Mappings:
Namespace Name Mixin selector official aLabi;a:Lxq;intermediary field_15094Lnet/minecraft/class_3053;field_15094:Lnet/minecraft/class_3138;named ownerLnet/minecraft/entity/projectile/LlamaSpitEntity;owner:Lnet/minecraft/entity/LlamaEntity;
-
ownerNbt
- Mappings:
Namespace Name Mixin selector official bLabi;b:Ldu;intermediary field_15095Lnet/minecraft/class_3053;field_15095:Lnet/minecraft/class_322;named ownerNbtLnet/minecraft/entity/projectile/LlamaSpitEntity;ownerNbt:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
LlamaSpitEntity
- Mappings:
Namespace Name Mixin selector official <init>Lsn;<init>(Lajs;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
LlamaSpitEntity
- Mappings:
Namespace Name Mixin selector official <init>Labi;<init>(Lajs;Lxq;)Vintermediary <init>Lnet/minecraft/class_3053;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_3138;)Vnamed <init>Lnet/minecraft/entity/projectile/LlamaSpitEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LlamaEntity;)V
-
LlamaSpitEntity
@Environment(CLIENT) public LlamaSpitEntity(World world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector official <init>Labi;<init>(Lajs;DDDDDD)Vintermediary <init>Lnet/minecraft/class_3053;<init>(Lnet/minecraft/class_1150;DDDDDD)Vnamed <init>Lnet/minecraft/entity/projectile/LlamaSpitEntity;<init>(Lnet/minecraft/world/World;DDDDDD)V
-
-
Method Details
-
tick
public void tick() -
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official hLsn;h(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
rayTrace
- Mappings:
Namespace Name Mixin selector official aLabi;a(Lbdw;Lbdw;)Lsn;intermediary method_13628Lnet/minecraft/class_3053;method_13628(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_864;named rayTraceLnet/minecraft/entity/projectile/LlamaSpitEntity;rayTrace(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity;
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence) - Specified by:
setVelocityin interfaceProjectile- Mappings:
Namespace Name Mixin selector official cLabj;c(DDDFF)Vintermediary method_3233Lnet/minecraft/class_1417;method_3233(DDDFF)Vnamed setVelocityLnet/minecraft/entity/projectile/Projectile;setVelocity(DDDFF)V
-
onHit
- Mappings:
Namespace Name Mixin selector official aLabi;a(Lbdu;)Vintermediary method_13627Lnet/minecraft/class_3053;method_13627(Lnet/minecraft/class_234;)Vnamed onHitLnet/minecraft/entity/projectile/LlamaSpitEntity;onHit(Lnet/minecraft/util/hit/BlockHitResult;)V
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLsn;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Ldu;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLsn;b(Ldu;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setOwnerFromNbt
private void setOwnerFromNbt()- Mappings:
Namespace Name Mixin selector official jLabi;j()Vintermediary method_13629Lnet/minecraft/class_3053;method_13629()Vnamed setOwnerFromNbtLnet/minecraft/entity/projectile/LlamaSpitEntity;setOwnerFromNbt()V
-