public class EntityRedstoneGrenade
extends net.minecraft.entity.projectile.ThrowableEntity
implements net.minecraft.entity.IRendersAsItem
ItemRedstoneGrenade.addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collidedHorizontally, collidedVertically, dataManager, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesFluidLevel, eyesInWater, fallDistance, field_241335_O_, field_242271_ac, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, stepHeight, ticksExisted, velocityChanged, world| Constructor and Description |
|---|
EntityRedstoneGrenade(net.minecraft.entity.EntityType<? extends EntityRedstoneGrenade> type,
net.minecraft.world.World world) |
EntityRedstoneGrenade(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.network.IPacket<?> |
createSpawnPacket() |
net.minecraft.item.ItemStack |
getItem() |
protected void |
onImpact(net.minecraft.util.math.RayTraceResult pos) |
protected void |
registerData() |
getGravityVelocity, isInRangeToRenderDist, tickfunc_230298_a_, func_230299_a_, func_234612_a_, func_234614_e_, func_234616_v_, func_234617_x_, onEntityHit, readAdditional, setShooter, setVelocity, shoot, writeAdditionaladdPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, attackEntityFrom, awardKillScore, baseTick, calculateUpVector, canBeAttackedWithItem, canBeCollidedWith, canBePushed, canBeRidden, canBeRiddenInWater, canCollide, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, decrementTimeUntilPortal, detach, determineNextStepDistance, dismount, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceFireTicks, forceSetPosition, func_230268_c_, func_233559_a_, func_233566_aG_, func_233571_b_, func_233577_ch_, func_233578_ci_, func_233579_cu_, func_241205_ce_, func_241829_a, func_241830_a, func_241839_a, func_241841_a, func_241842_k, func_241845_aY, func_241847_a, func_242274_V, func_242277_a, func_242278_a, func_242279_ag, func_242280_ah, func_242281_f, func_242282_l, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLeashPosition, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getSelfAndPassengers, getServer, getSize, getSoundCategory, getSpeedFactor, getSplashSound, getStateBelow, getSwimSound, getTags, getTeam, getTeamColor, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, getYaw, getYOffset, handleFluidAcceleration, handlePistonMovement, handleRunningEffect, handleStatusUpdate, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isActualySwimming, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isEntityInRange, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnGround, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, lookAt, makeFlySound, markVelocityChanged, maybeBackOffFromEdge, move, moveForced, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onLivingFall, onRemovedFromWorld, outOfWorld, performHurtAnimation, pick, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDead, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInvisible, setInvulnerable, setItemStackToSlot, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setOnGround, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndRotationDirect, setPositionAndUpdate, setRawPosition, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, shouldSpawnRunningEffects, startRiding, startRiding, stopRiding, teleportKeepLoaded, toString, updateFallState, updatePassenger, updatePortal, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic EntityRedstoneGrenade(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entity)
public EntityRedstoneGrenade(net.minecraft.entity.EntityType<? extends EntityRedstoneGrenade> type, net.minecraft.world.World world)
@Nonnull public net.minecraft.network.IPacket<?> createSpawnPacket()
createSpawnPacket in class net.minecraft.entity.projectile.ThrowableEntityprotected void onImpact(net.minecraft.util.math.RayTraceResult pos)
onImpact in class net.minecraft.entity.projectile.ProjectileEntityprotected void registerData()
registerData in class net.minecraft.entity.Entitypublic net.minecraft.item.ItemStack getItem()
getItem in interface net.minecraft.entity.IRendersAsItem