Uses of Class
net.minecraft.world.entity.Entity
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Entity in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionEntitySubPredicates.EntityHolderVariantPredicateType.getter
EntitySubPredicates.EntityVariantPredicateType.getter
Modifier and TypeMethodDescriptionstatic LootContext
EntityPredicate.createContext
(ServerPlayer p_36617_, Entity p_36618_) static CompoundTag
NbtPredicate.getEntityTagToCompare
(Entity p_57486_) boolean
boolean
boolean
EntityPredicate.matches
(ServerLevel p_36608_, Vec3 p_36609_, Entity p_36610_) boolean
EntityPredicate.matches
(ServerPlayer p_36612_, Entity p_36613_) boolean
EntitySubPredicate.matches
(Entity p_218828_, ServerLevel p_218829_, Vec3 p_218830_) boolean
EntitySubPredicates.EntityHolderVariantPredicateType.Instance.matches
(Entity p_335756_, ServerLevel p_335539_, Vec3 p_336193_) boolean
EntitySubPredicates.EntityVariantPredicateType.Instance.matches
(Entity p_334092_, ServerLevel p_333810_, Vec3 p_333907_) boolean
FishingHookPredicate.matches
(Entity p_219716_, ServerLevel p_219717_, Vec3 p_219718_) boolean
LightningBoltPredicate.matches
(Entity p_299034_, ServerLevel p_299101_, Vec3 p_298929_) boolean
boolean
boolean
PlayerPredicate.matches
(Entity p_222484_, ServerLevel p_222485_, Vec3 p_222486_) boolean
RaiderPredicate.matches
(Entity p_338232_, ServerLevel p_338194_, Vec3 p_338564_) boolean
SlimePredicate.matches
(Entity p_223423_, ServerLevel p_223424_, Vec3 p_223425_) boolean
private static boolean
SlotsPredicate.matchSlots
(Entity p_332687_, ItemPredicate p_332814_, it.unimi.dsi.fastutil.ints.IntList p_332676_) void
EffectsChangedTrigger.trigger
(ServerPlayer p_149263_, Entity p_149264_) void
FallAfterExplosionTrigger.trigger
(ServerPlayer p_335648_, Vec3 p_336086_, Entity p_336120_) void
KilledTrigger.trigger
(ServerPlayer p_48105_, Entity p_48106_, DamageSource p_48107_) void
PickedUpItemTrigger.trigger
(ServerPlayer p_221299_, ItemStack p_221300_, Entity p_221301_) void
PlayerHurtEntityTrigger.trigger
(ServerPlayer p_60113_, Entity p_60114_, DamageSource p_60115_, float p_60116_, float p_60117_, boolean p_60118_) void
PlayerInteractTrigger.trigger
(ServerPlayer p_61495_, ItemStack p_61496_, Entity p_61497_) void
SummonedEntityTrigger.trigger
(ServerPlayer p_68257_, Entity p_68258_) void
TargetBlockTrigger.trigger
(ServerPlayer p_70212_, Entity p_70213_, Vec3 p_70214_, int p_70215_) Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicates.EntityHolderVariantPredicateType
<V> EntitySubPredicates.EntityHolderVariantPredicateType.create
(ResourceKey<? extends Registry<V>> p_335749_, Function<Entity, Optional<Holder<V>>> p_336155_) static <V> EntitySubPredicates.EntityVariantPredicateType
<V> EntitySubPredicates.EntityVariantPredicateType.create
(com.mojang.serialization.Codec<V> p_333837_, Function<Entity, Optional<V>> p_334017_) static <V> EntitySubPredicates.EntityVariantPredicateType
<V> EntitySubPredicates.EntityVariantPredicateType.create
(Registry<V> p_333921_, Function<Entity, Optional<V>> p_334088_) void
ChanneledLightningTrigger.trigger
(ServerPlayer p_21722_, Collection<? extends Entity> p_21723_) void
KilledByCrossbowTrigger.trigger
(ServerPlayer p_46872_, Collection<Entity> p_46873_) void
LightningStrikeTrigger.trigger
(ServerPlayer p_153392_, LightningBolt p_153393_, List<Entity> p_153394_) ModifierConstructorDescriptionEntityHolderVariantPredicateType
(ResourceKey<? extends Registry<V>> p_336141_, Function<Entity, Optional<Holder<V>>> p_336167_) EntityVariantPredicateType
(com.mojang.serialization.Codec<V> p_333738_, Function<Entity, Optional<V>> p_333805_) -
Uses of Entity in net.minecraft.client
Modifier and TypeFieldDescriptionMinecraft.cameraEntity
Minecraft.crosshairPickEntity
private Entity
Camera.entity
Modifier and TypeMethodDescriptionvoid
Minecraft.setCameraEntity
(Entity p_91119_) void
Camera.setup
(BlockGetter p_90576_, Entity p_90577_, boolean p_90578_, boolean p_90579_, float p_90580_) boolean
Minecraft.shouldEntityAppearGlowing
(Entity p_91315_) -
Uses of Entity in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate void
Gui.renderVignette
(GuiGraphics p_283063_, Entity p_283439_) private void
Gui.updateVignetteBrightness
(Entity p_93021_) -
Uses of Entity in net.minecraft.client.model
Modifier and TypeClassDescriptionclass
AgeableHierarchicalModel<E extends Entity>
class
AgeableListModel<E extends Entity>
class
BlazeModel<T extends Entity>
class
ChickenModel<T extends Entity>
class
class
ColorableAgeableListModel<E extends Entity>
class
ColorableHierarchicalModel<E extends Entity>
class
class
CreeperModel<T extends Entity>
class
DolphinModel<T extends Entity>
class
EndermiteModel<T extends Entity>
class
EntityModel<T extends Entity>
class
EvokerFangsModel<T extends Entity>
class
GhastModel<T extends Entity>
class
HierarchicalModel<E extends Entity>
class
LeashKnotModel<T extends Entity>
class
class
LlamaSpitModel<T extends Entity>
class
MinecartModel<T extends Entity>
class
OcelotModel<T extends Entity>
class
class
PufferfishBigModel<T extends Entity>
class
PufferfishMidModel<T extends Entity>
class
PufferfishSmallModel<T extends Entity>
class
QuadrupedModel<T extends Entity>
class
SalmonModel<T extends Entity>
class
ShulkerBulletModel<T extends Entity>
class
SilverfishModel<T extends Entity>
class
SlimeModel<T extends Entity>
class
SnowGolemModel<T extends Entity>
class
SpiderModel<T extends Entity>
class
SquidModel<T extends Entity>
class
TropicalFishModelA<T extends Entity>
class
TropicalFishModelB<T extends Entity>
class
VillagerModel<T extends Entity>
class
WitchModel<T extends Entity>
-
Uses of Entity in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final TransientEntitySectionManager
<Entity> ClientLevel.entityStorage
Modifier and TypeMethodDescriptionprivate Entity
ClientPacketListener.createEntityFromPacket
(ClientboundAddEntityPacket p_302232_) ClientLevel.getEntity
(int p_104609_) Modifier and TypeMethodDescriptionClientLevel.entitiesForRendering()
protected LevelEntityGetter
<Entity> ClientLevel.getEntities()
Modifier and TypeMethodDescriptionvoid
void
MultiPlayerGameMode.interact
(Player p_105227_, Entity p_105228_, InteractionHand p_105229_) MultiPlayerGameMode.interactAt
(Player p_105231_, Entity p_105232_, EntityHitResult p_105233_, InteractionHand p_105234_) void
void
ClientLevel.EntityCallbacks.onDestroyed
(Entity p_171700_) void
ClientLevel.EntityCallbacks.onSectionChange
(Entity p_233660_) void
ClientLevel.EntityCallbacks.onTickingEnd
(Entity p_171708_) void
ClientLevel.EntityCallbacks.onTickingStart
(Entity p_171704_) void
ClientLevel.EntityCallbacks.onTrackingEnd
(Entity p_171716_) void
ClientLevel.EntityCallbacks.onTrackingStart
(Entity p_171712_) void
ClientLevel.playLocalSound
(Entity p_312749_, SoundEvent p_312635_, SoundSource p_312007_, float p_312298_, float p_312772_) void
ClientLevel.playSeededSound
(Player p_263514_, Entity p_263536_, Holder<SoundEvent> p_263518_, SoundSource p_263487_, float p_263538_, float p_263524_, long p_263509_) private void
ClientPacketListener.postAddEntitySoundInstance
(Entity p_233664_) boolean
ClientLevel.shouldTickDeath
(Entity p_194185_) void
ClientLevel.tickNonPassenger
(Entity p_104640_) private void
ClientLevel.tickPassenger
(Entity p_104642_, Entity p_104643_) -
Uses of Entity in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate final Entity
TrackingEmitter.entity
private final Entity
ItemPickupParticle.itemEntity
private final Entity
ItemPickupParticle.target
Modifier and TypeMethodDescriptionprivate Entity
ItemPickupParticle.getSafeCopy
(Entity p_107037_) Modifier and TypeMethodDescriptionvoid
ParticleEngine.createTrackingEmitter
(Entity p_107330_, ParticleOptions p_107331_) void
ParticleEngine.createTrackingEmitter
(Entity p_107333_, ParticleOptions p_107334_, int p_107335_) private Entity
ItemPickupParticle.getSafeCopy
(Entity p_107037_) ModifierConstructorDescriptionItemPickupParticle
(EntityRenderDispatcher p_107023_, RenderBuffers p_107024_, ClientLevel p_107025_, Entity p_107026_, Entity p_107027_) private
ItemPickupParticle
(EntityRenderDispatcher p_107029_, RenderBuffers p_107030_, ClientLevel p_107031_, Entity p_107032_, Entity p_107033_, Vec3 p_107034_) TrackingEmitter
(ClientLevel p_108390_, Entity p_108391_, ParticleOptions p_108392_) TrackingEmitter
(ClientLevel p_108394_, Entity p_108395_, ParticleOptions p_108396_, int p_108397_) private
TrackingEmitter
(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_) -
Uses of Entity in net.minecraft.client.player
Modifier and TypeMethodDescriptionvoid
void
boolean
LocalPlayer.startRiding
(Entity p_108667_, boolean p_108668_) private boolean
LocalPlayer.vehicleCanSprint
(Entity p_265184_) -
Uses of Entity in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
GameRenderer.checkEntityPostEffect
(Entity p_109107_) private static FogRenderer.MobEffectFogFunction
FogRenderer.getPriorityFogFunction
(Entity p_234166_, float p_234167_) private HitResult
private void
LevelRenderer.renderEntity
(Entity p_109518_, double p_109519_, double p_109520_, double p_109521_, float p_109522_, PoseStack p_109523_, MultiBufferSource p_109524_) private void
LevelRenderer.renderHitOutline
(PoseStack p_109638_, VertexConsumer p_109639_, Entity p_109640_, double p_109641_, double p_109642_, double p_109643_, BlockPos p_109644_, BlockState p_109645_) -
Uses of Entity in net.minecraft.client.renderer.blockentity
Modifier and TypeMethodDescriptionstatic void
SpawnerRenderer.renderEntityInSpawner
(float p_311943_, PoseStack p_312805_, MultiBufferSource p_312394_, int p_311996_, Entity p_312223_, EntityRenderDispatcher p_312703_, double p_312192_, double p_312929_) -
Uses of Entity in net.minecraft.client.renderer.debug
Modifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity
(Entity p_113449_, int p_113450_) Modifier and TypeMethodDescriptionprivate void
SupportBlockRenderer.drawHighlights
(PoseStack p_286525_, MultiBufferSource p_286495_, double p_286696_, double p_286417_, double p_286386_, Entity p_286273_, DoubleSupplier p_286458_, float p_286487_, float p_286710_, float p_286793_) private double
DebugRenderer.getTargetedEntity
(Entity p_113449_, int p_113450_) -
Uses of Entity in net.minecraft.client.renderer.entity
Modifier and TypeClassDescriptionclass
EntityRenderer<T extends Entity>
interface
EntityRendererProvider<T extends Entity>
class
NoopRenderer<T extends Entity>
interface
RenderLayerParent<T extends Entity,
M extends EntityModel<T>> class
ThrownItemRenderer<T extends Entity & ItemSupplier>
Modifier and TypeMethodDescription<E extends Entity>
intEntityRenderDispatcher.getPackedLightCoords
(E p_114395_, float p_114396_) <T extends Entity>
EntityRenderer<? super T> EntityRenderDispatcher.getRenderer
(T p_114383_) static <T extends Entity>
voidEntityRenderers.register
(EntityType<? extends T> p_174037_, EntityRendererProvider<T> p_174038_) <E extends Entity>
voidEntityRenderDispatcher.render
(E p_114385_, double p_114386_, double p_114387_, double p_114388_, float p_114389_, float p_114390_, PoseStack p_114391_, MultiBufferSource p_114392_, int p_114393_) private <E extends Entity>
voidEntityRenderer.renderLeash
(T p_352225_, float p_352465_, PoseStack p_352205_, MultiBufferSource p_352444_, E p_352269_) <E extends Entity>
booleanEntityRenderDispatcher.shouldRender
(E p_114398_, Frustum p_114399_, double p_114400_, double p_114401_, double p_114402_) Modifier and TypeMethodDescriptionprivate static Entity
EntityRenderDispatcher.getServerSideEntity
(Entity p_353043_) Modifier and TypeMethodDescriptiondouble
EntityRenderDispatcher.distanceToSqr
(Entity p_114472_) private static Entity
EntityRenderDispatcher.getServerSideEntity
(Entity p_353043_) ThrownItemRenderer.getTextureLocation
(Entity p_116083_) void
private void
EntityRenderDispatcher.renderFlame
(PoseStack p_114454_, MultiBufferSource p_114455_, Entity p_114456_, org.joml.Quaternionf p_304964_) private static void
EntityRenderDispatcher.renderHitbox
(PoseStack p_114442_, VertexConsumer p_114443_, Entity p_114444_, float p_114445_, float p_353064_, float p_353059_, float p_353042_) private static void
EntityRenderDispatcher.renderServerSideHitbox
(PoseStack p_353069_, Entity p_353061_, MultiBufferSource p_353074_) private static void
EntityRenderDispatcher.renderShadow
(PoseStack p_114458_, MultiBufferSource p_114459_, Entity p_114460_, float p_114461_, float p_114462_, LevelReader p_114463_, float p_114464_) -
Uses of Entity in net.minecraft.client.renderer.entity.layers
Modifier and TypeClassDescriptionclass
EnergySwirlLayer<T extends Entity & PowerableMob,
M extends EntityModel<T>> class
EyesLayer<T extends Entity,
M extends EntityModel<T>> class
RenderLayer<T extends Entity,
M extends EntityModel<T>> class
SaddleLayer<T extends Entity & Saddleable,
M extends EntityModel<T>> class
SpiderEyesLayer<T extends Entity,
M extends SpiderModel<T>> Modifier and TypeMethodDescriptionprotected void
ArrowLayer.renderStuckItem
(PoseStack p_116569_, MultiBufferSource p_116570_, int p_116571_, Entity p_116572_, float p_116573_, float p_116574_, float p_116575_, float p_116576_) protected void
BeeStingerLayer.renderStuckItem
(PoseStack p_116584_, MultiBufferSource p_116585_, int p_116586_, Entity p_116587_, float p_116588_, float p_116589_, float p_116590_, float p_116591_) protected abstract void
StuckInBodyLayer.renderStuckItem
(PoseStack p_117566_, MultiBufferSource p_117567_, int p_117568_, Entity p_117569_, float p_117570_, float p_117571_, float p_117572_, float p_117573_) -
Uses of Entity in net.minecraft.client.renderer.item
Modifier and TypeMethodDescriptionprivate double
CompassItemPropertyFunction.getAngleFromEntityToPos
(Entity p_234949_, BlockPos p_234950_) private float
CompassItemPropertyFunction.getCompassRotation
(ItemStack p_234955_, ClientLevel p_234956_, int p_234957_, Entity p_234958_) CompassItemPropertyFunction.CompassTarget.getPos
(ClientLevel p_234965_, ItemStack p_234966_, Entity p_234967_) private float
CompassItemPropertyFunction.getRotationTowardsCompassTarget
(Entity p_234942_, long p_234943_, BlockPos p_234944_) private double
CompassItemPropertyFunction.getWrappedVisualRotationY
(Entity p_234940_) private boolean
CompassItemPropertyFunction.isValidCompassTargetPos
(Entity p_234952_, GlobalPos p_234953_) private ClientLevel
CompassItemPropertyFunction.tryFetchLevelIfMissing
(Entity p_234946_, ClientLevel p_234947_) -
Uses of Entity in net.minecraft.client.resources.sounds
ModifierConstructorDescriptionEntityBoundSoundInstance
(SoundEvent p_235080_, SoundSource p_235081_, float p_235082_, float p_235083_, Entity p_235084_, long p_235085_) -
Uses of Entity in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.getEntity()
CommandSourceStack.getEntityOrException()
Modifier and TypeMethodDescriptionCommandSourceStack.facing
(Entity p_81332_, EntityAnchorArgument.Anchor p_81333_) CommandSourceStack.withEntity
(Entity p_81330_) ModifierConstructorDescriptionCommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of Entity in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final BiFunction
<Vec3, Entity, Vec3> EntityAnchorArgument.Anchor.transform
Modifier and TypeMethodDescriptionstatic Entity
EntityArgument.getEntity
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91453_, String p_91454_) Modifier and TypeMethodDescriptionstatic Collection
<? extends Entity> EntityArgument.getEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91462_, String p_91463_) static Collection
<? extends Entity> EntityArgument.getOptionalEntities
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91468_, String p_91469_) -
Uses of Entity in net.minecraft.commands.arguments.selector
Modifier and TypeFieldDescriptionprivate static final EntityTypeTest
<Entity, ?> EntitySelector.ANY_TYPE
EntitySelector.contextFreePredicates
private final BiConsumer
<Vec3, List<? extends Entity>> EntitySelector.order
private BiConsumer
<Vec3, List<? extends Entity>> EntitySelectorParser.order
static final BiConsumer
<Vec3, List<? extends Entity>> EntitySelector.ORDER_ARBITRARY
static final BiConsumer
<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_FURTHEST
static final BiConsumer
<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_NEAREST
static final BiConsumer
<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_RANDOM
EntitySelectorParser.predicates
private final EntityTypeTest
<Entity, ?> EntitySelector.type
Modifier and TypeMethodDescriptionEntitySelectorParser.createRotationPredicate
(WrappedMinMaxBounds p_121255_, ToDoubleFunction<Entity> p_121256_) EntitySelector.findEntities
(CommandSourceStack p_121161_) BiConsumer
<Vec3, List<? extends Entity>> EntitySelectorParser.getOrder()
EntitySelector.getPredicate
(Vec3 p_121145_, AABB p_352908_, FeatureFlagSet p_352911_) Modifier and TypeMethodDescriptionprivate void
EntitySelector.addEntities
(List<Entity> p_121155_, ServerLevel p_121156_, AABB p_352947_, Predicate<Entity> p_121158_) private void
EntitySelector.addEntities
(List<Entity> p_121155_, ServerLevel p_121156_, AABB p_352947_, Predicate<Entity> p_121158_) void
EntitySelectorParser.addPredicate
(Predicate<Entity> p_121273_) EntitySelectorParser.createRotationPredicate
(WrappedMinMaxBounds p_121255_, ToDoubleFunction<Entity> p_121256_) static Component
void
EntitySelectorParser.setOrder
(BiConsumer<Vec3, List<? extends Entity>> p_121269_) ModifierConstructorDescriptionEntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, List<Predicate<Entity>> p_352913_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_) EntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, List<Predicate<Entity>> p_352913_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_) -
Uses of Entity in net.minecraft.core
Modifier and TypeMethodDescriptionstatic Direction
Direction.getFacingAxis
(Entity p_175358_, Direction.Axis p_175359_) static Direction[]
Direction.orderedByNearest
(Entity p_122383_) -
Uses of Entity in net.minecraft.gametest.framework
Modifier and TypeMethodDescription<E extends Entity,
T>
voidGameTestHelper.assertEntityData
(BlockPos p_177238_, EntityType<E> p_177239_, Function<? super E, T> p_177240_, T p_177241_) <E extends Entity & InventoryCarrier>
voidGameTestHelper.assertEntityInventoryContains
(BlockPos p_263495_, EntityType<E> p_263521_, Item p_263502_) <E extends Entity,
T>
voidGameTestHelper.assertEntityProperty
(E p_177148_, Function<E, T> p_177149_, String p_177150_, T p_177151_) <E extends Entity>
voidGameTestHelper.assertEntityProperty
(E p_177153_, Predicate<E> p_177154_, String p_177155_) <E extends Entity>
EGameTestHelper.findClosestEntity
(EntityType<E> p_320915_, int p_320152_, int p_319868_, int p_319912_, double p_320874_) GameTestHelper.findEntities
(EntityType<E> p_320065_, int p_320533_, int p_320279_, int p_320721_, double p_320280_) GameTestHelper.findEntities
(EntityType<E> p_320878_, Vec3 p_320734_, double p_320825_) <E extends Entity>
EGameTestHelper.findOneEntity
(EntityType<E> p_320756_) GameTestHelper.getEntities
(EntityType<T> p_320029_) GameTestHelper.getEntities
(EntityType<T> p_238400_, BlockPos p_238401_, double p_238402_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177164_, float p_177165_, float p_177166_, float p_177167_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177169_, int p_177170_, int p_177171_, int p_177172_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177177_, BlockPos p_177178_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177174_, Vec3 p_177175_) <E extends Entity,
T>
voidGameTestHelper.succeedWhenEntityData
(BlockPos p_177350_, EntityType<E> p_177351_, Function<E, T> p_177352_, T p_177353_) Modifier and TypeMethodDescriptionvoid
GameTestHelper.assertEntityInstancePresent
(Entity p_177133_, int p_177134_, int p_177135_, int p_177136_) void
GameTestHelper.assertEntityInstancePresent
(Entity p_177141_, BlockPos p_177142_) void
GameTestHelper.assertEntityPosition
(Entity p_353077_, AABB p_353054_, String p_353075_) void
StructureUtils.lookedAtStructureBlockPos
(BlockPos p_320206_, Entity p_320494_, ServerLevel p_320139_) -
Uses of Entity in net.minecraft.network.chat
Modifier and TypeMethodDescriptionstatic ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241279_, Entity p_241483_) default MutableComponent
ComponentContents.resolve
(CommandSourceStack p_237126_, Entity p_237127_, int p_237128_) private static Style
ComponentUtils.resolveStyle
(CommandSourceStack p_130737_, Style p_130738_, Entity p_130739_, int p_130740_) static Optional
<MutableComponent> ComponentUtils.updateForEntity
(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_) static MutableComponent
ComponentUtils.updateForEntity
(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) -
Uses of Entity in net.minecraft.network.chat.contents
Modifier and TypeMethodDescriptionNbtContents.resolve
(CommandSourceStack p_237401_, Entity p_237402_, int p_237403_) ScoreContents.resolve
(CommandSourceStack p_237444_, Entity p_237445_, int p_237446_) SelectorContents.resolve
(CommandSourceStack p_237468_, Entity p_237469_, int p_237470_) TranslatableContents.resolve
(CommandSourceStack p_237512_, Entity p_237513_, int p_237514_) -
Uses of Entity in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionServerboundTeleportToEntityPacket.getEntity
(ServerLevel p_134682_) ServerboundInteractPacket.getTarget
(ServerLevel p_179604_) Modifier and TypeMethodDescriptionstatic ServerboundInteractPacket
ServerboundInteractPacket.createAttackPacket
(Entity p_179606_, boolean p_179607_) static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity p_179609_, boolean p_179610_, InteractionHand p_179611_) static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity p_179613_, boolean p_179614_, InteractionHand p_179615_, Vec3 p_179616_) static String
DebugEntityNameGenerator.getEntityName
(Entity p_179487_) ModifierConstructorDescriptionClientboundAddEntityPacket
(Entity p_237558_, int p_237559_, BlockPos p_237560_) ClientboundAddEntityPacket
(Entity p_131483_, ServerEntity p_352367_) ClientboundAddEntityPacket
(Entity p_131481_, ServerEntity p_352292_, int p_352422_) ClientboundAnimatePacket
(Entity p_131616_, int p_131617_) ClientboundDamageEventPacket
(Entity p_270474_, DamageSource p_270781_) ClientboundEntityEventPacket
(Entity p_132092_, byte p_132093_) ClientboundMoveVehiclePacket
(Entity p_132584_) ClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor p_132782_, Entity p_132783_, EntityAnchorArgument.Anchor p_132784_) ClientboundRotateHeadPacket
(Entity p_132967_, byte p_132968_) ClientboundSetCameraPacket
(Entity p_133058_) ClientboundSetEntityLinkPacket
(Entity p_133164_, Entity p_133165_) ClientboundSetEntityMotionPacket
(Entity p_133185_) ClientboundSetPassengersPacket
(Entity p_133276_) ClientboundSoundEntityPacket
(Holder<SoundEvent> p_263513_, SoundSource p_263511_, Entity p_263496_, float p_263519_, float p_263523_, long p_263532_) ClientboundTeleportEntityPacket
(Entity p_133538_) ServerboundMoveVehiclePacket
(Entity p_134192_) ServerboundPlayerCommandPacket
(Entity p_134306_, ServerboundPlayerCommandPacket.Action p_134307_) ServerboundPlayerCommandPacket
(Entity p_134309_, ServerboundPlayerCommandPacket.Action p_134310_, int p_134311_) -
Uses of Entity in net.minecraft.server.commands
Modifier and TypeFieldDescriptionprivate final Entity
TeleportCommand.LookAtEntity.entity
The field for theentity
record component.Modifier and TypeMethodDescriptionstatic Entity
SummonCommand.createEntity
(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) TeleportCommand.LookAtEntity.entity()
Returns the value of theentity
record component.Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSourceStack p_136470_, Entity p_136471_, Holder<Attribute> p_251636_, ResourceLocation p_350414_, double p_136475_, AttributeModifier.Operation p_136476_) private static int
DamageCommand.damage
(CommandSourceStack p_270409_, Entity p_270496_, float p_270836_, DamageSource p_270727_) private static int
RideCommand.dismount
(CommandSourceStack p_265724_, Entity p_265678_) private static int
LootCommand.dropKillLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137906_, Entity p_137907_, LootCommand.DropConsumer p_137908_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180258_, Entity p_180259_, int p_180260_, BlockPos p_180261_, int p_180262_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, Holder<LootItemFunction> p_335965_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, Holder<LootItemFunction> p_335469_) private static int
AttributeCommand.getAttributeBase
(CommandSourceStack p_248780_, Entity p_251083_, Holder<Attribute> p_250388_, double p_250194_) private static AttributeInstance
AttributeCommand.getAttributeInstance
(Entity p_252177_, Holder<Attribute> p_249942_) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack p_136464_, Entity p_136465_, Holder<Attribute> p_250680_, ResourceLocation p_350277_, double p_136468_) private static int
AttributeCommand.getAttributeValue
(CommandSourceStack p_251776_, Entity p_249647_, Holder<Attribute> p_250986_, double p_251395_) private static ItemStack
ItemCommands.getEntityItem
(Entity p_180246_, int p_180247_) private static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_252105_, Holder<Attribute> p_248921_) private static LivingEntity
AttributeCommand.getLivingEntity
(Entity p_136440_) private static int
RideCommand.mount
(CommandSourceStack p_265285_, Entity p_265711_, Entity p_265339_) void
TeleportCommand.LookAt.perform
(CommandSourceStack p_139061_, Entity p_139062_) void
TeleportCommand.LookAtEntity.perform
(CommandSourceStack p_326864_, Entity p_326807_) void
TeleportCommand.LookAtPosition.perform
(CommandSourceStack p_326870_, Entity p_326894_) private static void
TeleportCommand.performTeleport
(CommandSourceStack p_139015_, Entity p_139016_, ServerLevel p_139017_, double p_139018_, double p_139019_, double p_139020_, Set<RelativeMovement> p_139021_, float p_139022_, float p_139023_, TeleportCommand.LookAt p_139024_) private static int
AttributeCommand.removeModifier
(CommandSourceStack p_136459_, Entity p_136460_, Holder<Attribute> p_250830_, ResourceLocation p_350686_) private static void
TeamMsgCommand.sendMessage
(CommandSourceStack p_248778_, Entity p_248891_, PlayerTeam p_250504_, List<ServerPlayer> p_249706_, PlayerChatMessage p_249707_) private static int
AttributeCommand.setAttributeBase
(CommandSourceStack p_248556_, Entity p_248620_, Holder<Attribute> p_249456_, double p_252212_) private static void
LootCommand.setSlots
(Entity p_137889_, List<ItemStack> p_137890_, int p_137891_, int p_137892_, List<ItemStack> p_137893_) private static int
SpectateCommand.spectate
(CommandSourceStack p_138684_, Entity p_138685_, ServerPlayer p_138686_) private static int
TeleportCommand.teleportToEntity
(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_) Modifier and TypeMethodDescriptionprivate static int
TagCommand.addTag
(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180315_, BlockPos p_180316_, int p_180317_, Collection<? extends Entity> p_180318_, int p_180319_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, Holder<LootItemFunction> p_336168_) private static int
EffectCommands.clearEffect
(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static int
EffectCommands.clearEffects
(CommandSourceStack p_136960_, Collection<? extends Entity> p_136961_) private static int
ExecuteCommand.countItems
(Iterable<? extends Entity> p_332642_, SlotRange p_332729_, Predicate<ItemStack> p_332803_) private static int
EnchantCommand.enchant
(CommandSourceStack p_249815_, Collection<? extends Entity> p_248848_, Holder<Enchantment> p_251252_, int p_249941_) private static int
LootCommand.entityReplace
(Collection<? extends Entity> p_137979_, int p_137980_, int p_137981_, List<ItemStack> p_137982_, LootCommand.Callback p_137983_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, Holder<LootItemFunction> p_335469_) private static com.mojang.brigadier.RedirectModifier
<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation
(Function<Entity, Stream<Entity>> p_265496_) private static com.mojang.brigadier.RedirectModifier
<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation
(Function<Entity, Stream<Entity>> p_265496_) private static com.mojang.brigadier.RedirectModifier
<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation
(Function<Entity, Optional<Entity>> p_265114_) private static com.mojang.brigadier.RedirectModifier
<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation
(Function<Entity, Optional<Entity>> p_265114_) private static int
SpreadPlayersCommand.getNumberOfTeams
(Collection<? extends Entity> p_138728_) private static Collection
<String> TagCommand.getTags
(Collection<? extends Entity> p_138853_) private static int
EffectCommands.giveEffect
(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_) private static int
KillCommand.kill
(CommandSourceStack p_137814_, Collection<? extends Entity> p_137815_) private static int
TagCommand.listTags
(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_) private static int
ItemCommands.modifyEntityItem
(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, Holder<LootItemFunction> p_335904_) private static int
TagCommand.removeTag
(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) private static int
ItemCommands.setEntityItem
(CommandSourceStack p_180332_, Collection<? extends Entity> p_180333_, int p_180334_, ItemStack p_180335_) private static double
SpreadPlayersCommand.setPlayerPositions
(Collection<? extends Entity> p_138730_, ServerLevel p_138731_, SpreadPlayersCommand.Position[] p_138732_, int p_138733_, boolean p_138734_) private static int
SpreadPlayersCommand.spreadPlayers
(CommandSourceStack p_138703_, Vec2 p_138704_, float p_138705_, float p_138706_, int p_138707_, boolean p_138708_, Collection<? extends Entity> p_138709_) private static int
TeleportCommand.teleportToEntity
(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_) private static int
TeleportCommand.teleportToPos
(CommandSourceStack p_139026_, Collection<? extends Entity> p_139027_, ServerLevel p_139028_, Coordinates p_139029_, Coordinates p_139030_, TeleportCommand.LookAt p_139031_) ModifierConstructorDescription(package private)
LookAtEntity
(Entity entity, EntityAnchorArgument.Anchor anchor) Creates an instance of aLookAtEntity
record class. -
Uses of Entity in net.minecraft.server.commands.data
-
Uses of Entity in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate Entity
ServerPlayer.camera
(package private) final Entity
ChunkMap.TrackedEntity.entity
private final Entity
ServerEntity.entity
Modifier and TypeFieldDescriptionprivate final PersistentEntitySectionManager
<Entity> ServerLevel.entityManager
ServerEntity.lastPassengers
Modifier and TypeMethodDescriptionServerLevel.getEntities
(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) <T extends Entity>
voidServerLevel.getEntities
(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) <T extends Entity>
voidServerLevel.getEntities
(EntityTypeTest<Entity, T> p_261842_, Predicate<? super T> p_262091_, List<? super T> p_261703_, int p_261907_) WorldGenRegion.getEntities
(EntityTypeTest<Entity, T> p_143494_, AABB p_143495_, Predicate<? super T> p_143496_) Modifier and TypeMethodDescriptionServerPlayer.changeDimension
(DimensionTransition p_350472_) ServerPlayer.getCamera()
ServerLevel.getEntity
(int p_8597_) ServerLevel.getEntityOrPart
(int p_143318_) Deprecated.Modifier and TypeMethodDescriptionServerLevel.getAllEntities()
ServerLevel.getEntities()
WorldGenRegion.getEntities
(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_) ServerEntity.removedPassengers
(List<Entity> p_277592_, List<Entity> p_277658_) Modifier and TypeMethodDescriptionvoid
ServerLevel.addDuringTeleport
(Entity p_143335_) protected void
void
private boolean
boolean
ServerLevel.addFreshEntity
(Entity p_8837_) boolean
WorldGenRegion.addFreshEntity
(Entity p_9580_) boolean
ServerLevel.addWithUUID
(Entity p_8848_) void
void
ServerPlayer.awardKillScore
(Entity p_9050_, int p_9051_, DamageSource p_9052_) void
void
protected void
ChunkMap.broadcastAndSend
(Entity p_140334_, Packet<?> p_140335_) void
ServerChunkCache.broadcastAndSend
(Entity p_8395_, Packet<?> p_8396_) void
ServerLevel.broadcastDamageEvent
(Entity p_270420_, DamageSource p_270311_) void
ServerLevel.broadcastEntityEvent
(Entity p_8650_, byte p_8651_) void
boolean
WorldGenRegion.destroyBlock
(BlockPos p_9550_, boolean p_9551_, Entity p_9552_, int p_9553_) private static double
ChunkMap.euclideanDistanceSquared
(ChunkPos p_140227_, Entity p_140228_) ServerLevel.explode
(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_, ParticleOptions p_312436_, ParticleOptions p_312391_, Holder<SoundEvent> p_320497_) protected float
ServerPlayer.getEnchantedDamage
(Entity p_346252_, float p_346142_, DamageSource p_345841_) WorldGenRegion.getEntities
(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_) void
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor p_9108_, Entity p_9109_, EntityAnchorArgument.Anchor p_9110_) void
void
void
ServerLevel.EntityCallbacks.onDestroyed
(Entity p_143359_) protected void
ServerPlayer.onEffectAdded
(MobEffectInstance p_143393_, Entity p_143394_) protected void
ServerPlayer.onEffectUpdated
(MobEffectInstance p_143396_, boolean p_143397_, Entity p_143398_) void
ServerPlayer.onExplosionHit
(Entity p_326351_) void
ServerLevel.onReputationEvent
(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_) void
ServerLevel.EntityCallbacks.onSectionChange
(Entity p_215086_) void
ServerLevel.EntityCallbacks.onTickingEnd
(Entity p_143367_) void
ServerLevel.EntityCallbacks.onTickingStart
(Entity p_143363_) void
ServerLevel.EntityCallbacks.onTrackingEnd
(Entity p_143375_) void
ServerLevel.EntityCallbacks.onTrackingStart
(Entity p_143371_) void
ServerLevel.playSeededSound
(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) protected void
ChunkMap.removeEntity
(Entity p_140332_) void
ServerChunkCache.removeEntity
(Entity p_8444_) void
private boolean
ServerLevel.shouldDiscardEntity
(Entity p_143343_) boolean
ServerPlayer.startRiding
(Entity p_277395_, boolean p_278062_) void
void
ServerLevel.tickNonPassenger
(Entity p_8648_) private void
ServerLevel.tickPassenger
(Entity p_8663_, Entity p_8664_) boolean
ServerLevel.tryAddFreshEntityWithPassengers
(Entity p_8861_) Modifier and TypeMethodDescriptionvoid
ServerLevel.addLegacyChunkEntities
(Stream<Entity> p_143312_) void
ServerLevel.addWorldGenChunkEntities
(Stream<Entity> p_143328_) private static void
ServerLevel.dumpEntities
(Writer p_8782_, Iterable<Entity> p_8783_) ServerLevel.getEntities
(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) <T extends Entity>
voidServerLevel.getEntities
(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) <T extends Entity>
voidServerLevel.getEntities
(EntityTypeTest<Entity, T> p_261842_, Predicate<? super T> p_262091_, List<? super T> p_261703_, int p_261907_) WorldGenRegion.getEntities
(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_) WorldGenRegion.getEntities
(EntityTypeTest<Entity, T> p_143494_, AABB p_143495_, Predicate<? super T> p_143496_) WorldGenRegion.getNearestPlayer
(double p_9501_, double p_9502_, double p_9503_, double p_9504_, Predicate<Entity> p_9505_) ServerEntity.removedPassengers
(List<Entity> p_277592_, List<Entity> p_277658_) ModifierConstructorDescriptionServerEntity
(ServerLevel p_8528_, Entity p_8529_, int p_8530_, boolean p_8531_, Consumer<Packet<?>> p_8532_) TrackedEntity
(Entity p_140478_, int p_140479_, int p_140480_, boolean p_140481_) -
Uses of Entity in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate int
ServerGamePacketListenerImpl.getMaximumFlyingTicks
(Entity p_326388_) private boolean
ServerGamePacketListenerImpl.noBlocksAround
(Entity p_9794_) private void
ServerGamePacketListenerImpl.resyncPlayerWithVehicle
(Entity vehicle) ServerGamePacketListenerImpl.EntityInteraction.run
(ServerPlayer p_143695_, Entity p_143696_, InteractionHand p_143697_) -
Uses of Entity in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
Containers.dropContents
(Level p_18999_, Entity p_19000_, Container p_19001_) boolean
TickRateManager.isEntityFrozen
(Entity p_308960_) -
Uses of Entity in net.minecraft.world.damagesource
Modifier and TypeFieldDescriptionprivate final Entity
DamageSource.causingEntity
private final Entity
DamageSource.directEntity
Modifier and TypeMethodDescriptionDamageSources.arrow
(AbstractArrow p_270570_, Entity p_270857_) DamageSources.fallingBlock
(Entity p_270643_) DamageSources.fallingStalactite
(Entity p_270720_) DamageSources.fireworks
(FireworkRocketEntity p_270571_, Entity p_270768_) private static Component
CombatTracker.getDisplayName
(Entity p_289557_) CombatTracker.getFallMessage
(CombatEntry p_289570_, Entity p_289561_) private Component
CombatTracker.getMessageForAssistedFall
(Entity p_289547_, Component p_289532_, String p_289555_, String p_289548_) DamageSources.indirectMagic
(Entity p_270560_, Entity p_270646_) DamageSources.mobProjectile
(Entity p_270210_, LivingEntity p_270757_) DamageSources.source
(ResourceKey<DamageType> p_270142_, Entity p_270696_) DamageSources.source
(ResourceKey<DamageType> p_270076_, Entity p_270656_, Entity p_270242_) DamageSources.spit
(Entity p_316508_, LivingEntity p_316581_) DamageSources.windCharge
(Entity p_316454_, LivingEntity p_316891_) DamageSources.witherSkull
(WitherSkull p_270367_, Entity p_270887_) ModifierConstructorDescriptionDamageSource
(Holder<DamageType> p_270811_, Entity p_270660_) DamageSource
(Holder<DamageType> p_270818_, Entity p_270162_, Entity p_270115_) DamageSource
(Holder<DamageType> p_270906_, Entity p_270796_, Entity p_270459_, Vec3 p_270623_) -
Uses of Entity in net.minecraft.world.effect
Modifier and TypeMethodDescriptionstatic List
<ServerPlayer> MobEffectUtil.addEffectToPlayersAround
(ServerLevel p_216947_, Entity p_216948_, Vec3 p_216949_, double p_216950_, MobEffectInstance p_216951_, int p_216952_) void
HealOrHarmMobEffect.applyInstantenousEffect
(Entity p_294574_, Entity p_295692_, LivingEntity p_296483_, int p_296095_, double p_295178_) void
MobEffect.applyInstantenousEffect
(Entity p_19462_, Entity p_19463_, LivingEntity p_19464_, int p_19465_, double p_19466_) -
Uses of Entity in net.minecraft.world.entity
Modifier and TypeClassDescriptionclass
EntityType<T extends Entity>
static class
EntityType.Builder<T extends Entity>
static interface
EntityType.EntityFactory<T extends Entity>
static interface
SpawnPlacements.SpawnPredicate<T extends Entity>
Modifier and TypeClassDescriptionclass
class
class
static class
static class
static class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionEntitySelector.CAN_BE_COLLIDED_WITH
EntitySelector.CONTAINER_ENTITY_SELECTOR
EntitySelector.ENTITY_NOT_BEING_RIDDEN
EntitySelector.ENTITY_STILL_ALIVE
LightningBolt.hitEntities
EntitySelector.LIVING_ENTITY_STILL_ALIVE
EntitySelector.NO_CREATIVE_OR_SPECTATOR
EntitySelector.NO_SPECTATORS
private com.google.common.collect.ImmutableList
<Entity> Entity.passengers
AreaEffectCloud.victims
Modifier and TypeMethodDescriptionEntityType.appendCustomEntityStackConfig
(Consumer<T> p_263579_, ServerLevel p_263571_, ItemStack p_263582_, Player p_263574_) EntityType.appendCustomNameConfig
(Consumer<T> p_263567_, ItemStack p_263564_) EntityType.appendDefaultStackConfig
(Consumer<T> p_265154_, ServerLevel p_265733_, ItemStack p_265598_, Player p_265666_) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules
(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_) EntityType.createDefaultStackConfig
(ServerLevel p_263583_, ItemStack p_263568_, Player p_263575_) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.createNothing
(MobCategory p_20711_) Leashable.dropLeash
(E p_352163_, boolean p_352286_, boolean p_352272_) Leashable.getLeashHolder
(E p_352466_) Leashable.legacyElasticRangeLeashBehaviour
(E p_353048_, Entity p_353039_, float p_353053_) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.of
(EntityType.EntityFactory<T> p_20705_, MobCategory p_20706_) private static <T extends Entity>
EntityType<T> EntityType.register
(String p_20635_, EntityType.Builder<T> p_20636_) Leashable.restoreLeashFromSave
(E p_352354_, Leashable.LeashData p_352106_) Leashable.setLeashedTo
(E p_352280_, Entity p_352109_, boolean p_352239_) Leashable.tickLeash
(E p_352082_) Modifier and TypeMethodDescriptionEntity.changeDimension
(DimensionTransition p_350951_) Entity.getControlledVehicle()
Entity.getFirstPassenger()
default Entity
Leashable.getLeashHolder()
Leashable.getLeashHolder
(E p_352466_) TraceableEntity.getOwner()
Entity.getRootVehicle()
Entity.getVehicle()
static Entity
EntityType.loadEntityRecursive
(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) Modifier and TypeMethodDescriptionEntityType.create
(CompoundTag p_20643_, Level p_20644_) EntityType.getBaseClass()
LightningBolt.getHitEntities()
Entity.getIndirectPassengers()
Entity.getIndirectPassengersStream()
Entity.getPassengers()
Entity.getPassengersAndSelf()
Entity.getSelfAndPassengers()
EntityType.loadEntitiesRecursive
(List<? extends Tag> p_147046_, Level p_147047_) EntityType.loadStaticEntity
(CompoundTag p_20670_, Level p_20671_) EntitySelector.pushableBy
(Entity p_20422_) EntitySelector.withinDistance
(double p_20411_, double p_20412_, double p_20413_, double p_20414_) Modifier and TypeMethodDescriptionvoid
boolean
LivingEntity.addEffect
(MobEffectInstance p_147208_, Entity p_147209_) protected void
Entity.addPassenger
(Entity p_20349_) protected void
Marker.addPassenger
(Entity p_270306_) protected void
OminousItemSpawner.addPassenger
(Entity p_338681_) (package private) void
Display.PosRotInterpolationTarget.applyLerpStep
(Entity p_294423_) (package private) void
Display.PosRotInterpolationTarget.applyTargetPosAndRot
(Entity p_294993_) void
Entity.awardKillScore
(Entity p_19953_, int p_19954_, DamageSource p_19955_) protected boolean
Entity.canAddPassenger
(Entity p_20354_) protected boolean
Marker.canAddPassenger
(Entity p_265289_) protected boolean
OminousItemSpawner.canAddPassenger
(Entity p_338282_) boolean
Entity.canCollideWith
(Entity p_20303_) protected boolean
default void
Leashable.closeRangeLeashBehaviour
(Entity p_352073_) void
PathfinderMob.closeRangeLeashBehaviour
(Entity p_352153_) boolean
Entity.closerThan
(Entity p_19951_, double p_19952_) boolean
Entity.closerThan
(Entity p_216993_, double p_216994_, double p_216995_) private static List
<VoxelShape> Entity.collectColliders
(Entity p_344804_, Level p_345583_, List<VoxelShape> p_345198_, AABB p_345837_) static Vec3
Entity.collideBoundingBox
(Entity p_198895_, Vec3 p_198896_, AABB p_198897_, Level p_198898_, List<VoxelShape> p_198899_) void
Entity.copyPosition
(Entity p_20360_) private void
LivingEntity.dismountVehicle
(Entity p_21029_) float
Entity.distanceTo
(Entity p_20271_) double
Entity.distanceToSqr
(Entity p_20281_) boolean
LivingEntity.doHurtTarget
(Entity p_20970_) boolean
Mob.doHurtTarget
(Entity p_21372_) protected void
protected void
LivingEntity.dropExperience
(Entity p_345346_) default void
Leashable.elasticRangeLeashBehaviour
(Entity p_353036_, float p_353047_) void
LivingEntity.forceAddEffect
(MobEffectInstance p_147216_, Entity p_147217_) void
protected static Vec3
Entity.getDefaultPassengerAttachmentPoint
(Entity p_316557_, Entity p_316799_, EntityAttachments p_316167_) final int
LivingEntity.getExperienceReward
(ServerLevel p_345212_, Entity p_345512_) protected float
LivingEntity.getKnockback
(Entity p_344813_, DamageSource p_344976_) protected Vec3
Entity.getPassengerAttachmentPoint
(Entity p_294756_, EntityDimensions p_295396_, float p_296362_) Entity.getPassengerRidingPosition
(Entity p_294938_) LivingEntity.getPassengerRidingPosition
(Entity p_295664_) PortalProcessor.getPortalDestination
(ServerLevel p_350593_, Entity p_350987_) Entity.getVehicleAttachmentPoint
(Entity p_316322_) double
LivingEntity.getVisibilityPercent
(Entity p_20969_) default boolean
Leashable.handleLeashAtDistance
(Entity p_352458_, float p_352101_) boolean
PathfinderMob.handleLeashAtDistance
(Entity p_352071_, float p_352237_) boolean
TamableAnimal.handleLeashAtDistance
(Entity p_352258_, float p_352278_) boolean
Entity.hasIndirectPassenger
(Entity p_20368_) boolean
LivingEntity.hasLineOfSight
(Entity p_147185_) boolean
Entity.hasPassenger
(Entity p_20364_) boolean
boolean
Entity.isAlliedTo
(Entity p_20355_) boolean
TamableAnimal.isAlliedTo
(Entity p_21833_) boolean
Entity.isPassengerOfSameVehicle
(Entity p_20366_) Leashable.legacyElasticRangeLeashBehaviour
(E p_353048_, Entity p_353039_, float p_353053_) void
protected void
LivingEntity.onEffectAdded
(MobEffectInstance p_147190_, Entity p_147191_) protected void
LivingEntity.onEffectUpdated
(MobEffectInstance p_147192_, boolean p_147193_, Entity p_147194_) void
Entity.onExplosionHit
(Entity p_326352_) void
Entity.onPassengerTurned
(Entity p_20320_) void
ReputationEventHandler.onReputationEventFrom
(ReputationEventType p_21712_, Entity p_21713_) final void
Entity.positionRider
(Entity p_20312_) protected void
Entity.positionRider
(Entity p_19957_, Entity.MoveFunction p_19958_) boolean
PortalProcessor.processPortalTeleportation
(ServerLevel p_350279_, Entity p_350646_, boolean p_350822_) void
void
EntitySelector.pushableBy
(Entity p_20422_) protected void
Entity.removePassenger
(Entity p_20352_) void
Entity.restoreFrom
(Entity p_20362_) void
LivingEntity.setLastHurtMob
(Entity p_21336_) Leashable.setLeashedTo
(E p_352280_, Entity p_352109_, boolean p_352239_) default void
Leashable.setLeashedTo
(Entity p_352411_, boolean p_352183_) void
Leashable.LeashData.setLeashHolder
(Entity p_352464_) boolean
Entity.skipAttackInteraction
(Entity p_20357_) boolean
Interaction.skipAttackInteraction
(Entity p_273553_) boolean
Entity.startRiding
(Entity p_20330_) boolean
Entity.startRiding
(Entity p_19966_, boolean p_19967_) boolean
Mob.startRiding
(Entity p_21396_, boolean p_21397_) void
boolean
static void
EntityType.updateCustomEntityTag
(Level p_20621_, Player p_20622_, Entity p_20623_, CustomData p_331752_) Modifier and TypeMethodDescriptionboolean
Entity.hasPassenger
(Predicate<Entity> p_146863_) static Entity
EntityType.loadEntityRecursive
(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) static Entity
EntityType.loadEntityRecursive
(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) -
Uses of Entity in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionprivate static boolean
DismountOrSkipMounting.isVehicleValid
(LivingEntity p_259293_, Entity p_260023_, int p_259048_) AnimalPanic.lookForWater
(BlockGetter p_196642_, Entity p_196643_) static void
BehaviorUtils.setWalkAndLookTargetMemories
(LivingEntity p_22591_, Entity p_22592_, float p_22593_, int p_22594_) Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
BehaviorControl<E> DismountOrSkipMounting.create
(int p_259945_, BiPredicate<E, Entity> p_259837_) static OneShot
<PathfinderMob> SetWalkTargetAwayFrom.entity
(MemoryModuleType<? extends Entity> p_259598_, float p_260183_, int p_260077_, boolean p_259761_) -
Uses of Entity in net.minecraft.world.entity.ai.control
-
Uses of Entity in net.minecraft.world.entity.ai.goal
Modifier and TypeMethodDescriptionprotected BlockPos
PanicGoal.lookForWater
(BlockGetter p_198173_, Entity p_198174_, int p_198175_) -
Uses of Entity in net.minecraft.world.entity.ai.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType
<Entity> MemoryModuleType.RIDE_TARGET
-
Uses of Entity in net.minecraft.world.entity.ai.sensing
-
Uses of Entity in net.minecraft.world.entity.ambient
-
Uses of Entity in net.minecraft.world.entity.animal
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected boolean
boolean
Bee.doHurtTarget
(Entity p_27722_) boolean
IronGolem.doHurtTarget
(Entity p_28837_) boolean
Panda.doHurtTarget
(Entity p_29091_) protected void
protected void
static boolean
Parrot.imitateNearbyMobs
(Level p_29383_, Entity p_29384_) protected void
Chicken.positionRider
(Entity p_289537_, Entity.MoveFunction p_289541_) -
Uses of Entity in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionvoid
Allay.VibrationUser.onReceiveVibration
(ServerLevel p_281422_, BlockPos p_281449_, Holder<GameEvent> p_316630_, Entity p_281794_, Entity p_281864_, float p_281642_) -
Uses of Entity in net.minecraft.world.entity.animal.armadillo
-
Uses of Entity in net.minecraft.world.entity.animal.axolotl
-
Uses of Entity in net.minecraft.world.entity.animal.camel
Modifier and TypeMethodDescriptionprotected boolean
Camel.canAddPassenger
(Entity p_248594_) protected Vec3
Camel.getPassengerAttachmentPoint
(Entity p_295101_, EntityDimensions p_294765_, float p_294716_) boolean
Camel.handleLeashAtDistance
(Entity p_352419_, float p_352358_) -
Uses of Entity in net.minecraft.world.entity.animal.frog
-
Uses of Entity in net.minecraft.world.entity.animal.goat
-
Uses of Entity in net.minecraft.world.entity.animal.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected Vec3
AbstractHorse.getPassengerAttachmentPoint
(Entity p_295612_, EntityDimensions p_296023_, float p_295509_) protected Vec3
Llama.getPassengerAttachmentPoint
(Entity p_294968_, EntityDimensions p_296042_, float p_295134_) boolean
AbstractHorse.handleLeashAtDistance
(Entity p_352072_, float p_352350_) protected void
AbstractHorse.positionRider
(Entity p_289569_, Entity.MoveFunction p_289558_) -
Uses of Entity in net.minecraft.world.entity.animal.sniffer
-
Uses of Entity in net.minecraft.world.entity.boss
-
Uses of Entity in net.minecraft.world.entity.boss.enderdragon
Modifier and TypeMethodDescriptionboolean
EnderDragon.addEffect
(MobEffectInstance p_182394_, Entity p_182395_) protected boolean
-
Uses of Entity in net.minecraft.world.entity.boss.wither
Modifier and TypeMethodDescriptionboolean
WitherBoss.addEffect
(MobEffectInstance p_182397_, Entity p_182398_) protected boolean
-
Uses of Entity in net.minecraft.world.entity.decoration
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected void
abstract void
void
private void
void
void
boolean
ArmorStand.skipAttackInteraction
(Entity p_31687_) boolean
BlockAttachedEntity.skipAttackInteraction
(Entity p_346423_) -
Uses of Entity in net.minecraft.world.entity.item
Modifier and TypeMethodDescriptionFallingBlockEntity.changeDimension
(DimensionTransition p_351015_) ItemEntity.changeDimension
(DimensionTransition p_350598_) PrimedTnt.changeDimension
(DimensionTransition p_353097_) ItemEntity.getOwner()
Modifier and TypeMethodDescriptionvoid
ItemEntity.restoreFrom
(Entity p_305965_) void
PrimedTnt.restoreFrom
(Entity p_306185_) void
ItemEntity.setThrower
(Entity p_306324_) -
Uses of Entity in net.minecraft.world.entity.monster
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected boolean
Strider.canAddPassenger
(Entity p_33950_) boolean
CaveSpider.doHurtTarget
(Entity p_32257_) boolean
Creeper.doHurtTarget
(Entity p_32281_) boolean
Husk.doHurtTarget
(Entity p_32892_) boolean
Ravager.doHurtTarget
(Entity p_33328_) boolean
WitherSkeleton.doHurtTarget
(Entity p_34169_) boolean
Zoglin.doHurtTarget
(Entity p_34207_) boolean
Zombie.doHurtTarget
(Entity p_34276_) protected Vec3
Slime.getPassengerAttachmentPoint
(Entity p_296103_, EntityDimensions p_295741_, float p_295572_) protected Vec3
Strider.getPassengerAttachmentPoint
(Entity p_294748_, EntityDimensions p_295089_, float p_295230_) CaveSpider.getVehicleAttachmentPoint
(Entity p_316479_) Spider.getVehicleAttachmentPoint
(Entity p_316696_) boolean
Ravager.hasLineOfSight
(Entity p_149755_) boolean
AbstractIllager.isAlliedTo
(Entity p_320563_) boolean
Evoker.isAlliedTo
(Entity p_32665_) void
void
void
Vex.restoreFrom
(Entity p_306094_) boolean
Shulker.startRiding
(Entity p_149773_, boolean p_149774_) private void
Ravager.strongKnockback
(Entity p_33340_) (package private) boolean
EnderMan.teleportTowards
(Entity p_32501_) -
Uses of Entity in net.minecraft.world.entity.monster.breeze
-
Uses of Entity in net.minecraft.world.entity.monster.hoglin
-
Uses of Entity in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate Entity
Piglin.getTopPassenger
(Entity p_34731_, int p_34732_) Modifier and TypeMethodDescriptionprivate Entity
Piglin.getTopPassenger
(Entity p_34731_, int p_34732_) boolean
Piglin.startRiding
(Entity p_34701_, boolean p_34702_) private static boolean
PiglinAi.wantsToStopRiding
(Piglin p_34835_, Entity p_34836_) -
Uses of Entity in net.minecraft.world.entity.monster.warden
Modifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.objects.Object2IntMap
<Entity> AngerManagement.angerBySuspect
AngerManagement.filter
AngerManagement.suspects
Modifier and TypeMethodDescriptionstatic void
Warden.applyDarknessAround
(ServerLevel p_219376_, Vec3 p_219377_, Entity p_219378_, int p_219379_) protected boolean
boolean
Warden.canTargetEntity
(Entity p_219386_) void
AngerManagement.clearAnger
(Entity p_219267_) void
Warden.clearAnger
(Entity p_219429_) int
boolean
Warden.doHurtTarget
(Entity p_219472_) protected void
int
AngerManagement.getActiveAnger
(Entity p_219287_) int
AngerManagement.increaseAnger
(Entity p_219269_, int p_219270_) void
Warden.increaseAngerAt
(Entity p_219442_) void
Warden.increaseAngerAt
(Entity p_219388_, int p_219389_, boolean p_219390_) void
Warden.VibrationUser.onReceiveVibration
(ServerLevel p_281325_, BlockPos p_282386_, Holder<GameEvent> p_316139_, Entity p_281438_, Entity p_282582_, float p_283699_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<AngerManagement> void
AngerManagement.tick
(ServerLevel p_219264_, Predicate<Entity> p_219265_) -
Uses of Entity in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionVillagerTrades.DyedArmorForEmeralds.getOffer
(Entity p_219679_, RandomSource p_219680_) VillagerTrades.EmeraldForItems.getOffer
(Entity p_219682_, RandomSource p_219683_) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer
(Entity p_219685_, RandomSource p_219686_) VillagerTrades.EnchantBookForEmeralds.getOffer
(Entity p_219688_, RandomSource p_219689_) VillagerTrades.EnchantedItemForEmeralds.getOffer
(Entity p_219691_, RandomSource p_219692_) VillagerTrades.FailureItemListing.getOffer
(Entity p_302036_, RandomSource p_301986_) VillagerTrades.ItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) VillagerTrades.ItemsAndEmeraldsToItems.getOffer
(Entity p_219696_, RandomSource p_219697_) VillagerTrades.ItemsForEmeralds.getOffer
(Entity p_219699_, RandomSource p_219700_) VillagerTrades.SuspiciousStewForEmerald.getOffer
(Entity p_219702_, RandomSource p_219703_) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer
(Entity p_219705_, RandomSource p_219706_) VillagerTrades.TreasureMapForEmeralds.getOffer
(Entity p_219708_, RandomSource p_219709_) VillagerTrades.TypeSpecificTrade.getOffer
(Entity p_296480_, RandomSource p_295729_) void
Villager.onReputationEventFrom
(ReputationEventType p_35431_, Entity p_35432_) private void
Villager.tellWitnessesThatIWasMurdered
(Entity p_35421_) -
Uses of Entity in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
boolean
Player.canInteractWithEntity
(Entity p_320327_, double p_320632_) void
protected float
Player.getEnchantedDamage
(Entity p_345248_, float p_345836_, DamageSource p_345745_) Player.interactOn
(Entity p_36158_, InteractionHand p_36159_) void
private void
-
Uses of Entity in net.minecraft.world.entity.projectile
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate Entity
Projectile.cachedOwner
private Entity
ShulkerBullet.finalTarget
private Entity
FishingHook.hookedIn
private Entity
Projectile.lastDeflectedBy
Modifier and TypeMethodDescriptionProjectile.getEffectSource()
FishingHook.getHookedIn()
Projectile.getOwner()
Modifier and TypeMethodDescriptionprivate void
ThrownPotion.applySplash
(Iterable<MobEffectInstance> p_330815_, Entity p_37549_) protected boolean
AbstractArrow.canHitEntity
(Entity p_36743_) protected boolean
AbstractHurtingProjectile.canHitEntity
(Entity p_36842_) protected boolean
FishingHook.canHitEntity
(Entity p_37135_) protected boolean
Projectile.canHitEntity
(Entity p_37250_) protected boolean
ShulkerBullet.canHitEntity
(Entity p_37341_) boolean
Projectile.deflect
(ProjectileDeflection p_341900_, Entity p_341912_, Entity p_341932_, boolean p_341948_) void
ProjectileDeflection.deflect
(Projectile p_320311_, Entity p_320130_, RandomSource p_320125_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) private static HitResult
ProjectileUtil.getHitResult
(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_, float p_305813_, ClipContext.Block p_312920_) static HitResult
ProjectileUtil.getHitResultOnMoveVector
(Entity p_278228_, Predicate<Entity> p_278315_) static HitResult
ProjectileUtil.getHitResultOnMoveVector
(Entity p_312047_, Predicate<Entity> p_312251_, ClipContext.Block p_311921_) static HitResult
ProjectileUtil.getHitResultOnViewVector
(Entity p_278281_, Predicate<Entity> p_278306_, double p_278293_) private static boolean
ThrownEnderpearl.isAllowedToTeleportOwner
(Entity p_352055_, Level p_352453_) protected void
AbstractHurtingProjectile.onDeflection
(Entity p_341940_, boolean p_341895_) protected void
Projectile.onDeflection
(Entity p_341918_, boolean p_341907_) protected boolean
protected void
FishingHook.pullEntity
(Entity p_150156_) void
Projectile.restoreFrom
(Entity p_305838_) static void
ProjectileUtil.rotateTowardsMovement
(Entity p_37285_, float p_37286_) private void
FishingHook.setHookedEntity
(Entity p_150158_) void
void
void
void
Projectile.shootFromRotation
(Entity p_37252_, float p_37253_, float p_37254_, float p_37255_, float p_37256_, float p_37257_) Modifier and TypeMethodDescriptionstatic EntityHitResult
ProjectileUtil.getEntityHitResult
(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) private static HitResult
ProjectileUtil.getHitResult
(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_, float p_305813_, ClipContext.Block p_312920_) static HitResult
ProjectileUtil.getHitResultOnMoveVector
(Entity p_278228_, Predicate<Entity> p_278315_) static HitResult
ProjectileUtil.getHitResultOnMoveVector
(Entity p_312047_, Predicate<Entity> p_312251_, ClipContext.Block p_311921_) static HitResult
ProjectileUtil.getHitResultOnViewVector
(Entity p_278281_, Predicate<Entity> p_278306_, double p_278293_) ModifierConstructorDescriptionFireworkRocketEntity
(Level p_37036_, Entity p_37037_, double p_37038_, double p_37039_, double p_37040_, ItemStack p_37041_) FireworkRocketEntity
(Level p_37050_, ItemStack p_37051_, Entity p_37052_, double p_37053_, double p_37054_, double p_37055_, boolean p_37056_) ShulkerBullet
(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_) -
Uses of Entity in net.minecraft.world.entity.projectile.windcharge
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionboolean
AbstractWindCharge.canCollideWith
(Entity p_326023_) protected boolean
AbstractWindCharge.canHitEntity
(Entity p_326159_) boolean
WindCharge.deflect
(ProjectileDeflection p_350880_, Entity p_350728_, Entity p_350716_, boolean p_350553_) ModifierConstructorDescriptionAbstractWindCharge
(EntityType<? extends AbstractWindCharge> p_326427_, Level p_325931_, Entity p_325997_, double p_326275_, double p_325936_, double p_326369_) -
Uses of Entity in net.minecraft.world.entity.raid
-
Uses of Entity in net.minecraft.world.entity.vehicle
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected boolean
Boat.canAddPassenger
(Entity p_38390_) boolean
AbstractMinecart.canCollideWith
(Entity p_38168_) boolean
Boat.canCollideWith
(Entity p_38376_) static boolean
Boat.canVehicleCollide
(Entity p_38324_, Entity p_38325_) default void
ContainerEntity.chestVehicleDestroyed
(DamageSource p_219928_, Level p_219929_, Entity p_219930_) protected void
Boat.clampRotation
(Entity p_38322_) void
Boat.elasticRangeLeashBehaviour
(Entity p_353067_, float p_353071_) protected Vec3
AbstractMinecart.getPassengerAttachmentPoint
(Entity p_294753_, EntityDimensions p_295251_, float p_296054_) protected Vec3
Boat.getPassengerAttachmentPoint
(Entity p_294665_, EntityDimensions p_295933_, float p_295585_) boolean
Boat.hasEnoughSpaceFor
(Entity p_273171_) void
Boat.onPassengerTurned
(Entity p_38383_) protected void
Boat.positionRider
(Entity p_289552_, Entity.MoveFunction p_289571_) void
void
-
Uses of Entity in net.minecraft.world.item
Modifier and TypeMethodDescriptionfloat
Item.getAttackDamageBonus
(Entity p_345249_, float p_336179_, DamageSource p_345403_) float
MaceItem.getAttackDamageBonus
(Entity p_344900_, float p_335575_, DamageSource p_344972_) void
CompassItem.inventoryTick
(ItemStack p_40720_, Level p_40721_, Entity p_40722_, int p_40723_, boolean p_40724_) void
Item.inventoryTick
(ItemStack p_41404_, Level p_41405_, Entity p_41406_, int p_41407_, boolean p_41408_) void
ItemStack.inventoryTick
(Level p_41667_, Entity p_41668_, int p_41669_, boolean p_41670_) void
MapItem.inventoryTick
(ItemStack p_42870_, Level p_42871_, Entity p_42872_, int p_42873_, boolean p_42874_) private static void
private static Predicate
<LivingEntity> MaceItem.knockbackPredicate
(Player p_338613_, Entity p_338698_) private void
BundleItem.playDropContentsSound
(Entity p_186354_) private void
BundleItem.playInsertSound
(Entity p_186352_) private void
BundleItem.playRemoveOneSound
(Entity p_186343_) void
ItemStack.setEntityRepresentation
(Entity p_41637_) void
MapItem.update
(Level p_42894_, Entity p_42895_, MapItemSavedData p_42896_) -
Uses of Entity in net.minecraft.world.item.component
-
Uses of Entity in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionprivate static LootContext
Enchantment.blockHitContext
(ServerLevel p_350329_, int p_350503_, Entity p_350451_, Vec3 p_350874_, BlockState p_350311_) static LootContext
Enchantment.damageContext
(ServerLevel p_346018_, int p_345520_, Entity p_345257_, DamageSource p_346340_) void
Enchantment.doPostAttack
(ServerLevel p_344857_, int p_44688_, EnchantedItemInUse p_345323_, EnchantmentTarget p_345287_, Entity p_44687_, DamageSource p_345177_) static void
Enchantment.doPostAttack
(TargetedConditionalEffect<EnchantmentEntityEffect> p_346387_, ServerLevel p_345844_, int p_344928_, EnchantedItemInUse p_345486_, Entity p_345472_, DamageSource p_345022_) static void
EnchantmentHelper.doPostAttackEffects
(ServerLevel p_345941_, Entity p_345661_, DamageSource p_345580_) static void
EnchantmentHelper.doPostAttackEffectsWithItemSource
(ServerLevel p_348463_, Entity p_348545_, DamageSource p_348552_, ItemStack p_348507_) private static LootContext
Enchantment.entityContext
(ServerLevel p_346134_, int p_346059_, Entity p_346146_, Vec3 p_345814_) static int
EnchantmentHelper.getFishingLuckBonus
(ServerLevel p_346163_, ItemStack p_44905_, Entity p_345772_) static float
EnchantmentHelper.getFishingTimeReduction
(ServerLevel p_345589_, ItemStack p_344902_, Entity p_346054_) static int
EnchantmentHelper.getTridentReturnToOwnerAcceleration
(ServerLevel p_344814_, ItemStack p_346255_, Entity p_346332_) boolean
Enchantment.isImmuneToDamage
(ServerLevel p_345480_, int p_345043_, Entity p_346344_, DamageSource p_344985_) private static LootContext
Enchantment.locationContext
(ServerLevel p_345134_, int p_346182_, Entity p_345416_, boolean p_345862_) static float
EnchantmentHelper.modifyArmorEffectiveness
(ServerLevel p_345426_, ItemStack p_345454_, Entity p_345834_, DamageSource p_345082_, float p_344790_) void
Enchantment.modifyArmorEffectivness
(ServerLevel p_345449_, int p_346129_, ItemStack p_345436_, Entity p_345815_, DamageSource p_346172_, org.apache.commons.lang3.mutable.MutableFloat p_345265_) void
Enchantment.modifyDamage
(ServerLevel p_345743_, int p_345544_, ItemStack p_345269_, Entity p_346011_, DamageSource p_344755_, org.apache.commons.lang3.mutable.MutableFloat p_345551_) static float
EnchantmentHelper.modifyDamage
(ServerLevel p_345523_, ItemStack p_345856_, Entity p_344995_, DamageSource p_345216_, float p_346025_) private void
Enchantment.modifyDamageFilteredValue
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345367_, ServerLevel p_345784_, int p_344796_, ItemStack p_345410_, Entity p_345673_, DamageSource p_345768_, org.apache.commons.lang3.mutable.MutableFloat p_345664_) void
Enchantment.modifyDamageProtection
(ServerLevel p_345336_, int p_345347_, ItemStack p_346270_, Entity p_346395_, DamageSource p_345595_, org.apache.commons.lang3.mutable.MutableFloat p_345579_) private void
Enchantment.modifyEntityFilteredValue
(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345986_, ServerLevel p_345473_, int p_345352_, ItemStack p_345076_, Entity p_345170_, org.apache.commons.lang3.mutable.MutableFloat p_345910_) void
Enchantment.modifyFallBasedDamage
(ServerLevel p_345164_, int p_344793_, ItemStack p_345159_, Entity p_345653_, DamageSource p_344870_, org.apache.commons.lang3.mutable.MutableFloat p_346329_) static float
EnchantmentHelper.modifyFallBasedDamage
(ServerLevel p_345433_, ItemStack p_345368_, Entity p_345047_, DamageSource p_345711_, float p_346245_) void
Enchantment.modifyFishingLuckBonus
(ServerLevel p_344932_, int p_346280_, ItemStack p_344733_, Entity p_346035_, org.apache.commons.lang3.mutable.MutableFloat p_345897_) void
Enchantment.modifyFishingTimeReduction
(ServerLevel p_344910_, int p_345466_, ItemStack p_345847_, Entity p_346092_, org.apache.commons.lang3.mutable.MutableFloat p_346295_) void
Enchantment.modifyKnockback
(ServerLevel p_346266_, int p_344905_, ItemStack p_345602_, Entity p_346190_, DamageSource p_345911_, org.apache.commons.lang3.mutable.MutableFloat p_345127_) static float
EnchantmentHelper.modifyKnockback
(ServerLevel p_346221_, ItemStack p_344862_, Entity p_345720_, DamageSource p_345322_, float p_345116_) void
Enchantment.modifyMobExperience
(ServerLevel p_346393_, int p_345762_, ItemStack p_345945_, Entity p_345849_, org.apache.commons.lang3.mutable.MutableFloat p_345252_) void
Enchantment.modifyProjectileCount
(ServerLevel p_345353_, int p_344837_, ItemStack p_346382_, Entity p_345611_, org.apache.commons.lang3.mutable.MutableFloat p_344765_) void
Enchantment.modifyProjectileSpread
(ServerLevel p_346170_, int p_345846_, ItemStack p_346147_, Entity p_345832_, org.apache.commons.lang3.mutable.MutableFloat p_345361_) void
Enchantment.modifyTridentReturnToOwnerAcceleration
(ServerLevel p_345534_, int p_345845_, ItemStack p_345558_, Entity p_345333_, org.apache.commons.lang3.mutable.MutableFloat p_344912_) void
Enchantment.onHitBlock
(ServerLevel p_345175_, int p_346193_, EnchantedItemInUse p_344721_, Entity p_345951_, Vec3 p_344878_, BlockState p_351026_) static void
EnchantmentHelper.onHitBlock
(ServerLevel p_346213_, ItemStack p_344826_, LivingEntity p_345015_, Entity p_345210_, EquipmentSlot p_345889_, Vec3 p_345922_, BlockState p_350787_, Consumer<Item> p_348575_) void
Enchantment.onProjectileSpawned
(ServerLevel p_345440_, int p_346424_, EnchantedItemInUse p_346046_, Entity p_345958_) static int
EnchantmentHelper.processMobExperience
(ServerLevel p_344940_, Entity p_345838_, Entity p_345369_, int p_344901_) static int
EnchantmentHelper.processProjectileCount
(ServerLevel p_345598_, ItemStack p_346421_, Entity p_346006_, int p_346388_) static float
EnchantmentHelper.processProjectileSpread
(ServerLevel p_346048_, ItemStack p_345702_, Entity p_346314_, float p_346070_) void
Enchantment.tick
(ServerLevel p_345064_, int p_346148_, EnchantedItemInUse p_345056_, Entity p_345139_) -
Uses of Entity in net.minecraft.world.item.enchantment.effects
Modifier and TypeMethodDescriptionvoid
AllOf.EntityEffects.apply
(ServerLevel p_346093_, int p_345940_, EnchantedItemInUse p_344929_, Entity p_345319_, Vec3 p_345200_) void
ApplyMobEffect.apply
(ServerLevel p_345355_, int p_346112_, EnchantedItemInUse p_344766_, Entity p_345996_, Vec3 p_345315_) void
DamageEntity.apply
(ServerLevel p_345710_, int p_344734_, EnchantedItemInUse p_345002_, Entity p_345450_, Vec3 p_345442_) void
DamageItem.apply
(ServerLevel p_345496_, int p_344926_, EnchantedItemInUse p_345827_, Entity p_345408_, Vec3 p_345110_) void
EnchantmentEntityEffect.apply
(ServerLevel p_345106_, int p_346004_, EnchantedItemInUse p_344966_, Entity p_346140_, Vec3 p_345890_) void
ExplodeEffect.apply
(ServerLevel p_346186_, int p_345966_, EnchantedItemInUse p_346324_, Entity p_345305_, Vec3 p_344916_) void
Ignite.apply
(ServerLevel p_345606_, int p_344968_, EnchantedItemInUse p_346032_, Entity p_346370_, Vec3 p_344775_) void
PlaySoundEffect.apply
(ServerLevel p_344971_, int p_344872_, EnchantedItemInUse p_345016_, Entity p_346106_, Vec3 p_345017_) void
ReplaceBlock.apply
(ServerLevel p_345756_, int p_346215_, EnchantedItemInUse p_345202_, Entity p_346293_, Vec3 p_345339_) void
ReplaceDisk.apply
(ServerLevel p_353045_, int p_353076_, EnchantedItemInUse p_353050_, Entity p_353038_, Vec3 p_353044_) void
RunFunction.apply
(ServerLevel p_346152_, int p_344788_, EnchantedItemInUse p_344801_, Entity p_346210_, Vec3 p_345413_) void
SetBlockProperties.apply
(ServerLevel p_346105_, int p_345373_, EnchantedItemInUse p_346028_, Entity p_346068_, Vec3 p_345511_) void
SpawnParticlesEffect.apply
(ServerLevel p_345529_, int p_346425_, EnchantedItemInUse p_346391_, Entity p_345668_, Vec3 p_344842_) void
SummonEntityEffect.apply
(ServerLevel p_345900_, int p_346183_, EnchantedItemInUse p_345549_, Entity p_346414_, Vec3 p_346284_) private DamageSource
ExplodeEffect.getDamageSource
(Entity p_346246_, Vec3 p_345332_) void
AllOf.LocationBasedEffects.onChangedBlock
(ServerLevel p_345329_, int p_345154_, EnchantedItemInUse p_344984_, Entity p_345671_, Vec3 p_344781_, boolean p_345113_) void
EnchantmentAttributeEffect.onChangedBlock
(ServerLevel p_346176_, int p_345071_, EnchantedItemInUse p_345394_, Entity p_345539_, Vec3 p_346261_, boolean p_345801_) default void
EnchantmentEntityEffect.onChangedBlock
(ServerLevel p_345419_, int p_345173_, EnchantedItemInUse p_344724_, Entity p_346126_, Vec3 p_345614_, boolean p_346410_) void
EnchantmentLocationBasedEffect.onChangedBlock
(ServerLevel p_345577_, int p_345675_, EnchantedItemInUse p_345807_, Entity p_345378_, Vec3 p_344844_, boolean p_345637_) void
AllOf.LocationBasedEffects.onDeactivated
(EnchantedItemInUse p_346024_, Entity p_346234_, Vec3 p_346036_, int p_345698_) void
EnchantmentAttributeEffect.onDeactivated
(EnchantedItemInUse p_346016_, Entity p_346371_, Vec3 p_345145_, int p_346185_) default void
EnchantmentLocationBasedEffect.onDeactivated
(EnchantedItemInUse p_346131_, Entity p_345920_, Vec3 p_345758_, int p_344750_) -
Uses of Entity in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate Entity
BaseSpawner.displayEntity
private final Entity
EntityBasedExplosionDamageCalculator.source
private final Entity
Explosion.source
Modifier and TypeMethodDescriptionEntityGetter.getEntities
(EntityTypeTest<Entity, T> p_151464_, AABB p_151465_, Predicate<? super T> p_151466_) Level.getEntities
(EntityTypeTest<Entity, T> p_151528_, AABB p_151529_, Predicate<? super T> p_151530_) <T extends Entity>
voidLevel.getEntities
(EntityTypeTest<Entity, T> p_261899_, AABB p_261837_, Predicate<? super T> p_261519_, List<? super T> p_262046_) <T extends Entity>
voidLevel.getEntities
(EntityTypeTest<Entity, T> p_261885_, AABB p_262086_, Predicate<? super T> p_261688_, List<? super T> p_262071_, int p_261858_) EntityGetter.getEntitiesOfClass
(Class<T> p_45977_, AABB p_45978_) EntityGetter.getEntitiesOfClass
(Class<T> p_45979_, AABB p_45980_, Predicate<? super T> p_45981_) <T extends Entity>
voidLevel.guardEntityTick
(Consumer<T> p_46654_, T p_46655_) Modifier and TypeMethodDescriptionExplosion.getDirectSourceEntity()
abstract Entity
Level.getEntity
(int p_46492_) BaseSpawner.getOrCreateDisplayEntity
(Level p_254323_, BlockPos p_254313_) Modifier and TypeMethodDescriptionEntityGetter.getEntities
(Entity p_45934_, AABB p_45935_) EntityGetter.getEntities
(Entity p_45936_, AABB p_45937_, Predicate<? super Entity> p_45938_) protected abstract LevelEntityGetter
<Entity> Level.getEntities()
Level.getEntities
(Entity p_46536_, AABB p_46537_, Predicate<? super Entity> p_46538_) com.mojang.datafixers.util.Either
<BlockEntity, Entity> BaseSpawner.getOwner()
Modifier and TypeMethodDescriptiondefault boolean
LevelWriter.addFreshEntity
(Entity p_46964_) default void
ServerLevelAccessor.addFreshEntityWithPassengers
(Entity p_47206_) private VoxelShape
CollisionGetter.borderCollision
(Entity p_186441_, AABB p_186442_) void
Level.broadcastDamageEvent
(Entity p_270831_, DamageSource p_270361_) void
Level.broadcastEntityEvent
(Entity p_46509_, byte p_46510_) default boolean
CollisionGetter.collidesWithSuffocatingBlock
(Entity p_186438_, AABB p_186439_) boolean
Level.destroyBlock
(BlockPos p_46626_, boolean p_46627_, Entity p_46628_, int p_46629_) default boolean
LevelWriter.destroyBlock
(BlockPos p_46954_, boolean p_46955_, Entity p_46956_) boolean
LevelWriter.destroyBlock
(BlockPos p_46957_, boolean p_46958_, Entity p_46959_, int p_46960_) Level.explode
(Entity p_255682_, double p_255803_, double p_256403_, double p_256538_, float p_255674_, boolean p_256634_, Level.ExplosionInteraction p_256111_) Level.explode
(Entity p_256599_, double p_255914_, double p_255684_, double p_255843_, float p_256310_, Level.ExplosionInteraction p_256178_) Level.explode
(Entity p_256145_, DamageSource p_256004_, ExplosionDamageCalculator p_255696_, double p_256208_, double p_256036_, double p_255746_, float p_256647_, boolean p_256098_, Level.ExplosionInteraction p_256104_) Level.explode
(Entity p_311934_, DamageSource p_312790_, ExplosionDamageCalculator p_311975_, double p_312493_, double p_312456_, double p_312719_, float p_312292_, boolean p_312144_, Level.ExplosionInteraction p_312265_, boolean p_312145_, ParticleOptions p_312842_, ParticleOptions p_312060_, Holder<SoundEvent> p_320283_) Level.explode
(Entity p_256233_, DamageSource p_255861_, ExplosionDamageCalculator p_255867_, double p_256447_, double p_255732_, double p_255717_, float p_256013_, boolean p_256228_, Level.ExplosionInteraction p_255784_, ParticleOptions p_311886_, ParticleOptions p_311887_, Holder<SoundEvent> p_320084_) Level.explode
(Entity p_255653_, DamageSource p_256558_, ExplosionDamageCalculator p_255929_, Vec3 p_256001_, float p_255963_, boolean p_256099_, Level.ExplosionInteraction p_256371_) CollisionGetter.findFreePosition
(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) CollisionGetter.findSupportingBlock
(Entity p_286468_, AABB p_286792_) default void
default void
default Iterable
<VoxelShape> CollisionGetter.getBlockCollisions
(Entity p_186435_, AABB p_186436_) default Iterable
<VoxelShape> CollisionGetter.getCollisions
(Entity p_186432_, AABB p_186433_) static DamageSource
Explosion.getDefaultDamageSource
(Level p_312716_, Entity p_312608_) EntityGetter.getEntities
(Entity p_45934_, AABB p_45935_) EntityGetter.getEntities
(Entity p_45936_, AABB p_45937_, Predicate<? super Entity> p_45938_) Level.getEntities
(Entity p_46536_, AABB p_46537_, Predicate<? super Entity> p_46538_) CollisionGetter.getEntityCollisions
(Entity p_186427_, AABB p_186428_) default List
<VoxelShape> CommonLevelAccessor.getEntityCollisions
(Entity p_186447_, AABB p_186448_) default List
<VoxelShape> EntityGetter.getEntityCollisions
(Entity p_186451_, AABB p_186452_) PathNavigationRegion.getEntityCollisions
(Entity p_186557_, AABB p_186558_) float
ExplosionDamageCalculator.getEntityDamageAmount
(Explosion p_311793_, Entity p_311929_) private static LivingEntity
Explosion.getIndirectSourceEntityInternal
(Entity p_312444_) float
ExplosionDamageCalculator.getKnockbackMultiplier
(Entity p_340973_) float
SimpleExplosionDamageCalculator.getKnockbackMultiplier
(Entity p_345651_) default Player
EntityGetter.getNearestPlayer
(Entity p_45931_, double p_45932_) static float
Explosion.getSeenPercent
(Vec3 p_46065_, Entity p_46066_) default boolean
CollisionGetter.isUnobstructed
(Entity p_45785_) default boolean
CollisionGetter.isUnobstructed
(Entity p_45750_, VoxelShape p_45751_) default boolean
CommonLevelAccessor.isUnobstructed
(Entity p_45828_, VoxelShape p_45829_) default boolean
EntityGetter.isUnobstructed
(Entity p_45939_, VoxelShape p_45940_) boolean
Level.loadedAndEntityCanStandOn
(BlockPos p_46576_, Entity p_46577_) boolean
Level.loadedAndEntityCanStandOnFace
(BlockPos p_46579_, Entity p_46580_, Direction p_46581_) private ExplosionDamageCalculator
Explosion.makeDamageCalculator
(Entity p_46063_) default boolean
CollisionGetter.noBlockCollision
(Entity p_295728_, AABB p_294209_) default boolean
CollisionGetter.noCollision
(Entity p_45787_) default boolean
CollisionGetter.noCollision
(Entity p_45757_, AABB p_45758_) void
Level.playLocalSound
(Entity p_312189_, SoundEvent p_312080_, SoundSource p_312905_, float p_312914_, float p_312831_) abstract void
Level.playSeededSound
(Player p_220372_, Entity p_220373_, Holder<SoundEvent> p_263500_, SoundSource p_220375_, float p_220376_, float p_220377_, long p_220378_) void
Level.playSound
(Entity p_252137_, BlockPos p_251749_, SoundEvent p_248842_, SoundSource p_251104_, float p_249531_, float p_250763_) void
Level.playSound
(Player p_46551_, Entity p_46552_, SoundEvent p_46553_, SoundSource p_46554_, float p_46555_, float p_46556_) boolean
ExplosionDamageCalculator.shouldDamageEntity
(Explosion p_314652_, Entity p_314454_) boolean
SimpleExplosionDamageCalculator.shouldDamageEntity
(Explosion p_346248_, Entity p_344983_) boolean
Level.shouldTickDeath
(Entity p_186458_) Modifier and TypeMethodDescriptionstatic NaturalSpawner.SpawnState
NaturalSpawner.createState
(int p_186525_, Iterable<Entity> p_186526_, NaturalSpawner.ChunkGetter p_186527_, LocalMobCapCalculator p_186528_) EntityGetter.getEntities
(Entity p_45936_, AABB p_45937_, Predicate<? super Entity> p_45938_) EntityGetter.getEntities
(EntityTypeTest<Entity, T> p_151464_, AABB p_151465_, Predicate<? super T> p_151466_) Level.getEntities
(Entity p_46536_, AABB p_46537_, Predicate<? super Entity> p_46538_) Level.getEntities
(EntityTypeTest<Entity, T> p_151528_, AABB p_151529_, Predicate<? super T> p_151530_) <T extends Entity>
voidLevel.getEntities
(EntityTypeTest<Entity, T> p_261899_, AABB p_261837_, Predicate<? super T> p_261519_, List<? super T> p_262046_) <T extends Entity>
voidLevel.getEntities
(EntityTypeTest<Entity, T> p_261885_, AABB p_262086_, Predicate<? super T> p_261688_, List<? super T> p_262071_, int p_261858_) default Player
EntityGetter.getNearestPlayer
(double p_45919_, double p_45920_, double p_45921_, double p_45922_, Predicate<Entity> p_45923_) ModifierConstructorDescriptionBlockCollisions
(CollisionGetter p_286817_, Entity p_286246_, AABB p_286624_, boolean p_286354_, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> p_286303_) ClipContext
(Vec3 p_45688_, Vec3 p_45689_, ClipContext.Block p_45690_, ClipContext.Fluid p_45691_, Entity p_45692_) EntityBasedExplosionDamageCalculator
(Entity p_45894_) Explosion
(Level p_46032_, Entity p_46033_, double p_46034_, double p_46035_, double p_46036_, float p_46037_, boolean p_46038_, Explosion.BlockInteraction p_46039_) Explosion
(Level p_46041_, Entity p_46042_, double p_46043_, double p_46044_, double p_46045_, float p_46046_, boolean p_46047_, Explosion.BlockInteraction p_46048_, List<BlockPos> p_46049_) Explosion
(Level p_46051_, Entity p_46052_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, List<BlockPos> p_312600_, Explosion.BlockInteraction p_46060_, ParticleOptions p_312560_, ParticleOptions p_312844_, Holder<SoundEvent> p_320054_) Explosion
(Level p_46024_, Entity p_46025_, DamageSource p_312268_, ExplosionDamageCalculator p_312205_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, boolean p_312333_, Explosion.BlockInteraction p_312294_, ParticleOptions p_312158_, ParticleOptions p_311904_, Holder<SoundEvent> p_320270_) -
Uses of Entity in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionvoid
SculkSensorBlock.activate
(Entity p_277529_, Level p_277340_, BlockPos p_277386_, BlockState p_277799_, int p_277993_, int p_278003_) (package private) static BlockState
ComposterBlock.addItem
(Entity p_270464_, BlockState p_270603_, LevelAccessor p_270151_, BlockPos p_270547_, ItemStack p_270354_) boolean
BellBlock.attemptToRing
(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_) private void
private void
private static Vec3
EndGatewayBlock.calculateExitMovement
(Entity p_352063_) private boolean
TurtleEggBlock.canDestroyEgg
(Level p_57768_, Entity p_57769_) private static boolean
BigDripleafBlock.canEntityTilt
(BlockPos p_152302_, Entity p_152303_) static boolean
PowderSnowBlock.canEntityWalkOnPowderSnow
(Entity p_154256_) static void
RespawnAnchorBlock.charge
(Entity p_270997_, Level p_270172_, BlockPos p_270534_, BlockState p_270661_) private void
BasePressurePlateBlock.checkPressed
(Entity p_152144_, Level p_152145_, BlockPos p_152146_, BlockState p_152147_, int p_152148_) private static DimensionTransition
NetherPortalBlock.createDimensionTransition
(ServerLevel p_350955_, BlockUtil.FoundRectangle p_350865_, Direction.Axis p_351013_, Vec3 p_351020_, Entity p_350578_, Vec3 p_350266_, float p_350648_, float p_350338_, DimensionTransition.PostDimensionTransition p_352441_) private void
TurtleEggBlock.destroyEgg
(Level p_154851_, BlockState p_154852_, BlockPos p_154853_, Entity p_154854_, int p_154855_) private static boolean
HoneyBlock.doesEntityDoHoneyBlockSlideEffects
(Entity p_54013_) private void
HoneyBlock.doSlideMovement
(Entity p_54020_) static void
CampfireBlock.dowse
(Entity p_152750_, LevelAccessor p_152751_, BlockPos p_152752_, BlockState p_152753_) static void
Block.dropResources
(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_) (package private) static BlockState
ComposterBlock.empty
(Entity p_270236_, BlockState p_270873_, LevelAccessor p_270963_, BlockPos p_270211_) protected void
BaseFireBlock.entityInside
(BlockState p_49260_, Level p_49261_, BlockPos p_49262_, Entity p_49263_) protected void
BasePressurePlateBlock.entityInside
(BlockState p_49314_, Level p_49315_, BlockPos p_49316_, Entity p_49317_) protected void
BigDripleafBlock.entityInside
(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_) protected void
BubbleColumnBlock.entityInside
(BlockState p_50976_, Level p_50977_, BlockPos p_50978_, Entity p_50979_) protected void
ButtonBlock.entityInside
(BlockState p_51083_, Level p_51084_, BlockPos p_51085_, Entity p_51086_) protected void
CactusBlock.entityInside
(BlockState p_51148_, Level p_51149_, BlockPos p_51150_, Entity p_51151_) protected void
CampfireBlock.entityInside
(BlockState p_51269_, Level p_51270_, BlockPos p_51271_, Entity p_51272_) protected void
CropBlock.entityInside
(BlockState p_52277_, Level p_52278_, BlockPos p_52279_, Entity p_52280_) protected void
DetectorRailBlock.entityInside
(BlockState p_52458_, Level p_52459_, BlockPos p_52460_, Entity p_52461_) protected void
EndGatewayBlock.entityInside
(BlockState p_350647_, Level p_350785_, BlockPos p_350610_, Entity p_350849_) protected void
EndPortalBlock.entityInside
(BlockState p_53025_, Level p_53026_, BlockPos p_53027_, Entity p_53028_) protected void
FrogspawnBlock.entityInside
(BlockState p_221204_, Level p_221205_, BlockPos p_221206_, Entity p_221207_) protected void
HoneyBlock.entityInside
(BlockState p_54003_, Level p_54004_, BlockPos p_54005_, Entity p_54006_) protected void
HopperBlock.entityInside
(BlockState p_54066_, Level p_54067_, BlockPos p_54068_, Entity p_54069_) protected void
LavaCauldronBlock.entityInside
(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected void
LayeredCauldronBlock.entityInside
(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) protected void
NetherPortalBlock.entityInside
(BlockState p_54915_, Level p_54916_, BlockPos p_54917_, Entity p_54918_) void
PitcherCropBlock.entityInside
(BlockState p_279266_, Level p_279469_, BlockPos p_279119_, Entity p_279372_) protected void
PowderSnowBlock.entityInside
(BlockState p_154263_, Level p_154264_, BlockPos p_154265_, Entity p_154266_) protected void
SweetBerryBushBlock.entityInside
(BlockState p_57270_, Level p_57271_, BlockPos p_57272_, Entity p_57273_) protected void
TripWireBlock.entityInside
(BlockState p_57625_, Level p_57626_, BlockPos p_57627_, Entity p_57628_) protected void
WaterlilyBlock.entityInside
(BlockState p_58164_, Level p_58165_, BlockPos p_58166_, Entity p_58167_) protected void
WebBlock.entityInside
(BlockState p_58180_, Level p_58181_, BlockPos p_58182_, Entity p_58183_) protected void
WitherRoseBlock.entityInside
(BlockState p_58238_, Level p_58239_, BlockPos p_58240_, Entity p_58241_) static BlockState
ComposterBlock.extractProduce
(Entity p_270467_, BlockState p_51999_, Level p_52000_, BlockPos p_52001_) void
BedBlock.fallOn
(Level p_152169_, BlockState p_152170_, BlockPos p_152171_, Entity p_152172_, float p_152173_) void
Block.fallOn
(Level p_152426_, BlockState p_152427_, BlockPos p_152428_, Entity p_152429_, float p_152430_) void
FarmBlock.fallOn
(Level p_153227_, BlockState p_153228_, BlockPos p_153229_, Entity p_153230_, float p_153231_) void
HayBlock.fallOn
(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) void
HoneyBlock.fallOn
(Level p_153372_, BlockState p_153373_, BlockPos p_153374_, Entity p_153375_, float p_153376_) void
PointedDripstoneBlock.fallOn
(Level p_154047_, BlockState p_154048_, BlockPos p_154049_, Entity p_154050_, float p_154051_) void
PowderSnowBlock.fallOn
(Level p_196695_, BlockState p_196696_, BlockPos p_196697_, Entity p_196698_, float p_196699_) void
SlimeBlock.fallOn
(Level p_154567_, BlockState p_154568_, BlockPos p_154569_, Entity p_154570_, float p_154571_) void
TurtleEggBlock.fallOn
(Level p_154845_, BlockState p_154846_, BlockPos p_154847_, Entity p_154848_, float p_154849_) private static DimensionTransition
NetherPortalBlock.getDimensionTransitionFromExit
(Entity p_350906_, BlockPos p_350376_, BlockUtil.FoundRectangle p_350428_, ServerLevel p_350928_, DimensionTransition.PostDimensionTransition p_352093_) Block.getDrops
(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_) private DimensionTransition
NetherPortalBlock.getExitPortal
(ServerLevel p_350564_, Entity p_350493_, BlockPos p_350379_, BlockPos p_350747_, boolean p_350326_, WorldBorder p_350718_) int
DropExperienceBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
RedStoneOreBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkCatalystBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkSensorBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkShriekerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SpawnerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) AnvilBlock.getFallDamageSource
(Entity p_254036_) default DamageSource
Fallable.getFallDamageSource
(Entity p_253907_) PointedDripstoneBlock.getFallDamageSource
(Entity p_254432_) EndGatewayBlock.getPortalDestination
(ServerLevel p_350958_, Entity p_350650_, BlockPos p_350525_) EndPortalBlock.getPortalDestination
(ServerLevel p_351032_, Entity p_350274_, BlockPos p_350589_) NetherPortalBlock.getPortalDestination
(ServerLevel p_350444_, Entity p_350334_, BlockPos p_350764_) Portal.getPortalDestination
(ServerLevel p_350469_, Entity p_350401_, BlockPos p_350443_) int
NetherPortalBlock.getPortalTransitionTime
(ServerLevel p_350689_, Entity p_350280_) default int
Portal.getPortalTransitionTime
(ServerLevel p_350613_, Entity p_350544_) static BlockState
ComposterBlock.insertItem
(Entity p_270919_, BlockState p_270087_, ServerLevel p_270284_, ItemStack p_270253_, BlockPos p_270678_) protected boolean
AbstractCauldronBlock.isEntityInsideContent
(BlockState p_151980_, BlockPos p_151981_, Entity p_151982_) private boolean
HoneyBlock.isSlidingDown
(BlockPos p_54008_, Entity p_54009_) private void
HoneyBlock.maybeDoSlideAchievement
(Entity p_53992_, BlockPos p_53993_) private void
HoneyBlock.maybeDoSlideEffects
(Level p_53995_, Entity p_53996_) private void
NoteBlock.playNote
(Entity p_261664_, BlockState p_261606_, Level p_261819_, BlockPos p_262042_) private void
static void
LecternBlock.resetBookState
(Entity p_270231_, Level p_270114_, BlockPos p_270251_, BlockState p_270758_, boolean p_270452_) void
DoorBlock.setOpen
(Entity p_153166_, Level p_153167_, BlockState p_153168_, BlockPos p_153169_, boolean p_153170_) static void
HoneyBlock.showJumpParticles
(Entity p_54011_) private static void
HoneyBlock.showParticles
(Entity p_53989_, int p_53990_) static void
HoneyBlock.showSlideParticles
(Entity p_53987_) private static void
CarvedPumpkinBlock.spawnGolemInWorld
(Level p_249110_, BlockPattern.BlockPatternMatch p_251293_, Entity p_251251_, BlockPos p_251189_) void
Block.stepOn
(Level p_152431_, BlockPos p_152432_, BlockState p_152433_, Entity p_152434_) void
MagmaBlock.stepOn
(Level p_153777_, BlockPos p_153778_, BlockState p_153779_, Entity p_153780_) void
RedStoneOreBlock.stepOn
(Level p_154299_, BlockPos p_154300_, BlockState p_154301_, Entity p_154302_) void
SculkSensorBlock.stepOn
(Level p_222132_, BlockPos p_222133_, BlockState p_222134_, Entity p_222135_) void
SculkShriekerBlock.stepOn
(Level p_222177_, BlockPos p_222178_, BlockState p_222179_, Entity p_222180_) void
SlimeBlock.stepOn
(Level p_154573_, BlockPos p_154574_, BlockState p_154575_, Entity p_154576_) void
TurtleEggBlock.stepOn
(Level p_154857_, BlockPos p_154858_, BlockState p_154859_, Entity p_154860_) static void
SculkSensorBlock.tryResonateVibration
(Entity p_279315_, Level p_277804_, BlockPos p_277458_, int p_277347_) static void
FarmBlock.turnToDirt
(Entity p_270981_, BlockState p_270402_, Level p_270568_, BlockPos p_270551_) void
BedBlock.updateEntityAfterFallOn
(BlockGetter p_49483_, Entity p_49484_) void
Block.updateEntityAfterFallOn
(BlockGetter p_49821_, Entity p_49822_) void
SlimeBlock.updateEntityAfterFallOn
(BlockGetter p_56406_, Entity p_56407_) private static int
TargetBlock.updateRedstoneOutput
(LevelAccessor p_57392_, BlockState p_57393_, BlockHitResult p_57394_, Entity p_57395_) static InteractionResult
CaveVines.use
(Entity p_270738_, BlockState p_270772_, Level p_270721_, BlockPos p_270587_) Modifier and TypeMethodDescriptionprotected static int
BasePressurePlateBlock.getEntityCount
(Level p_289656_, AABB p_289647_, Class<? extends Entity> p_289686_) private <T extends AbstractMinecart>
List<T> DetectorRailBlock.getInteractingMinecartOfType
(Level p_52437_, BlockPos p_52438_, Class<T> p_52439_, Predicate<Entity> p_52440_) -
Uses of Entity in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionBeehiveBlockEntity.Occupant.createEntity
(Level p_331790_, BlockPos p_330712_) Modifier and TypeMethodDescriptionBeehiveBlockEntity.releaseAllOccupants
(BlockState p_58760_, BeehiveBlockEntity.BeeReleaseStatus p_58761_) Modifier and TypeMethodDescriptionvoid
BeehiveBlockEntity.addOccupant
(Entity p_58742_) private static void
ConduitBlockEntity.animationTick
(Level p_155419_, BlockPos p_155420_, List<BlockPos> p_155421_, Entity p_155422_, int p_155423_) static void
HopperBlockEntity.entityInside
(Level p_155568_, BlockPos p_155569_, BlockState p_155570_, Entity p_155571_, HopperBlockEntity p_155572_) static BeehiveBlockEntity.Occupant
void
SculkSensorBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel p_282851_, BlockPos p_281608_, Holder<GameEvent> p_316423_, Entity p_282123_, Entity p_283090_, float p_283130_) void
SculkShriekerBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel p_283372_, BlockPos p_281679_, Holder<GameEvent> p_316155_, Entity p_282286_, Entity p_281384_, float p_283119_) private void
SculkShriekerBlockEntity.shriek
(ServerLevel p_222845_, Entity p_222846_) static ServerPlayer
SculkShriekerBlockEntity.tryGetPlayer
(Entity p_222862_) Modifier and TypeMethodDescriptionprivate static boolean
BeehiveBlockEntity.releaseOccupant
(Level p_155137_, BlockPos p_155138_, BlockState p_155139_, BeehiveBlockEntity.Occupant p_332184_, List<Entity> p_155141_, BeehiveBlockEntity.BeeReleaseStatus p_155142_, BlockPos p_155143_) -
Uses of Entity in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeMethodDescriptionPlayerDetector.EntitySelector.getEntities
(ServerLevel p_324233_, EntityTypeTest<Entity, T> p_324216_, AABB p_324151_, Predicate<? super T> p_323700_) Modifier and TypeMethodDescriptionTrialSpawnerData.getOrCreateDisplayEntity
(TrialSpawner p_312366_, Level p_312148_, TrialSpawnerState p_311790_) private static Entity
TrialSpawnerState.selectEntityToSpawnItemAbove
(List<Player> p_338467_, Set<UUID> p_338224_, TrialSpawner p_338687_, BlockPos p_338268_, ServerLevel p_338524_) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<BlockEntity, Entity> TrialSpawner.getOwner()
Modifier and TypeMethodDescriptionTrialSpawnerState.calculatePositionAbove
(Entity p_338791_, ServerLevel p_338807_) Modifier and TypeMethodDescriptionPlayerDetector.EntitySelector.getEntities
(ServerLevel p_324233_, EntityTypeTest<Entity, T> p_324216_, AABB p_324151_, Predicate<? super T> p_323700_) -
Uses of Entity in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionprivate static void
PistonMovingBlockEntity.fixEntityWithinPistonBase
(BlockPos p_155921_, Entity p_155922_, Direction p_155923_, double p_155924_) private static boolean
PistonMovingBlockEntity.matchesStickyCritera
(AABB p_287782_, Entity p_287720_, BlockPos p_287775_) private static void
PistonMovingBlockEntity.moveEntityByPiston
(Direction p_60372_, Entity p_60373_, double p_60374_, Direction p_60375_) -
Uses of Entity in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionfinal boolean
BlockBehaviour.BlockStateBase.entityCanStandOn
(BlockGetter p_60635_, BlockPos p_60636_, Entity p_60637_) final boolean
BlockBehaviour.BlockStateBase.entityCanStandOnFace
(BlockGetter p_60639_, BlockPos p_60640_, Entity p_60641_, Direction p_60642_) void
BlockBehaviour.BlockStateBase.entityInside
(Level p_60683_, BlockPos p_60684_, Entity p_60685_) protected void
BlockBehaviour.entityInside
(BlockState p_60495_, Level p_60496_, BlockPos p_60497_, Entity p_60498_) -
Uses of Entity in net.minecraft.world.level.border
Modifier and TypeMethodDescriptiondouble
WorldBorder.getDistanceToBorder
(Entity p_61926_) boolean
WorldBorder.isInsideCloseToBorder
(Entity p_187567_, AABB p_187568_) -
Uses of Entity in net.minecraft.world.level.chunk
-
Uses of Entity in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static ChunkEntities
<Entity> EntityStorage.emptyChunk
(ChunkPos p_156569_) EntityStorage.loadEntities
(ChunkPos p_156551_) Modifier and TypeMethodDescriptionvoid
EntityStorage.storeEntities
(ChunkEntities<Entity> p_156559_) -
Uses of Entity in net.minecraft.world.level.dimension.end
-
Uses of Entity in net.minecraft.world.level.entity
Modifier and TypeFieldDescriptionprivate final Entity
PersistentEntitySectionManager.Callback.realEntity
private final Entity
TransientEntitySectionManager.Callback.realEntity
Modifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap
<Entity> EntityTickList.active
private it.unimi.dsi.fastutil.ints.Int2ObjectMap
<Entity> EntityTickList.iterated
private it.unimi.dsi.fastutil.ints.Int2ObjectMap
<Entity> EntityTickList.passive
Modifier and TypeMethodDescriptionvoid
boolean
void
-
Uses of Entity in net.minecraft.world.level.gameevent
Modifier and TypeFieldDescriptionprivate final Entity
GameEvent.Context.sourceEntity
The field for thesourceEntity
record component.Modifier and TypeMethodDescriptionGameEvent.Context.sourceEntity()
Returns the value of thesourceEntity
record component.Modifier and TypeMethodDescriptionstatic GameEvent.Context
static GameEvent.Context
GameEvent.Context.of
(Entity p_223720_, BlockState p_223721_) ModifierConstructorDescriptionContext
(Entity sourceEntity, BlockState affectedState) Creates an instance of aContext
record class.EntityPositionSource
(Entity p_223648_, float p_223649_) ModifierConstructorDescriptionprivate
EntityPositionSource
(com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> p_223651_, float p_223652_) -
Uses of Entity in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeFieldDescriptionprivate final Entity
VibrationInfo.entity
The field for theentity
record component.Modifier and TypeMethodDescriptionVibrationInfo.entity()
Returns the value of theentity
record component.Modifier and TypeMethodDescriptionVibrationInfo.getEntity
(ServerLevel p_249184_) VibrationInfo.getProjectileOwner
(ServerLevel p_249217_) Modifier and TypeMethodDescriptionprivate static UUID
VibrationInfo.getProjectileOwner
(Entity p_251531_) void
VibrationSystem.User.onReceiveVibration
(ServerLevel p_282148_, BlockPos p_282090_, Holder<GameEvent> p_316773_, Entity p_281578_, Entity p_281308_, float p_281707_) ModifierConstructorDescriptionVibrationInfo
(Holder<GameEvent> gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aVibrationInfo
record class.VibrationInfo
(Holder<GameEvent> p_316851_, float p_250190_, Vec3 p_251692_, Entity p_316868_) -
Uses of Entity in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException
(ServerLevelAccessor p_74544_, CompoundTag p_74545_) -
Uses of Entity in net.minecraft.world.level.pathfinder
Modifier and TypeMethodDescriptionPath.getEntityPosAtNode
(Entity p_77383_, int p_77384_) Path.getNextEntityPos
(Entity p_77381_) -
Uses of Entity in net.minecraft.world.level.portal
Modifier and TypeMethodDescriptionprivate static Vec3
DimensionTransition.findAdjustedSharedSpawnPos
(ServerLevel p_352080_, Entity p_352400_) static Vec3
PortalShape.findCollisionFreePosition
(Vec3 p_260315_, ServerLevel p_259704_, Entity p_259626_, EntityDimensions p_259816_) static DimensionTransition
DimensionTransition.missingRespawnBlock
(ServerLevel p_348517_, Entity p_352420_, DimensionTransition.PostDimensionTransition p_352305_) void
DimensionTransition.PostDimensionTransition.onTransition
(Entity p_352279_) private static void
DimensionTransition.placePortalTicket
(Entity p_352447_) private static void
DimensionTransition.playPortalSound
(Entity p_352075_) ModifierConstructorDescriptionDimensionTransition
(ServerLevel p_348609_, Entity p_352432_, DimensionTransition.PostDimensionTransition p_352373_) -
Uses of Entity in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate final LootContextParam
<? extends Entity> LootContext.EntityTarget.param
Modifier and TypeMethodDescriptionLootContextParam
<? extends Entity> LootContext.EntityTarget.getParam()
ModifierConstructorDescriptionprivate
EntityTarget
(String p_79001_, LootContextParam<? extends Entity> p_79002_) -
Uses of Entity in net.minecraft.world.level.storage.loot.parameters
Modifier and TypeFieldDescriptionstatic final LootContextParam
<Entity> LootContextParams.ATTACKING_ENTITY
static final LootContextParam
<Entity> LootContextParams.DIRECT_ATTACKING_ENTITY
static final LootContextParam
<Entity> LootContextParams.THIS_ENTITY
-
Uses of Entity in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeMethodDescriptionprotected boolean
EntityHasScoreCondition.hasScore
(LootContext p_165491_, Entity p_165492_, Scoreboard p_165493_, String p_165494_, IntRange p_165495_) -
Uses of Entity in net.minecraft.world.phys
ModifierConstructorDescriptionEntityHitResult
(Entity p_82439_) EntityHitResult
(Entity p_82441_, Vec3 p_82442_) -
Uses of Entity in net.minecraft.world.phys.shapes
ModifierConstructorDescriptionprotected
EntityCollisionContext
(boolean p_198916_, double p_198917_, ItemStack p_198918_, Predicate<FluidState> p_198919_, Entity p_198920_) protected
EntityCollisionContext
(Entity p_82872_) Deprecated. -
Uses of Entity in net.minecraft.world.scores
-
Uses of Entity in net.neoforged.neoforge.attachment
Modifier and TypeMethodDescriptionstatic void
AttachmentInternals.copyEntityAttachments
(Entity from, Entity to, boolean isDeath) Do not call directly, useIEntityExtension.copyAttachmentsFrom(Entity, boolean)
. -
Uses of Entity in net.neoforged.neoforge.capabilities
Modifier and TypeFieldDescription(package private) final Map
<EntityType<?>, List<ICapabilityProvider<Entity, C, T>>> EntityCapability.providers
Modifier and TypeMethodDescription<T,
C, E extends Entity>
voidRegisterCapabilitiesEvent.registerEntity
(EntityCapability<T, C> capability, EntityType<E> entityType, ICapabilityProvider<? super E, C, T> provider) Register a capability provider for some entity type. -
Uses of Entity in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic ResourceLocation
ClientHooks.getArmorTexture
(Entity entity, ItemStack armor, ArmorMaterial.Layer layer, boolean innerModel, EquipmentSlot slot) static boolean
ClientHooks.isNameplateInRenderDistance
(Entity entity, double squareDistance) static void
ClientHooks.loadEntityShader
(Entity entity, GameRenderer entityRenderer) ModifierConstructorDescriptionClientCommandSourceStack
(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Entity in net.neoforged.neoforge.client.event
Modifier and TypeMethodDescription<T extends Entity,
R extends EntityRenderer<T>>
REntityRenderersEvent.AddLayers.getRenderer
(EntityType<? extends T> entityType) Returns an entity renderer for the given entity type.<T extends Entity>
voidEntityRenderersEvent.RegisterRenderers.registerEntityRenderer
(EntityType<? extends T> entityType, EntityRendererProvider<T> entityRendererProvider) Registers an entity renderer for the given entity type.ModifierConstructorDescriptionRenderNameTagEvent
(Entity entity, Component content, EntityRenderer<?> entityRenderer, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick) -
Uses of Entity in net.neoforged.neoforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault org.joml.Vector3d
IClientBlockExtensions.getFogColor
(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTED -
Uses of Entity in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic CriticalHitEvent
CommonHooks.fireCriticalHit
(Player player, Entity target, boolean vanillaCritical, float damageModifier) Fires theCriticalHitEvent
and returns the resulting event.IMinecartCollisionHandler.getCollisionBox
(AbstractMinecart cart, Entity other) This function replaced the function of the same name in EntityMinecart.static double
CommonHooks.getEntityVisibilityMultiplier
(LivingEntity entity, Entity lookingEntity, double originalMultiplier) @Nullable MerchantOffer
BasicItemListing.getOffer
(Entity p_219693_, RandomSource p_219694_) static void
CommonHooks.handleBlockDrops
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEvent
when block drops (items and experience) are determined.void
IMinecartCollisionHandler.onEntityCollision
(AbstractMinecart cart, Entity other) This basically replaces the function of the same name in EntityMinecart.static void
CommonHooks.onEntityEnterSection
(Entity entity, long packedOldPos, long packedNewPos) static boolean
CommonHooks.onFarmlandTrample
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) static @Nullable InteractionResult
CommonHooks.onInteractEntity
(Player player, Entity entity, InteractionHand hand) static @Nullable InteractionResult
CommonHooks.onInteractEntityAt
(Player player, Entity entity, HitResult ray, InteractionHand hand) static @Nullable InteractionResult
CommonHooks.onInteractEntityAt
(Player player, Entity entity, Vec3 vec3d, InteractionHand hand) static boolean
CommonHooks.onPlayerAttackTarget
(Player player, Entity target) static boolean
CommonHooks.onTravelToDimension
(Entity entity, ResourceKey<Level> dimension) -
Uses of Entity in net.neoforged.neoforge.common.advancements.critereon
Modifier and TypeMethodDescriptionboolean
PiglinNeutralArmorEntityPredicate.matches
(Entity entity, ServerLevel level, @Nullable Vec3 position) -
Uses of Entity in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault @Nullable Entity
IItemExtension.createEntity
(Level level, Entity location, ItemStack stack) This function should return a new entity to replace the dropped item.private Entity
IEntityExtension.self()
Modifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Either
<BlockEntity, Entity> IOwnedSpawner.getOwner()
Returns the block entity or entity which owns this spawner object.Modifier and TypeMethodDescriptiondefault boolean
IBlockExtension.addRunningEffects
(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IBlockStateExtension.addRunningEffects
(Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default void
IServerChunkCacheExtension.broadcast
(Entity entity, CustomPacketPayload payload) Sends a payload to all players watching the given entity.default void
IServerChunkCacheExtension.broadcastAndSend
(Entity entity, CustomPacketPayload payload) Sends a payload to all players watching the given entity.default boolean
IEntityExtension.canBeRiddenUnderFluidType
(FluidType type, Entity rider) Returns whether the entity can ride in this vehicle under the fluid.default boolean
IBlockExtension.canEntityDestroy
(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IBlockStateExtension.canEntityDestroy
(BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IBlockExtension.collisionExtendsVertically
(BlockState state, BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default boolean
IBlockStateExtension.collisionExtendsVertically
(BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default void
IEntityExtension.copyAttachmentsFrom
(Entity other, boolean isDeath) Copies the serialized attachments from another entity to this entity.default @Nullable Entity
IItemExtension.createEntity
(Level level, Entity location, ItemStack stack) This function should return a new entity to replace the dropped item.default @Nullable ResourceLocation
IItemExtension.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default int
IBlockExtension.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default int
IBlockStateExtension.getExpDrop
(LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default float
IBlockExtension.getFriction
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default float
IBlockStateExtension.getFriction
(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default SoundType
IBlockExtension.getSoundType
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundType
IBlockStateExtension.getSoundType
(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault AABB
IItemExtension.getSweepHitBox
(ItemStack stack, Player player, Entity target) Get a bounding box (AABB
) of a sweep attack.default AABB
IItemStackExtension.getSweepHitBox
(Player player, Entity target) Get a bounding box (AABB
) of a sweep attack.default boolean
IPlayerExtension.isCloseEnough
(Entity entity, double dist) Utility check to see if the player is close enough to a target entity.default boolean
IItemExtension.onLeftClickEntity
(ItemStack stack, Player player, Entity entity) Called when the player Left Clicks (attacks) an entity. -
Uses of Entity in net.neoforged.neoforge.common.util
Modifier and TypeClassDescriptionclass
A basic fake server player implementation that can be used to simulate player actions. -
Uses of Entity in net.neoforged.neoforge.common.world.chunk
Modifier and TypeMethodDescriptionboolean
TicketController.forceChunk
(ServerLevel level, Entity owner, int chunkX, int chunkZ, boolean add, boolean ticking) Forces a chunk to be loaded with the "owner" of the ticket being the UUID of the given entity. -
Uses of Entity in net.neoforged.neoforge.debug.chat
ModifierConstructorDescriptionErrorCatchingStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_) -
Uses of Entity in net.neoforged.neoforge.debug.entity
Modifier and TypeClassDescriptionprivate static class
static final class
static final class
static final class
-
Uses of Entity in net.neoforged.neoforge.debug.resources
Modifier and TypeMethodDescriptionvoid
BulkKnownPackTest.Listener.onEnabled
(TestFramework framework, Test test, @Nullable Entity changer) -
Uses of Entity in net.neoforged.neoforge.entity
-
Uses of Entity in net.neoforged.neoforge.event
Modifier and TypeMethodDescription@Nullable Entity
VanillaGameEvent.getCause()
PlayLevelSoundEvent.AtEntity.getEntity()
Returns the entity the sound is being played on.Modifier and TypeMethodDescriptionstatic boolean
EventHooks.canEntityGrief
(Level level, @Nullable Entity entity) Checks if an entity can perform a griefing action.static boolean
EventHooks.canMountEntity
(Entity entityMounting, Entity entityBeingMounted, boolean isMounting) static void
EventHooks.fireEntityTickPost
(Entity entity) FiresEntityTickEvent.Post
.static EntityTickEvent.Pre
EventHooks.fireEntityTickPre
(Entity entity) FiresEntityTickEvent.Pre
.static EntityEvent.Size
EventHooks.getEntitySizeForge
(Entity entity, Pose pose, EntityDimensions size, float eyeHeight) static EntityEvent.Size
EventHooks.getEntitySizeForge
(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize, float newEyeHeight) static Vec3
EventHooks.getExplosionKnockback
(Level level, Explosion explosion, Entity entity, Vec3 initialVelocity) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.static boolean
EventHooks.onBlockPlace
(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) static boolean
EventHooks.onEntityStruckByLightning
(Entity entity, LightningBolt bolt) EventHooks.onEntityTeleportCommand
(Entity entity, double targetX, double targetY, double targetZ) EventHooks.onEntityTeleportSpreadPlayersCommand
(Entity entity, double targetX, double targetY, double targetZ) static boolean
EventHooks.onMultiBlockPlace
(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static PlayLevelSoundEvent.AtEntity
EventHooks.onPlaySoundAtEntity
(Entity entity, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) static void
EventHooks.onStartEntityTracking
(Entity entity, Player player) static void
EventHooks.onStopEntityTracking
(Entity entity, Player player) Modifier and TypeMethodDescriptionstatic void
EventHooks.onExplosionDetonate
(Level level, Explosion explosion, List<Entity> list, double diameter) ModifierConstructorDescriptionAtEntity
(Entity entity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) -
Uses of Entity in net.neoforged.neoforge.event.entity
Modifier and TypeClassDescriptionstatic class
Modifier and TypeFieldDescriptionprivate final Entity
EntityEvent.entity
private final Entity
EntityMountEvent.entityBeingMounted
private final Entity
EntityMountEvent.entityMounting
Modifier and TypeMethodDescription<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, @Nullable SpawnPlacementType placementType, Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
andoperation
With the option of changing theplacementType
andheightmap
.<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate) Register an optional spawn placementpredicate
for a givenentityType
<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
with a givenoperation
for handlingModifier and TypeMethodDescriptionEntityEvent.getEntity()
EntityMountEvent.getEntityBeingMounted()
EntityMountEvent.getEntityMounting()
ModifierConstructorDescriptionEnteringSection
(Entity entity, long packedOldPos, long packedNewPos) EntityConstructing
(Entity entity) EntityEvent
(Entity entity) EntityJoinLevelEvent
(Entity entity, Level level) EntityJoinLevelEvent
(Entity entity, Level level, boolean loadedFromDisk) EntityLeaveLevelEvent
(Entity entity, Level level) EntityMobGriefingEvent
(Level level, Entity entity) EntityMountEvent
(Entity entityMounting, Entity entityBeingMounted, Level level, boolean isMounting) EntityStruckByLightningEvent
(Entity entity, LightningBolt lightning) EntityTeleportEvent
(Entity entity, double targetX, double targetY, double targetZ) EntityTravelToDimensionEvent
(Entity entity, ResourceKey<Level> dimension) Size
(Entity entity, Pose pose, EntityDimensions size, float defaultEyeHeight) Size
(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize, float oldEyeHeight, float newEyeHeight) SpreadPlayersCommand
(Entity entity, double targetX, double targetY, double targetZ) TeleportCommand
(Entity entity, double targetX, double targetY, double targetZ) -
Uses of Entity in net.neoforged.neoforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final @Nullable Entity
LivingEvent.LivingVisibilityEvent.lookingEntity
private final Entity
MobEffectEvent.Added.source
Modifier and TypeFieldDescriptionprivate final @Nullable com.mojang.datafixers.util.Either
<BlockEntity, Entity> FinalizeSpawnEvent.spawner
Modifier and TypeMethodDescription@Nullable Entity
MobEffectEvent.Added.getEffectSource()
@Nullable Entity
LivingEvent.LivingVisibilityEvent.getLookingEntity()
Modifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Either
<BlockEntity, Entity> FinalizeSpawnEvent.getSpawner()
Retrieves the underlyingBlockEntity
orEntity
that performed the spawn.ModifierConstructorDescriptionAdded
(LivingEntity living, MobEffectInstance oldEffectInstance, MobEffectInstance newEffectInstance, Entity source) LivingVisibilityEvent
(LivingEntity livingEntity, @Nullable Entity lookingEntity, double originalMultiplier) ModifierConstructorDescriptionFinalizeSpawnEvent
(Mob entity, ServerLevelAccessor level, double x, double y, double z, DifficultyInstance difficulty, MobSpawnType spawnType, @Nullable SpawnGroupData spawnData, @Nullable com.mojang.datafixers.util.Either<BlockEntity, Entity> spawner) -
Uses of Entity in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final Entity
AttackEntityEvent.target
private final Entity
CriticalHitEvent.target
private final Entity
PlayerEvent.StartTracking.target
private final Entity
PlayerEvent.StopTracking.target
private final Entity
PlayerInteractEvent.EntityInteract.target
private final Entity
PlayerInteractEvent.EntityInteractSpecific.target
Modifier and TypeMethodDescriptionAttackEntityEvent.getTarget()
CriticalHitEvent.getTarget()
Returns the entity that was attacked by the player.PlayerEvent.StartTracking.getTarget()
The Entity now being tracked.PlayerEvent.StopTracking.getTarget()
The Entity no longer being tracked.PlayerInteractEvent.EntityInteract.getTarget()
PlayerInteractEvent.EntityInteractSpecific.getTarget()
ModifierConstructorDescriptionAttackEntityEvent
(Player player, Entity target) CriticalHitEvent
(Player player, Entity target, float dmgMultiplier, boolean isCriticalHit) EntityInteract
(Player player, InteractionHand hand, Entity target) EntityInteractSpecific
(Player player, InteractionHand hand, Entity target, Vec3 localPos) StartTracking
(Player player, Entity target) StopTracking
(Player player, Entity target) -
Uses of Entity in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate final @Nullable Entity
BlockDropsEvent.breaker
private final Entity
BlockEvent.EntityPlaceEvent.entity
private final Entity
BlockEvent.FarmlandTrampleEvent.entity
private final Entity
ExplosionKnockbackEvent.entity
Modifier and TypeMethodDescriptionExplosionKnockbackEvent.getAffectedEntity()
return the entity affected by the explosion knockback.@Nullable Entity
BlockDropsEvent.getBreaker()
Returns the entity that broke the block, or null if unknown.@Nullable Entity
BlockEvent.EntityPlaceEvent.getEntity()
BlockEvent.FarmlandTrampleEvent.getEntity()
Modifier and TypeMethodDescriptionExplosionEvent.Detonate.getAffectedEntities()
return the list of entities affected by the explosion.ModifierConstructorDescriptionBlockDropsEvent
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEventEntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, @Nullable Entity entity) EntityPlaceEvent
(BlockSnapshot blockSnapshot, BlockState placedAgainst, @Nullable Entity entity) ExplosionKnockbackEvent
(Level level, Explosion explosion, Entity entity, Vec3 knockbackVelocity) FarmlandTrampleEvent
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) -
Uses of Entity in net.neoforged.neoforge.event.tick
-
Uses of Entity in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionboolean
FluidType.canExtinguish
(Entity entity) Returns whether the entity can be extinguished by this fluid.boolean
FluidType.canHydrate
(Entity entity) Returns whether the entity can be hydrated by this fluid.boolean
FluidType.canPushEntity
(Entity entity) Returns whether the fluid can push an entity.boolean
FluidType.canRideVehicleUnder
(Entity vehicle, Entity rider) Returns whether the entity can ride in this vehicle under the fluid.boolean
Returns whether the entity can swim in the fluid.float
FluidType.getFallDistanceModifier
(Entity entity) Returns how much the fluid should scale the damage done to a falling entity when hitting the ground per tick.@Nullable SoundEvent
FluidType.getSound
(Entity entity, SoundAction action) Returns a sound to play when a certain action is performed by the entity in the fluid.double
FluidType.motionScale
(Entity entity) Returns how much the velocity of the fluid should be scaled by when applied to an entity. -
Uses of Entity in net.neoforged.neoforge.network
Modifier and TypeMethodDescriptionstatic void
PacketDistributor.sendToPlayersTrackingEntity
(Entity entity, CustomPacketPayload payload, CustomPacketPayload... payloads) Send the given payload(s) to all players tracking the given entitystatic void
PacketDistributor.sendToPlayersTrackingEntityAndSelf
(Entity entity, CustomPacketPayload payload, CustomPacketPayload... payloads) Send the given payload(s) to all players tracking the given entity and the entity itself if it is a player -
Uses of Entity in net.neoforged.neoforge.network.payload
Modifier and TypeMethodDescriptionprivate static byte[]
AdvancedAddEntityPayload.writeCustomData
(Entity entity) -
Uses of Entity in net.neoforged.neoforge.oldtest.client
Modifier and TypeMethodDescription@Nullable ResourceLocation
CustomArmorModelTest.EndermanArmorItem.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) -
Uses of Entity in net.neoforged.neoforge.oldtest.client.rendering
-
Uses of Entity in net.neoforged.neoforge.oldtest.entity
Modifier and TypeClassDescriptionprivate static class
private static class
-
Uses of Entity in net.neoforged.neoforge.server.timings
Modifier and TypeFieldDescriptionstatic final TimeTracker
<Entity> TimeTracker.ENTITY_UPDATE
A tracker for timing entity updates -
Uses of Entity in net.neoforged.testframework
Modifier and TypeMethodDescriptionvoid
TestFramework.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) Changes the status of a test.default void
TestListener.onDisabled
(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is disabled.default void
TestListener.onEnabled
(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is enabled.default void
TestListener.onStatusChange
(TestFramework framework, Test test, Test.Status oldStatus, Test.Status newStatus, @Nullable Entity changer) This method is called when a test changes its status.void
TestFramework.setEnabled
(Test test, boolean enabled, @Nullable Entity changer) Enables or disables a test.default void
DynamicTest.updateStatus
(Test.Status newStatus, @Nullable Entity updater) Updates the status of the test. -
Uses of Entity in net.neoforged.testframework.gametest
Modifier and TypeMethodDescription<T,
E extends Entity>
voidExtendedGameTestHelper.assertEntityProperty
(E entity, Function<E, T> function, String valueName, T expected, BiPredicate<T, T> tester) <T extends Entity>
TExtendedGameTestHelper.knockbackResistant
(T entity) <T extends Entity>
TExtendedGameTestHelper.requireEntityAt
(EntityType<T> type, int x, int y, int z) <T extends Entity>
TExtendedGameTestHelper.requireEntityAt
(EntityType<T> type, BlockPos pos) Modifier and TypeMethodDescriptionvoid
ExtendedGameTestHelper.breakBlock
(BlockPos relativePos, ItemStack tool, @Nullable Entity breakingEntity) -
Uses of Entity in net.neoforged.testframework.impl
Modifier and TypeMethodDescriptionvoid
TestFrameworkImpl.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) void
TestFrameworkImpl.setEnabled
(Test test, boolean enabled, @Nullable Entity changer) -
Uses of Entity in net.neoforged.testframework.impl.test
Modifier and TypeMethodDescriptionvoid
AbstractTest.updateStatus
(Test.Status status, @Nullable Entity changer) -
Uses of Entity in net.neoforged.testframework.registration
Modifier and TypeClassDescriptionclass
DeferredEntityTypeBuilder<E extends Entity,
T extends EntityType<E>> Modifier and TypeMethodDescription<E extends Entity>
DeferredEntityTypeBuilder<E, EntityType<E>> DeferredEntityTypes.registerType
(String name, Supplier<EntityType.Builder<E>> sup)