Package net.minecraft.entity.projectile
Class ShulkerBulletEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.ShulkerBulletEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bkdintermediary net/minecraft/class_1678named net/minecraft/entity/projectile/ShulkerBulletEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static doubleprivate intprivate doubleprivate doubleprivate doubleFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionShulkerBulletEntity(EntityType<? extends ShulkerBulletEntity> type, World world)ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidbooleancollides()booleandamage(DamageSource source, float amount)floatprotected voidbooleanisOnFire()private voidmethod_7486(Direction.Axis axis)protected voidonBlockHit(BlockHitResult blockHitResult)protected voidonCollision(HitResult hitResult)protected voidonEntityHit(EntityHitResult entityHitResult)voidonSpawnPacket(EntitySpawnS2CPacket packet)protected voidprivate voidsetDirection(@Nullable Direction direction)booleanshouldRender(double distance)voidtick()protected voidMethods inherited from class net.minecraft.entity.projectile.ProjectileEntity
createSpawnPacket, getOwner, isOwner, setOwner, setProperties, setVelocity, setVelocityClient, updateRotation, updateRotationMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandItemSlot, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_30951, method_36209, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
method_36320
-
Field Details
-
field_30666
private static final double field_30666- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLbkd;b:Dintermediary field_30666Lnet/minecraft/class_1678;field_30666:Dnamed field_30666Lnet/minecraft/entity/projectile/ShulkerBulletEntity;field_30666:D
-
target
- Mappings:
Namespace Name Mixin selector official cLbkd;c:Laso;intermediary field_7626Lnet/minecraft/class_1678;field_7626:Lnet/minecraft/class_1297;named targetLnet/minecraft/entity/projectile/ShulkerBulletEntity;target:Lnet/minecraft/entity/Entity;
-
direction
- Mappings:
Namespace Name Mixin selector official dLbkd;d:Lgg;intermediary field_7628Lnet/minecraft/class_1678;field_7628:Lnet/minecraft/class_2350;named directionLnet/minecraft/entity/projectile/ShulkerBulletEntity;direction:Lnet/minecraft/util/math/Direction;
-
stepCount
private int stepCount- Mappings:
Namespace Name Mixin selector official eLbkd;e:Iintermediary field_7627Lnet/minecraft/class_1678;field_7627:Inamed stepCountLnet/minecraft/entity/projectile/ShulkerBulletEntity;stepCount:I
-
targetX
private double targetX- Mappings:
Namespace Name Mixin selector official fLbkd;f:Dintermediary field_7635Lnet/minecraft/class_1678;field_7635:Dnamed targetXLnet/minecraft/entity/projectile/ShulkerBulletEntity;targetX:D
-
targetY
private double targetY- Mappings:
Namespace Name Mixin selector official arLbkd;ar:Dintermediary field_7633Lnet/minecraft/class_1678;field_7633:Dnamed targetYLnet/minecraft/entity/projectile/ShulkerBulletEntity;targetY:D
-
targetZ
private double targetZ- Mappings:
Namespace Name Mixin selector official asLbkd;as:Dintermediary field_7625Lnet/minecraft/class_1678;field_7625:Dnamed targetZLnet/minecraft/entity/projectile/ShulkerBulletEntity;targetZ:D
-
targetUuid
- Mappings:
Namespace Name Mixin selector official atLbkd;at:Ljava/util/UUID;intermediary field_7632Lnet/minecraft/class_1678;field_7632:Ljava/util/UUID;named targetUuidLnet/minecraft/entity/projectile/ShulkerBulletEntity;targetUuid:Ljava/util/UUID;
-
-
Constructor Details
-
ShulkerBulletEntity
- Mappings:
Namespace Name Mixin selector official <init>Laso;<init>(Lass;Lbvx;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ShulkerBulletEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbkd;<init>(Lbvx;Latb;Laso;Lgg$a;)Vintermediary <init>Lnet/minecraft/class_1678;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350$class_2351;)Vnamed <init>Lnet/minecraft/entity/projectile/ShulkerBulletEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Direction$Axis;)V
-
-
Method Details
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official cGLaso;cG()Laex;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classProjectileEntity- Mappings:
Namespace Name Mixin selector official bLaso;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official fLaso;f()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getDirection
- Mappings:
Namespace Name Mixin selector official hLbkd;h()Lgg;intermediary method_35208Lnet/minecraft/class_1678;method_35208()Lnet/minecraft/class_2350;named getDirectionLnet/minecraft/entity/projectile/ShulkerBulletEntity;getDirection()Lnet/minecraft/util/math/Direction;
-
setDirection
- Mappings:
Namespace Name Mixin selector official aLbkd;a(Lgg;)Vintermediary method_7487Lnet/minecraft/class_1678;method_7487(Lnet/minecraft/class_2350;)Vnamed setDirectionLnet/minecraft/entity/projectile/ShulkerBulletEntity;setDirection(Lnet/minecraft/util/math/Direction;)V
-
method_7486
- Mappings:
Namespace Name Mixin selector official aLbkd;a(Lgg$a;)Vintermediary method_7486Lnet/minecraft/class_1678;method_7486(Lnet/minecraft/class_2350$class_2351;)Vnamed method_7486Lnet/minecraft/entity/projectile/ShulkerBulletEntity;method_7486(Lnet/minecraft/util/math/Direction$Axis;)V
-
checkDespawn
public void checkDespawn()- Overrides:
checkDespawnin classEntity- Mappings:
Namespace Name Mixin selector official daLaso;da()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
tick
public void tick()- Overrides:
tickin classProjectileEntity- Mappings:
Namespace Name Mixin selector official kLaso;k()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
canHit
- Overrides:
canHitin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkb;a(Laso;)Zintermediary method_26958Lnet/minecraft/class_1676;method_26958(Lnet/minecraft/class_1297;)Znamed canHitLnet/minecraft/entity/projectile/ProjectileEntity;canHit(Lnet/minecraft/entity/Entity;)Z
-
isOnFire
public boolean isOnFire() -
shouldRender
public boolean shouldRender(double distance)- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
getBrightnessAtEyes
public float getBrightnessAtEyes()- Overrides:
getBrightnessAtEyesin classEntity- Mappings:
Namespace Name Mixin selector official aWLaso;aW()Fintermediary method_5718Lnet/minecraft/class_1297;method_5718()Fnamed getBrightnessAtEyesLnet/minecraft/entity/Entity;getBrightnessAtEyes()F
-
onEntityHit
- Overrides:
onEntityHitin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkb;a(Ldly;)Vintermediary method_7454Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)Vnamed onEntityHitLnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
-
onBlockHit
- Overrides:
onBlockHitin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkb;a(Ldlx;)Vintermediary method_24920Lnet/minecraft/class_1676;method_24920(Lnet/minecraft/class_3965;)Vnamed onBlockHitLnet/minecraft/entity/projectile/ProjectileEntity;onBlockHit(Lnet/minecraft/util/hit/BlockHitResult;)V
-
onCollision
- Overrides:
onCollisionin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkb;a(Ldlz;)Vintermediary method_7488Lnet/minecraft/class_1676;method_7488(Lnet/minecraft/class_239;)Vnamed onCollisionLnet/minecraft/entity/projectile/ProjectileEntity;onCollision(Lnet/minecraft/util/hit/HitResult;)V
-
collides
public boolean collides() -
damage
-
onSpawnPacket
- Overrides:
onSpawnPacketin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(Lpj;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vnamed onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-