Modifier and Type | Method and Description |
---|---|
boolean |
EntityPredicate.func_217993_a(ServerWorld p_217993_1_,
Vec3d p_217993_2_,
Entity p_217993_3_) |
boolean |
PlayerPredicate.func_226998_a_(Entity p_226998_1_) |
boolean |
MobEffectsPredicate.test(Entity entityIn) |
boolean |
EntityFlagsPredicate.test(Entity p_217974_1_) |
boolean |
EntityEquipmentPredicate.test(Entity p_217955_1_) |
boolean |
NBTPredicate.test(Entity entityIn) |
boolean |
SummonedEntityTrigger.Instance.test(ServerPlayerEntity player,
Entity entity) |
boolean |
EntityPredicate.test(ServerPlayerEntity player,
Entity entity) |
boolean |
KilledTrigger.Instance.test(ServerPlayerEntity player,
Entity entity,
DamageSource source) |
boolean |
PlayerHurtEntityTrigger.Instance.test(ServerPlayerEntity player,
Entity entity,
DamageSource source,
float dealt,
float taken,
boolean blocked) |
void |
SummonedEntityTrigger.trigger(ServerPlayerEntity player,
Entity entity) |
void |
KilledTrigger.trigger(ServerPlayerEntity player,
Entity entity,
DamageSource source) |
void |
PlayerHurtEntityTrigger.trigger(ServerPlayerEntity player,
Entity entityIn,
DamageSource source,
float amountDealt,
float amountTaken,
boolean blocked) |
static CompoundNBT |
NBTPredicate.writeToNBTWithSelectedItem(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
ChanneledLightningTrigger.Instance.test(ServerPlayerEntity player,
java.util.Collection<? extends Entity> p_204823_2_) |
boolean |
KilledByCrossbowTrigger.Instance.test(ServerPlayerEntity p_215115_1_,
java.util.Collection<Entity> p_215115_2_,
int p_215115_3_) |
void |
ChanneledLightningTrigger.trigger(ServerPlayerEntity player,
java.util.Collection<? extends Entity> entityTriggered) |
void |
KilledByCrossbowTrigger.trigger(ServerPlayerEntity p_215105_1_,
java.util.Collection<Entity> p_215105_2_,
int p_215105_3_) |
Modifier and Type | Method and Description |
---|---|
private Entity |
CampfireBlock.func_226913_a_(Entity p_226913_1_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
TurtleEggBlock.canTrample(World worldIn,
Entity trampler) |
private void |
BedBlock.func_226860_a_(Entity p_226860_1_) |
private Entity |
CampfireBlock.func_226913_a_(Entity p_226913_1_) |
static void |
HoneyBlock.func_226931_a_(Entity p_226931_0_) |
private static void |
HoneyBlock.func_226932_a_(Entity p_226932_0_,
int p_226932_1_) |
private void |
HoneyBlock.func_226933_a_(Entity p_226933_1_,
BlockPos p_226933_2_) |
private void |
HoneyBlock.func_226934_a_(World p_226934_1_,
Entity p_226934_2_) |
private boolean |
HoneyBlock.func_226935_a_(BlockPos p_226935_1_,
Entity p_226935_2_) |
static void |
HoneyBlock.func_226936_b_(Entity p_226936_0_) |
private static boolean |
HoneyBlock.func_226937_c_(Entity p_226937_0_) |
private void |
HoneyBlock.func_226938_d_(Entity p_226938_1_) |
private void |
SlimeBlock.func_226946_a_(Entity p_226946_1_) |
static java.util.List<ItemStack> |
Block.getDrops(BlockState state,
ServerWorld worldIn,
BlockPos pos,
TileEntity tileEntityIn,
Entity entityIn,
ItemStack stack) |
float |
Block.getSlipperiness(BlockState state,
IWorldReader world,
BlockPos pos,
Entity entity) |
boolean |
BlockState.isTopSolid(IBlockReader reader,
BlockPos pos,
Entity entityIn) |
void |
BubbleColumnBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
SweetBerryBushBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
CactusBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
LilyPadBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
WebBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
HopperBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
AbstractPressurePlateBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
NetherPortalBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
HoneyBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
CampfireBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
AbstractButtonBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
EndPortalBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
FlowingFluidBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
TripWireBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
CropsBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
Block.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn)
Deprecated.
|
void |
CauldronBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
DetectorRailBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
WitherRoseBlock.onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
void |
BlockState.onEntityCollision(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
RedstoneOreBlock.onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
SlimeBlock.onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
TurtleEggBlock.onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
StairsBlock.onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
Block.onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
MagmaBlock.onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
FarmlandBlock.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
BedBlock.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
HayBlock.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
SlimeBlock.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
TurtleEggBlock.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
HoneyBlock.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
Block.onFallenUpon(World worldIn,
BlockPos pos,
Entity entityIn,
float fallDistance) |
void |
BedBlock.onLanded(IBlockReader worldIn,
Entity entityIn) |
void |
SlimeBlock.onLanded(IBlockReader worldIn,
Entity entityIn) |
void |
Block.onLanded(IBlockReader worldIn,
Entity entityIn) |
void |
TNTBlock.onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
void |
BlockState.onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
void |
ChorusFlowerBlock.onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
void |
BellBlock.onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
void |
CampfireBlock.onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
void |
Block.onProjectileCollision(World worldIn,
BlockState state,
BlockRayTraceResult hit,
Entity projectile) |
static void |
Block.spawnDrops(BlockState state,
World worldIn,
BlockPos pos,
TileEntity tileEntityIn,
Entity entityIn,
ItemStack stack) |
private void |
TurtleEggBlock.tryTrample(World worldIn,
BlockPos pos,
Entity trampler,
int p_203167_4_) |
Modifier and Type | Method and Description |
---|---|
protected <T extends AbstractMinecartEntity> |
DetectorRailBlock.findMinecarts(World worldIn,
BlockPos pos,
java.lang.Class<T> cartType,
java.util.function.Predicate<Entity> filter) |
Modifier and Type | Field and Description |
---|---|
Entity |
Minecraft.pointedEntity |
Entity |
Minecraft.renderViewEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
Minecraft.getRenderViewEntity() |
Modifier and Type | Method and Description |
---|---|
void |
Minecraft.setRenderViewEntity(Entity viewingEntity) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EntityTickableSound.field_217863_o |
Constructor and Description |
---|
EntityTickableSound(SoundEvent p_i50898_1_,
SoundCategory p_i50898_2_,
Entity p_i50898_3_) |
EntityTickableSound(SoundEvent p_i50899_1_,
SoundCategory p_i50899_2_,
float p_i50899_3_,
float p_i50899_4_,
Entity p_i50899_5_) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientPlayerEntity |
class |
ClientPlayerEntity |
class |
RemoteClientPlayerEntity |
Modifier and Type | Method and Description |
---|---|
void |
ClientPlayerEntity.onCriticalHit(Entity entityHit) |
void |
ClientPlayerEntity.onEnchantmentCritical(Entity entityHit) |
boolean |
ClientPlayerEntity.startRiding(Entity entityIn,
boolean force) |
Modifier and Type | Method and Description |
---|---|
protected void |
IngameGui.renderVignette(Entity entityIn) |
private void |
IngameGui.updateVignetteBrightness(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
void |
PlayerController.attackEntity(PlayerEntity playerIn,
Entity targetEntity) |
ActionResultType |
PlayerController.interactWithEntity(PlayerEntity player,
Entity target,
EntityRayTraceResult ray,
Hand hand) |
ActionResultType |
PlayerController.interactWithEntity(PlayerEntity player,
Entity target,
Hand hand) |
boolean |
ClientChunkProvider.isChunkLoaded(Entity entityIn) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EmitterParticle.attachedEntity |
private Entity |
ItemPickupParticle.item |
private Entity |
ItemPickupParticle.target |
Modifier and Type | Method and Description |
---|---|
void |
ParticleManager.addParticleEmitter(Entity entityIn,
IParticleData particleData) |
void |
ParticleManager.emitParticleAtEntity(Entity entityIn,
IParticleData dataIn,
int lifetimeIn) |
Constructor and Description |
---|
EmitterParticle(World p_i47638_1_,
Entity p_i47638_2_,
IParticleData p_i47638_3_) |
EmitterParticle(World p_i47639_1_,
Entity p_i47639_2_,
IParticleData p_i47639_3_,
int p_i47639_4_) |
EmitterParticle(World p_i50995_1_,
Entity p_i50995_2_,
IParticleData p_i50995_3_,
int p_i50995_4_,
Vec3d p_i50995_5_) |
ItemPickupParticle(EntityRendererManager p_i225963_1_,
RenderTypeBuffers p_i225963_2_,
World p_i225963_3_,
Entity p_i225963_4_,
Entity p_i225963_5_) |
ItemPickupParticle(EntityRendererManager p_i225964_1_,
RenderTypeBuffers p_i225964_2_,
World p_i225964_3_,
Entity p_i225964_4_,
Entity p_i225964_5_,
Vec3d p_i225964_6_) |
Modifier and Type | Field and Description |
---|---|
private Entity |
ActiveRenderInfo.renderViewEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
ActiveRenderInfo.getRenderViewEntity() |
Modifier and Type | Method and Description |
---|---|
private void |
WorldRenderer.drawSelectionBox(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
Entity entityIn,
double xIn,
double yIn,
double zIn,
BlockPos blockPosIn,
BlockState blockStateIn) |
void |
GameRenderer.loadEntityShader(Entity entityIn) |
private void |
WorldRenderer.renderEntity(Entity entityIn,
double camX,
double camY,
double camZ,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn) |
void |
ActiveRenderInfo.update(IBlockReader worldIn,
Entity renderViewEntity,
boolean thirdPersonIn,
boolean thirdPersonReverseIn,
float partialTicks) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<Entity> |
DebugRenderer.getTargetEntity(Entity entityIn,
int distance) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<Entity> |
DebugRenderer.getTargetEntity(Entity entityIn,
int distance) |
Modifier and Type | Class and Description |
---|---|
class |
EntityRenderer<T extends Entity> |
interface |
IEntityRenderer<T extends Entity,M extends EntityModel<T>> |
class |
SpriteRenderer<T extends Entity & IRendersAsItem> |
Modifier and Type | Field and Description |
---|---|
Entity |
EntityRendererManager.pointedEntity |
Modifier and Type | Method and Description |
---|---|
<E extends Entity> |
EntityRendererManager.getPackedLight(E entityIn,
float partialTicks) |
<T extends Entity> |
EntityRendererManager.getRenderer(T entityIn) |
<T extends Entity> |
EntityRendererManager.register(EntityType<T> entityTypeIn,
EntityRenderer<? super T> entityRendererIn) |
<E extends Entity> |
EntityRendererManager.renderEntityStatic(E entityIn,
double xIn,
double yIn,
double zIn,
float rotationYawIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
private <E extends Entity> |
MobRenderer.renderLeash(T entityLivingIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
E leashHolder) |
<E extends Entity> |
EntityRendererManager.shouldRender(E entityIn,
ClippingHelperImpl frustumIn,
double camX,
double camY,
double camZ) |
Modifier and Type | Method and Description |
---|---|
void |
EntityRendererManager.cacheActiveRenderInfo(World worldIn,
ActiveRenderInfo activeRenderInfoIn,
Entity entityIn) |
ResourceLocation |
SpriteRenderer.getEntityTexture(Entity entity) |
private void |
EntityRendererManager.renderBoundingBox(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
Entity entityIn,
float red,
float green,
float blue) |
private void |
EntityRendererManager.renderDebugBoundingBox(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
Entity entityIn,
float partialTicks) |
private void |
EntityRendererManager.renderFire(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
Entity entityIn) |
private static void |
EntityRendererManager.renderShadow(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
Entity entityIn,
float weightIn,
float partialTicks,
IWorldReader worldIn,
float sizeIn) |
double |
EntityRendererManager.squareDistanceTo(Entity entityIn) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEyesLayer<T extends Entity,M extends EntityModel<T>> |
class |
EnergyLayer<T extends Entity & IChargeableMob,M extends EntityModel<T>> |
class |
LayerRenderer<T extends Entity,M extends EntityModel<T>> |
class |
PhantomEyesLayer<T extends Entity> |
class |
SpiderEyesLayer<T extends Entity,M extends SpiderModel<T>> |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
StuckInBodyLayer.func_225632_a_(MatrixStack p_225632_1_,
IRenderTypeBuffer p_225632_2_,
int p_225632_3_,
Entity p_225632_4_,
float p_225632_5_,
float p_225632_6_,
float p_225632_7_,
float p_225632_8_) |
protected void |
BeeStingerLayer.func_225632_a_(MatrixStack p_225632_1_,
IRenderTypeBuffer p_225632_2_,
int p_225632_3_,
Entity p_225632_4_,
float p_225632_5_,
float p_225632_6_,
float p_225632_7_,
float p_225632_8_) |
protected void |
ArrowLayer.func_225632_a_(MatrixStack p_225632_1_,
IRenderTypeBuffer p_225632_2_,
int p_225632_3_,
Entity p_225632_4_,
float p_225632_5_,
float p_225632_6_,
float p_225632_7_,
float p_225632_8_) |
ResourceLocation |
ArmorLayer.getArmorResource(Entity entity,
ItemStack stack,
EquipmentSlotType slot,
java.lang.String type)
More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTropicalFishModel<E extends Entity> |
class |
AgeableModel<E extends Entity> |
class |
BlazeModel<T extends Entity> |
class |
ChickenModel<T extends Entity> |
class |
CodModel<T extends Entity> |
class |
CowModel<T extends Entity> |
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 |
LeashKnotModel<T extends Entity> |
class |
LlamaSpitModel<T extends Entity> |
class |
MinecartModel<T extends Entity> |
class |
OcelotModel<T extends Entity> |
class |
PhantomModel<T extends Entity> |
class |
PigModel<T extends Entity> |
class |
PufferFishBigModel<T extends Entity> |
class |
PufferFishMediumModel<T extends Entity> |
class |
PufferFishSmallModel<T extends Entity> |
class |
QuadrupedModel<T extends Entity> |
class |
SalmonModel<T extends Entity> |
class |
SegmentedModel<E extends Entity> |
class |
ShulkerBulletModel<T extends Entity> |
class |
SilverfishModel<T extends Entity> |
class |
SlimeModel<T extends Entity> |
class |
SnowManModel<T extends Entity> |
class |
SpiderModel<T extends Entity> |
class |
SquidModel<T extends Entity> |
class |
TintedAgeableModel<E extends Entity> |
class |
TropicalFishAModel<T extends Entity> |
class |
TropicalFishBModel<T extends Entity> |
class |
VillagerModel<T extends Entity> |
class |
WitchModel<T extends Entity> |
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity> |
ClientWorld.entitiesById |
private java.util.List<Entity> |
ClientWorld.globalEntities |
Modifier and Type | Method and Description |
---|---|
Entity |
ClientWorld.getEntityByID(int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Entity> |
ClientWorld.getAllEntities() |
Modifier and Type | Method and Description |
---|---|
void |
ClientWorld.addEntity(int entityIdIn,
Entity entityToSpawn) |
private void |
ClientWorld.addEntityImpl(int entityIdIn,
Entity entityToSpawn) |
void |
ClientWorld.checkChunk(Entity entityIn) |
void |
ClientWorld.playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
private void |
ClientWorld.removeEntity(Entity entityIn) |
void |
ClientWorld.updateEntity(Entity entityIn) |
void |
ClientWorld.updateEntityRidden(Entity p_217420_1_,
Entity p_217420_2_) |
Modifier and Type | Field and Description |
---|---|
private Entity |
CommandSource.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
CommandSource.assertIsEntity() |
Entity |
CommandSource.getEntity() |
Modifier and Type | Method and Description |
---|---|
CommandSource |
CommandSource.withEntity(Entity entityIn) |
CommandSource |
CommandSource.withRotation(Entity entityIn,
EntityAnchorArgument.Type anchorType) |
Constructor and Description |
---|
CommandSource(ICommandSource sourceIn,
Vec3d posIn,
Vec2f rotationIn,
ServerWorld worldIn,
int permissionLevelIn,
java.lang.String nameIn,
ITextComponent displayNameIn,
MinecraftServer serverIn,
Entity entityIn) |
CommandSource(ICommandSource sourceIn,
Vec3d posIn,
Vec2f rotationIn,
ServerWorld worldIn,
int permissionLevelIn,
java.lang.String nameIn,
ITextComponent displayNameIn,
MinecraftServer serverIn,
Entity entityIn,
boolean feedbackDisabledIn,
com.mojang.brigadier.ResultConsumer<CommandSource> resultConsumerIn,
EntityAnchorArgument.Type entityAnchorTypeIn) |
Modifier and Type | Field and Description |
---|---|
static java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> |
EntitySelectorParser.ARBITRARY |
private java.util.function.Predicate<Entity> |
EntitySelector.filter |
private java.util.function.Predicate<Entity> |
EntitySelectorParser.filter |
static java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> |
EntitySelectorParser.FURTHEST |
static java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> |
EntitySelectorParser.NEAREST |
private java.util.function.BiFunction<Vec3d,Entity,Vec3d> |
EntityAnchorArgument.Type.offsetFunc |
static java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> |
EntitySelectorParser.RANDOM |
private java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> |
EntitySelector.sorter |
private java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> |
EntitySelectorParser.sorter |
Modifier and Type | Method and Description |
---|---|
private <T extends Entity> |
EntitySelector.sortAndLimit(Vec3d pos,
java.util.List<T> entities) |
Modifier and Type | Method and Description |
---|---|
static Entity |
EntityArgument.getEntity(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
Entity |
EntitySelector.selectOne(CommandSource source) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Predicate<Entity> |
EntitySelectorParser.createRotationPredicate(MinMaxBoundsWrapped angleBounds,
java.util.function.ToDoubleFunction<Entity> angleFunc) |
static java.util.Collection<? extends Entity> |
EntityArgument.getEntities(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
static java.util.Collection<? extends Entity> |
EntityArgument.getEntitiesAllowingNone(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
java.util.List<? extends Entity> |
EntitySelector.select(CommandSource source) |
private java.util.function.Predicate<Entity> |
EntitySelector.updateFilter(Vec3d pos) |
Modifier and Type | Method and Description |
---|---|
Vec3d |
EntityAnchorArgument.Type.apply(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
void |
EntitySelectorParser.addFilter(java.util.function.Predicate<Entity> filterIn) |
private java.util.function.Predicate<Entity> |
EntitySelectorParser.createRotationPredicate(MinMaxBoundsWrapped angleBounds,
java.util.function.ToDoubleFunction<Entity> angleFunc) |
private void |
EntitySelector.getEntities(java.util.List<Entity> result,
ServerWorld worldIn,
Vec3d pos,
java.util.function.Predicate<Entity> predicate) |
private void |
EntitySelector.getEntities(java.util.List<Entity> result,
ServerWorld worldIn,
Vec3d pos,
java.util.function.Predicate<Entity> predicate) |
static ITextComponent |
EntitySelector.joinNames(java.util.List<? extends Entity> entities) |
void |
EntitySelectorParser.setSorter(java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> sorterIn) |
Constructor and Description |
---|
EntitySelector(int p_i50800_1_,
boolean p_i50800_2_,
boolean p_i50800_3_,
java.util.function.Predicate<Entity> p_i50800_4_,
MinMaxBounds.FloatBound p_i50800_5_,
java.util.function.Function<Vec3d,Vec3d> p_i50800_6_,
AxisAlignedBB p_i50800_7_,
java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> p_i50800_8_,
boolean p_i50800_9_,
java.lang.String p_i50800_10_,
java.util.UUID p_i50800_11_,
EntityType<?> p_i50800_12_,
boolean p_i50800_13_) |
EntitySelector(int p_i50800_1_,
boolean p_i50800_2_,
boolean p_i50800_3_,
java.util.function.Predicate<Entity> p_i50800_4_,
MinMaxBounds.FloatBound p_i50800_5_,
java.util.function.Function<Vec3d,Vec3d> p_i50800_6_,
AxisAlignedBB p_i50800_7_,
java.util.function.BiConsumer<Vec3d,java.util.List<? extends Entity>> p_i50800_8_,
boolean p_i50800_9_,
java.lang.String p_i50800_10_,
java.util.UUID p_i50800_11_,
EntityType<?> p_i50800_12_,
boolean p_i50800_13_) |
Type(java.lang.String nameIn,
java.util.function.BiFunction<Vec3d,Entity,Vec3d> offsetFuncIn) |
Modifier and Type | Field and Description |
---|---|
private Entity |
TeleportCommand.Facing.entity |
Modifier and Type | Method and Description |
---|---|
private static int |
LootCommand.func_218869_a(com.mojang.brigadier.context.CommandContext<CommandSource> p_218869_0_,
Entity p_218869_1_,
LootCommand.ITargetHandler p_218869_2_) |
private static void |
LootCommand.func_218901_a(Entity p_218901_0_,
java.util.List<ItemStack> p_218901_1_,
int p_218901_2_,
int p_218901_3_,
java.util.List<ItemStack> p_218901_4_) |
private static int |
SpectateCommand.func_229829_a_(CommandSource p_229829_0_,
Entity p_229829_1_,
ServerPlayerEntity p_229829_2_) |
private static void |
TeleportCommand.teleport(CommandSource source,
Entity entityIn,
ServerWorld worldIn,
double x,
double y,
double z,
java.util.Set<SPlayerPositionLookPacket.Flags> relativeList,
float yaw,
float pitch,
TeleportCommand.Facing facing) |
private static int |
TeleportCommand.teleportToEntity(CommandSource source,
java.util.Collection<? extends Entity> targets,
Entity destination) |
void |
TeleportCommand.Facing.updateLook(CommandSource source,
Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
private static int |
EffectCommand.addEffect(CommandSource source,
java.util.Collection<? extends Entity> targets,
Effect effect,
java.lang.Integer seconds,
int amplifier,
boolean showParticles) |
private static int |
TagCommand.addTag(CommandSource source,
java.util.Collection<? extends Entity> entities,
java.lang.String tagName) |
private static int |
EffectCommand.clearAllEffects(CommandSource source,
java.util.Collection<? extends Entity> targets) |
private static int |
EffectCommand.clearEffect(CommandSource source,
java.util.Collection<? extends Entity> targets,
Effect effect) |
private static double |
SpreadPlayersCommand.doSpreading(java.util.Collection<? extends Entity> targets,
ServerWorld worldIn,
SpreadPlayersCommand.Position[] positions,
boolean respectTeams) |
private static int |
EnchantCommand.enchant(CommandSource source,
java.util.Collection<? extends Entity> targets,
Enchantment enchantmentIn,
int level) |
private static int |
LootCommand.func_218865_a(java.util.Collection<? extends Entity> p_218865_0_,
int p_218865_1_,
int p_218865_2_,
java.util.List<ItemStack> p_218865_3_,
LootCommand.ISuccessListener p_218865_4_) |
private static java.util.Collection<java.lang.String> |
TagCommand.getAllTags(java.util.Collection<? extends Entity> entities) |
private static int |
SpreadPlayersCommand.getNumberOfTeams(java.util.Collection<? extends Entity> entities) |
private static int |
KillCommand.killEntities(CommandSource source,
java.util.Collection<? extends Entity> targets) |
private static int |
TagCommand.listTags(CommandSource source,
java.util.Collection<? extends Entity> entities) |
private static int |
TagCommand.removeTag(CommandSource source,
java.util.Collection<? extends Entity> entities,
java.lang.String tagName) |
private static int |
ReplaceItemCommand.replaceItemEntities(CommandSource source,
java.util.Collection<? extends Entity> targets,
int slotIn,
ItemStack newStack) |
private static int |
SpreadPlayersCommand.spreadPlayers(CommandSource source,
Vec2f center,
float spreadDistance,
float maxRange,
boolean respectTeams,
java.util.Collection<? extends Entity> targets) |
private static int |
TeleportCommand.teleportToEntity(CommandSource source,
java.util.Collection<? extends Entity> targets,
Entity destination) |
private static int |
TeleportCommand.teleportToPos(CommandSource source,
java.util.Collection<? extends Entity> targets,
ServerWorld worldIn,
ILocationArgument position,
ILocationArgument rotationIn,
TeleportCommand.Facing facing) |
Constructor and Description |
---|
Facing(Entity entityIn,
EntityAnchorArgument.Type anchorIn) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EntityDataAccessor.entity |
Constructor and Description |
---|
EntityDataAccessor(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.applyArthropodEnchantments(LivingEntity user,
Entity target) |
static void |
EnchantmentHelper.applyThornEnchantments(LivingEntity user,
Entity attacker) |
void |
DamageEnchantment.onEntityDamaged(LivingEntity user,
Entity target,
int level) |
void |
Enchantment.onEntityDamaged(LivingEntity user,
Entity target,
int level) |
void |
ThornsEnchantment.onUserHurt(LivingEntity user,
Entity attacker,
int level) |
void |
Enchantment.onUserHurt(LivingEntity user,
Entity attacker,
int level) |
Modifier and Type | Interface and Description |
---|---|
static interface |
EntitySpawnPlacementRegistry.IPlacementPredicate<T extends Entity> |
class |
EntityType<T extends Entity> |
static class |
EntityType.Builder<T extends Entity> |
static interface |
EntityType.IFactory<T extends Entity> |
Modifier and Type | Class and Description |
---|---|
class |
AgeableEntity |
class |
AreaEffectCloudEntity |
class |
CreatureEntity |
class |
FlyingEntity |
class |
LivingEntity |
class |
MobEntity |
Modifier and Type | Field and Description |
---|---|
private Entity |
MobEntity.leashHolder |
private Entity |
Entity.ridingEntity |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Entity> |
Entity.passengers |
private java.util.Map<Entity,java.lang.Integer> |
AreaEffectCloudEntity.reapplicationDelayMap |
Modifier and Type | Method and Description |
---|---|
static <T extends Entity> |
EntityType.Builder.create(EntityClassification classificationIn) |
static <T extends Entity> |
EntityType.Builder.create(EntityType.IFactory<T> factoryIn,
EntityClassification classificationIn) |
static <T extends Entity> |
EntitySpawnPlacementRegistry.func_223515_a(EntityType<T> p_223515_0_,
IWorld p_223515_1_,
SpawnReason reason,
BlockPos p_223515_3_,
java.util.Random p_223515_4_) |
private static <T extends Entity> |
EntityType.register(java.lang.String key,
EntityType.Builder<T> builder) |
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.changeDimension(DimensionType destination) |
Entity |
Entity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
static Entity |
EntityType.create(int id,
World worldIn) |
private static Entity |
EntityType.create(World worldIn,
EntityType<?> type) |
static Entity |
EntityType.func_220335_a(CompoundNBT compound,
World worldIn,
java.util.function.Function<Entity,Entity> p_220335_2_) |
Entity |
Entity.getControllingPassenger() |
Entity |
MobEntity.getLeashHolder() |
Entity |
Entity.getLowestRidingEntity() |
Entity |
Entity.getRidingEntity() |
Entity |
EntityType.spawn(World worldIn,
ItemStack stack,
PlayerEntity playerIn,
BlockPos pos,
SpawnReason reason,
boolean p_220331_6_,
boolean p_220331_7_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Entity> |
Entity.getPassengers() |
java.util.Collection<Entity> |
Entity.getRecursivePassengers() |
java.util.stream.Stream<Entity> |
Entity.getSelfAndPassengers() |
private static java.util.Optional<Entity> |
EntityType.loadEntity(CompoundNBT compound,
World worldIn) |
static java.util.Optional<Entity> |
EntityType.loadEntityUnchecked(CompoundNBT compound,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
void |
Entity.IMoveCallback.accept(Entity p_accept_1_,
double p_accept_2_,
double p_accept_4_,
double p_accept_6_) |
protected void |
Entity.addPassenger(Entity passenger) |
protected void |
Entity.applyEnchantments(LivingEntity entityLivingBaseIn,
Entity entityIn) |
void |
LivingEntity.applyEntityCollision(Entity entityIn) |
void |
Entity.applyEntityCollision(Entity entityIn) |
static void |
EntityType.applyItemNBT(World worldIn,
PlayerEntity player,
Entity spawnedEntity,
CompoundNBT itemNBT) |
void |
Entity.applyOrientationToEntity(Entity entityToUpdate) |
boolean |
LivingEntity.attackEntityAsMob(Entity entityIn) |
boolean |
MobEntity.attackEntityAsMob(Entity entityIn) |
void |
Entity.awardKillScore(Entity p_191956_1_,
int p_191956_2_,
DamageSource p_191956_3_) |
protected boolean |
Entity.canBeRidden(Entity entityIn) |
boolean |
LivingEntity.canEntityBeSeen(Entity entityIn) |
protected boolean |
Entity.canFitPassenger(Entity passenger) |
static Vec3d |
Entity.collideBoundingBoxHeuristically(Entity p_223307_0_,
Vec3d p_223307_1_,
AxisAlignedBB p_223307_2_,
World p_223307_3_,
ISelectionContext p_223307_4_,
ReuseableStream<VoxelShape> p_223307_5_) |
protected void |
LivingEntity.collideWithEntity(Entity entityIn) |
void |
Entity.copyDataFromOld(Entity entityIn) |
void |
Entity.copyLocationAndAnglesFrom(Entity entityIn) |
private void |
LivingEntity.dismountEntity(Entity entityIn) |
void |
MobEntity.faceEntity(Entity entityIn,
float maxYawIncrease,
float maxPitchIncrease) |
AxisAlignedBB |
Entity.getCollisionBox(Entity entityIn) |
float |
Entity.getDistance(Entity entityIn) |
double |
Entity.getDistanceSq(Entity entityIn) |
double |
LivingEntity.getVisibilityMultiplier(Entity lookingEntity) |
boolean |
Entity.hitByEntity(Entity entityIn) |
boolean |
Entity.isEntityEqual(Entity entityIn) |
boolean |
Entity.isOnSameTeam(Entity entityIn) |
boolean |
Entity.isPassenger(Entity entityIn) |
boolean |
Entity.isRidingOrBeingRiddenBy(Entity entityIn) |
boolean |
Entity.isRidingSameEntity(Entity entityIn) |
void |
LivingEntity.knockBack(Entity entityIn,
float strength,
double xRatio,
double zRatio) |
void |
LivingEntity.onItemPickup(Entity entityIn,
int quantity) |
void |
Entity.positionRider(Entity p_226266_1_,
Entity.IMoveCallback p_226266_2_) |
protected void |
Entity.removePassenger(Entity passenger) |
void |
LivingEntity.setLastAttackedEntity(Entity entityIn) |
void |
MobEntity.setLeashHolder(Entity entityIn,
boolean sendAttachNotification) |
boolean |
Entity.startRiding(Entity entityIn) |
boolean |
MobEntity.startRiding(Entity entityIn,
boolean force) |
boolean |
Entity.startRiding(Entity entityIn,
boolean force) |
void |
Entity.updatePassenger(Entity passenger) |
Modifier and Type | Method and Description |
---|---|
static Entity |
EntityType.func_220335_a(CompoundNBT compound,
World worldIn,
java.util.function.Function<Entity,Entity> p_220335_2_) |
static Entity |
EntityType.func_220335_a(CompoundNBT compound,
World worldIn,
java.util.function.Function<Entity,Entity> p_220335_2_) |
private void |
Entity.getRecursivePassengers(boolean playersOnly,
java.util.Set<Entity> p_200604_2_) |
boolean |
Entity.isPassenger(java.lang.Class<? extends Entity> p_205708_1_) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Entity> |
EntitySenses.seenEntities |
private java.util.List<Entity> |
EntitySenses.unseenEntities |
Modifier and Type | Method and Description |
---|---|
boolean |
EntitySenses.canSee(Entity entityIn) |
Modifier and Type | Field and Description |
---|---|
private MemoryModuleType<? extends Entity> |
FleeTask.field_220541_a |
Modifier and Type | Method and Description |
---|---|
static void |
FleeTask.func_220540_a(CreatureEntity p_220540_0_,
Entity p_220540_1_,
float speedIn) |
Constructor and Description |
---|
FleeTask(MemoryModuleType<? extends Entity> p_i50346_1_,
float p_i50346_2_) |
Modifier and Type | Method and Description |
---|---|
private static double |
LookController.getEyePosition(Entity p_220676_0_) |
void |
LookController.setLookPositionWithEntity(Entity entityIn,
float deltaYaw,
float deltaPitch) |
Modifier and Type | Field and Description |
---|---|
protected Entity |
LookAtGoal.closestEntity |
Modifier and Type | Method and Description |
---|---|
protected BlockPos |
PanicGoal.getRandPos(IBlockReader worldIn,
Entity entityIn,
int horizontalRange,
int verticalRange) |
Modifier and Type | Class and Description |
---|---|
class |
WitherEntity |
Modifier and Type | Method and Description |
---|---|
protected boolean |
WitherEntity.canBeRidden(Entity entityIn) |
Modifier and Type | Class and Description |
---|---|
class |
EnderDragonEntity |
class |
EnderDragonPartEntity |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EnderDragonEntity.canBeRidden(Entity entityIn) |
boolean |
EnderDragonPartEntity.isEntityEqual(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
private void |
EnderDragonEntity.attackEntitiesInList(java.util.List<Entity> p_70971_1_) |
private void |
EnderDragonEntity.collideWithEntities(java.util.List<Entity> p_70970_1_) |
Modifier and Type | Class and Description |
---|---|
class |
LightningBoltEntity |
Modifier and Type | Class and Description |
---|---|
class |
ArmorStandEntity |
class |
BoatEntity |
class |
EnderCrystalEntity |
class |
EnderPearlEntity |
class |
ExperienceBottleEntity |
class |
ExperienceOrbEntity |
class |
EyeOfEnderEntity |
class |
FallingBlockEntity |
class |
FireworkRocketEntity |
class |
HangingEntity |
class |
ItemEntity |
class |
ItemFrameEntity |
class |
LeashKnotEntity |
class |
PaintingEntity |
class |
TNTEntity |
Modifier and Type | Field and Description |
---|---|
protected static java.util.function.Predicate<Entity> |
HangingEntity.IS_HANGING_ENTITY |
private static java.util.function.Predicate<Entity> |
ArmorStandEntity.IS_RIDEABLE_MINECART |
Modifier and Type | Method and Description |
---|---|
Entity |
EnderPearlEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Entity |
ItemEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Entity |
BoatEntity.getControllingPassenger() |
Modifier and Type | Method and Description |
---|---|
protected void |
BoatEntity.addPassenger(Entity passenger) |
void |
BoatEntity.applyEntityCollision(Entity entityIn) |
void |
BoatEntity.applyOrientationToEntity(Entity entityToUpdate) |
protected void |
BoatEntity.applyYawToEntity(Entity entityToUpdate) |
protected boolean |
BoatEntity.canFitPassenger(Entity passenger) |
protected void |
ArmorStandEntity.collideWithEntity(Entity entityIn) |
private void |
ItemFrameEntity.dropItemOrSelf(Entity entityIn,
boolean p_146065_2_) |
AxisAlignedBB |
BoatEntity.getCollisionBox(Entity entityIn) |
boolean |
ArmorStandEntity.hitByEntity(Entity entityIn) |
boolean |
HangingEntity.hitByEntity(Entity entityIn) |
void |
ItemFrameEntity.onBroken(Entity brokenEntity) |
void |
PaintingEntity.onBroken(Entity brokenEntity) |
void |
LeashKnotEntity.onBroken(Entity brokenEntity) |
abstract void |
HangingEntity.onBroken(Entity brokenEntity) |
void |
BoatEntity.updatePassenger(Entity passenger) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMinecartEntity |
class |
ChestMinecartEntity |
class |
ContainerMinecartEntity |
class |
FurnaceMinecartEntity |
class |
HopperMinecartEntity |
class |
MinecartCommandBlockEntity |
class |
MinecartEntity |
class |
SpawnerMinecartEntity |
class |
TNTMinecartEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
ContainerMinecartEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMinecartEntity.applyEntityCollision(Entity entityIn) |
AxisAlignedBB |
AbstractMinecartEntity.getCollisionBox(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
void |
IReputationTracking.updateReputation(IReputationType type,
Entity target) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVillagerEntity |
class |
VillagerEntity |
class |
WanderingTraderEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
AbstractVillagerEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Modifier and Type | Method and Description |
---|---|
private void |
VillagerEntity.func_223361_a(Entity p_223361_1_) |
MerchantOffer |
VillagerTrades.DyedArmorForEmeraldsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.EmeraldForItemsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.EmeraldForMapTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.EmeraldForVillageTypeItemTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.EnchantedBookForEmeraldsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.EnchantedItemForEmeraldsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.ITrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.ItemsForEmeraldsAndItemsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.ItemsForEmeraldsTrade.getOffer(Entity trader,
java.util.Random rand) |
MerchantOffer |
VillagerTrades.SuspiciousStewForEmeraldTrade.getOffer(Entity trader,
java.util.Random rand) |
void |
VillagerEntity.updateReputation(IReputationType type,
Entity target) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIllagerEntity |
class |
AbstractRaiderEntity |
class |
AbstractSkeletonEntity |
class |
BlazeEntity |
class |
CaveSpiderEntity |
class |
CreeperEntity |
class |
DrownedEntity |
class |
ElderGuardianEntity |
class |
EndermanEntity |
class |
EndermiteEntity |
class |
EvokerEntity |
class |
GhastEntity |
class |
GiantEntity |
class |
GuardianEntity |
class |
HuskEntity |
class |
IllusionerEntity |
class |
MagmaCubeEntity |
class |
MonsterEntity |
class |
PatrollerEntity |
class |
PhantomEntity |
class |
PillagerEntity |
class |
RavagerEntity |
class |
ShulkerEntity |
class |
SilverfishEntity |
class |
SkeletonEntity |
class |
SlimeEntity |
class |
SpellcastingIllagerEntity |
class |
SpiderEntity |
class |
StrayEntity |
class |
VexEntity |
class |
VindicatorEntity |
class |
WitchEntity |
class |
WitherSkeletonEntity |
class |
ZombieEntity |
class |
ZombiePigmanEntity |
class |
ZombieVillagerEntity |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<Entity> |
RavagerEntity.field_213690_b |
Modifier and Type | Method and Description |
---|---|
Entity |
RavagerEntity.getControllingPassenger() |
Modifier and Type | Method and Description |
---|---|
void |
ShulkerEntity.applyEntityCollision(Entity entityIn) |
void |
SlimeEntity.applyEntityCollision(Entity entityIn) |
boolean |
ZombieEntity.attackEntityAsMob(Entity entityIn) |
boolean |
WitherSkeletonEntity.attackEntityAsMob(Entity entityIn) |
boolean |
CreeperEntity.attackEntityAsMob(Entity entityIn) |
boolean |
CaveSpiderEntity.attackEntityAsMob(Entity entityIn) |
boolean |
HuskEntity.attackEntityAsMob(Entity entityIn) |
boolean |
RavagerEntity.attackEntityAsMob(Entity entityIn) |
boolean |
RavagerEntity.canEntityBeSeen(Entity entityIn) |
boolean |
IllusionerEntity.isOnSameTeam(Entity entityIn) |
boolean |
PillagerEntity.isOnSameTeam(Entity entityIn) |
boolean |
VindicatorEntity.isOnSameTeam(Entity entityIn) |
boolean |
EvokerEntity.isOnSameTeam(Entity entityIn) |
private void |
RavagerEntity.launch(Entity p_213688_1_) |
private boolean |
EndermanEntity.teleportToEntity(Entity p_70816_1_) |
Modifier and Type | Class and Description |
---|---|
class |
AmbientEntity |
class |
AnimalEntity |
class |
BatEntity |
class |
BeeEntity |
class |
CatEntity |
class |
ChickenEntity |
class |
CowEntity |
class |
DolphinEntity |
class |
FoxEntity |
class |
GolemEntity |
class |
IronGolemEntity |
class |
MooshroomEntity |
class |
OcelotEntity |
class |
PandaEntity |
class |
ParrotEntity |
class |
PigEntity |
class |
PolarBearEntity |
class |
RabbitEntity |
class |
SheepEntity |
class |
ShoulderRidingEntity |
class |
SnowGolemEntity |
class |
SquidEntity |
class |
TameableEntity |
class |
TurtleEntity |
class |
WaterMobEntity |
class |
WolfEntity |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<Entity> |
FoxEntity.IS_PREY |
private static java.util.function.Predicate<Entity> |
FoxEntity.SHOULD_AVOID |
private static java.util.function.Predicate<Entity> |
FoxEntity.STALKABLE_PREY |
Modifier and Type | Method and Description |
---|---|
Entity |
PigEntity.getControllingPassenger() |
Modifier and Type | Method and Description |
---|---|
boolean |
WolfEntity.attackEntityAsMob(Entity entityIn) |
boolean |
CatEntity.attackEntityAsMob(Entity entityIn) |
boolean |
DolphinEntity.attackEntityAsMob(Entity entityIn) |
boolean |
IronGolemEntity.attackEntityAsMob(Entity entityIn) |
boolean |
RabbitEntity.attackEntityAsMob(Entity entityIn) |
boolean |
PandaEntity.attackEntityAsMob(Entity entityIn) |
boolean |
ParrotEntity.attackEntityAsMob(Entity entityIn) |
boolean |
OcelotEntity.attackEntityAsMob(Entity entityIn) |
boolean |
PolarBearEntity.attackEntityAsMob(Entity entityIn) |
boolean |
BeeEntity.attackEntityAsMob(Entity entityIn) |
protected boolean |
DolphinEntity.canBeRidden(Entity entityIn) |
protected void |
BatEntity.collideWithEntity(Entity entityIn) |
protected void |
IronGolemEntity.collideWithEntity(Entity entityIn) |
protected void |
ParrotEntity.collideWithEntity(Entity entityIn) |
boolean |
TameableEntity.isOnSameTeam(Entity entityIn) |
static void |
ParrotEntity.playAmbientSound(World worldIn,
Entity parrotIn) |
private static boolean |
ParrotEntity.playMimicSound(World worldIn,
Entity parrotIn) |
boolean |
BeeEntity.setBeeAttacker(Entity attacker) |
void |
ChickenEntity.updatePassenger(Entity passenger) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFishEntity |
class |
AbstractGroupFishEntity |
class |
CodEntity |
class |
PufferfishEntity |
class |
SalmonEntity |
class |
TropicalFishEntity |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChestedHorseEntity |
class |
AbstractHorseEntity |
class |
DonkeyEntity |
class |
HorseEntity |
class |
LlamaEntity |
class |
MuleEntity |
class |
SkeletonHorseEntity |
class |
TraderLlamaEntity |
class |
ZombieHorseEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
AbstractHorseEntity.getControllingPassenger() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHorseEntity.updatePassenger(Entity passenger) |
void |
LlamaEntity.updatePassenger(Entity passenger) |
Modifier and Type | Class and Description |
---|---|
class |
PlayerEntity |
class |
ServerPlayerEntity |
Modifier and Type | Field and Description |
---|---|
private Entity |
ServerPlayerEntity.spectatingEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
ServerPlayerEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Entity |
ServerPlayerEntity.getSpectatingEntity() |
Modifier and Type | Method and Description |
---|---|
void |
ServerPlayerEntity.addEntity(Entity entityIn) |
void |
PlayerEntity.attackTargetEntityWithCurrentItem(Entity targetEntity) |
void |
ServerPlayerEntity.attackTargetEntityWithCurrentItem(Entity targetEntity) |
void |
ServerPlayerEntity.awardKillScore(Entity p_191956_1_,
int p_191956_2_,
DamageSource p_191956_3_) |
private void |
PlayerEntity.collideWithPlayer(Entity entityIn) |
ActionResultType |
PlayerEntity.interactOn(Entity entityToInteractOn,
Hand hand) |
void |
ServerPlayerEntity.lookAt(EntityAnchorArgument.Type p_200618_1_,
Entity p_200618_2_,
EntityAnchorArgument.Type p_200618_3_) |
void |
PlayerEntity.onCriticalHit(Entity entityHit) |
void |
ServerPlayerEntity.onCriticalHit(Entity entityHit) |
void |
PlayerEntity.onEnchantmentCritical(Entity entityHit) |
void |
ServerPlayerEntity.onEnchantmentCritical(Entity entityHit) |
void |
ServerPlayerEntity.onItemPickup(Entity entityIn,
int quantity) |
void |
ServerPlayerEntity.removeEntity(Entity entityIn) |
void |
ServerPlayerEntity.setSpectatingEntity(Entity entityToSpectate) |
boolean |
ServerPlayerEntity.startRiding(Entity entityIn,
boolean force) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractArrowEntity |
class |
AbstractFireballEntity |
class |
ArrowEntity |
class |
DamagingProjectileEntity |
class |
DragonFireballEntity |
class |
EggEntity |
class |
EvokerFangsEntity |
class |
FireballEntity |
class |
FishingBobberEntity |
class |
LlamaSpitEntity |
class |
PotionEntity |
class |
ProjectileItemEntity |
class |
ShulkerBulletEntity |
class |
SmallFireballEntity |
class |
SnowballEntity |
class |
SpectralArrowEntity |
class |
ThrowableEntity |
class |
TridentEntity |
class |
WitherSkullEntity |
Modifier and Type | Field and Description |
---|---|
Entity |
FishingBobberEntity.caughtEntity |
private Entity |
ThrowableEntity.ignoreEntity |
private Entity |
ShulkerBulletEntity.target |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Entity> |
AbstractArrowEntity.hitEntities |
Modifier and Type | Method and Description |
---|---|
Entity |
AbstractArrowEntity.getShooter() |
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<Entity> |
ProjectileHelper.getEntityAndMount(Entity rider) |
Modifier and Type | Method and Description |
---|---|
private void |
PotionEntity.func_213888_a(java.util.List<EffectInstance> p_213888_1_,
Entity p_213888_2_) |
private static java.util.Set<Entity> |
ProjectileHelper.getEntityAndMount(Entity rider) |
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
RayTraceContext.BlockMode blockModeIn,
boolean checkEntityCollision) |
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn) |
private static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn,
boolean p_221268_5_,
java.util.function.Predicate<Entity> filter,
AxisAlignedBB boundingBox) |
static EntityRayTraceResult |
ProjectileHelper.rayTraceEntities(Entity shooter,
Vec3d startVec,
Vec3d endVec,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
double distance) |
static EntityRayTraceResult |
ProjectileHelper.rayTraceEntities(World worldIn,
Entity projectile,
Vec3d startVec,
Vec3d endVec,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter) |
static EntityRayTraceResult |
ProjectileHelper.rayTraceEntities(World worldIn,
Entity projectile,
Vec3d startVec,
Vec3d endVec,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
double distance) |
static void |
ProjectileHelper.rotateTowardsMovement(Entity projectile,
float rotationSpeed) |
void |
AbstractArrowEntity.setShooter(Entity entityIn) |
void |
ThrowableEntity.shoot(Entity entityThrower,
float rotationPitchIn,
float rotationYawIn,
float pitchOffset,
float velocity,
float inaccuracy) |
void |
AbstractArrowEntity.shoot(Entity shooter,
float pitch,
float yaw,
float p_184547_4_,
float velocity,
float inaccuracy) |
Modifier and Type | Method and Description |
---|---|
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
RayTraceContext.BlockMode blockModeIn,
boolean checkEntityCollision) |
private static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn,
boolean p_221268_5_,
java.util.function.Predicate<Entity> filter,
AxisAlignedBB boundingBox) |
static EntityRayTraceResult |
ProjectileHelper.rayTraceEntities(Entity shooter,
Vec3d startVec,
Vec3d endVec,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
double distance) |
static EntityRayTraceResult |
ProjectileHelper.rayTraceEntities(World worldIn,
Entity projectile,
Vec3d startVec,
Vec3d endVec,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter) |
static EntityRayTraceResult |
ProjectileHelper.rayTraceEntities(World worldIn,
Entity projectile,
Vec3d startVec,
Vec3d endVec,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
double distance) |
Constructor and Description |
---|
ShulkerBulletEntity(World worldIn,
LivingEntity ownerIn,
Entity targetIn,
Direction.Axis p_i46772_4_) |
Modifier and Type | Method and Description |
---|---|
static void |
InventoryHelper.dropInventoryItems(World worldIn,
Entity entityAt,
IInventory inventory) |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<Entity> |
BoatItem.field_219989_a |
Modifier and Type | Method and Description |
---|---|
void |
FilledMapItem.inventoryTick(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
void |
Item.inventoryTick(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
void |
ItemStack.inventoryTick(World worldIn,
Entity entityIn,
int inventorySlot,
boolean isCurrentItem) |
void |
FilledMapItem.updateMapData(World worldIn,
Entity viewer,
MapData data) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EntityDataManager.entity |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends Entity>,java.lang.Integer> |
EntityDataManager.NEXT_ID_MAP |
Modifier and Type | Method and Description |
---|---|
static <T> DataParameter<T> |
EntityDataManager.createKey(java.lang.Class<? extends Entity> clazz,
IDataSerializer<T> serializer) |
Constructor and Description |
---|
EntityDataManager(Entity entityIn) |
Modifier and Type | Field and Description |
---|---|
private Entity |
ServerPlayNetHandler.lowestRiddenEnt |
Modifier and Type | Method and Description |
---|---|
Entity |
CSpectatePacket.getEntity(ServerWorld worldIn) |
Entity |
CUseEntityPacket.getEntityFromWorld(World worldIn) |
Constructor and Description |
---|
CEntityActionPacket(Entity entityIn,
CEntityActionPacket.Action actionIn) |
CEntityActionPacket(Entity entityIn,
CEntityActionPacket.Action actionIn,
int auxDataIn) |
CMoveVehiclePacket(Entity entityIn) |
CUseEntityPacket(Entity entityIn) |
CUseEntityPacket(Entity entityIn,
Hand handIn) |
CUseEntityPacket(Entity entityIn,
Hand handIn,
Vec3d hitVecIn) |
Modifier and Type | Method and Description |
---|---|
Entity |
SEntityHeadLookPacket.getEntity(World worldIn) |
Entity |
SRemoveEntityEffectPacket.getEntity(World worldIn) |
Entity |
SEntityPacket.getEntity(World worldIn) |
Entity |
SCameraPacket.getEntity(World worldIn) |
Entity |
SEntityStatusPacket.getEntity(World worldIn) |
Constructor and Description |
---|
SAnimateHandPacket(Entity entityIn,
int typeIn) |
SCameraPacket(Entity entityIn) |
SEntityHeadLookPacket(Entity entityIn,
byte yawIn) |
SEntityStatusPacket(Entity entityIn,
byte opcodeIn) |
SEntityTeleportPacket(Entity entityIn) |
SEntityVelocityPacket(Entity entityIn) |
SMountEntityPacket(Entity entityIn,
Entity vehicleIn) |
SMoveVehiclePacket(Entity entityIn) |
SPlayerLookPacket(EntityAnchorArgument.Type p_i48590_1_,
Entity p_i48590_2_,
EntityAnchorArgument.Type p_i48590_3_) |
SSetPassengersPacket(Entity entityIn) |
SSpawnGlobalEntityPacket(Entity entityIn) |
SSpawnMovingSoundEffectPacket(SoundEvent p_i50763_1_,
SoundCategory p_i50763_2_,
Entity p_i50763_3_,
float p_i50763_4_,
float p_i50763_5_) |
SSpawnObjectPacket(Entity p_i50778_1_) |
SSpawnObjectPacket(Entity p_i50779_1_,
EntityType<?> p_i50779_2_,
int p_i50779_3_,
BlockPos p_i50779_4_) |
SSpawnObjectPacket(Entity entityIn,
int typeIn) |
Modifier and Type | Method and Description |
---|---|
Path |
PathNavigator.getPathToEntity(Entity entityIn,
int p_75494_2_) |
Path |
GroundPathNavigator.getPathToEntity(Entity entityIn,
int p_75494_2_) |
Path |
ClimberPathNavigator.getPathToEntity(Entity entityIn,
int p_75494_2_) |
Path |
FlyingPathNavigator.getPathToEntity(Entity entityIn,
int p_75494_2_) |
Vec3d |
Path.getPosition(Entity entityIn) |
Vec3d |
Path.getVectorFromIndex(Entity entityIn,
int index) |
boolean |
PathNavigator.tryMoveToEntityLiving(Entity entityIn,
double speedIn) |
boolean |
ClimberPathNavigator.tryMoveToEntityLiving(Entity entityIn,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
void |
Effect.affectEntity(Entity source,
Entity indirectSource,
LivingEntity entityLivingBaseIn,
int amplifier,
double health) |
Modifier and Type | Method and Description |
---|---|
void |
Scoreboard.removeEntity(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Entity> |
BeehiveTileEntity.tryReleaseBee(BlockState p_226965_1_,
BeehiveTileEntity.State p_226965_2_) |
Modifier and Type | Method and Description |
---|---|
private void |
PistonTileEntity.fixEntityWithinPistonBase(Entity p_190605_1_,
Direction p_190605_2_,
double p_190605_3_) |
private static boolean |
PistonTileEntity.func_227021_a_(AxisAlignedBB p_227021_0_,
Entity p_227021_1_) |
private static void |
PistonTileEntity.func_227022_a_(Direction p_227022_0_,
Entity p_227022_1_,
double p_227022_2_,
Direction p_227022_4_) |
void |
HopperTileEntity.onEntityCollision(Entity p_200113_1_) |
void |
EndGatewayTileEntity.teleportEntity(Entity entityIn) |
void |
BeehiveTileEntity.tryEnterHive(Entity p_226961_1_,
boolean p_226961_2_) |
void |
BeehiveTileEntity.tryEnterHive(Entity p_226962_1_,
boolean p_226962_2_,
int p_226962_3_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
BeehiveTileEntity.releaseBee(BlockState p_226967_1_,
CompoundNBT p_226967_2_,
java.util.List<Entity> p_226967_3_,
BeehiveTileEntity.State p_226967_4_) |
Modifier and Type | Field and Description |
---|---|
protected Entity |
EntityDamageSource.damageSourceEntity |
private Entity |
IndirectEntityDamageSource.indirectEntity |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<Entity> |
EntityPredicates.CAN_AI_TARGET |
static java.util.function.Predicate<Entity> |
EntityPredicates.HAS_INVENTORY |
static java.util.function.Predicate<Entity> |
EntityPredicates.IS_ALIVE |
static java.util.function.Predicate<Entity> |
EntityPredicates.IS_STANDALONE |
static java.util.function.Predicate<Entity> |
EntityPredicates.NOT_SPECTATING |
Modifier and Type | Method and Description |
---|---|
Entity |
DamageSource.getImmediateSource() |
Entity |
IndirectEntityDamageSource.getImmediateSource() |
Entity |
DamageSource.getTrueSource() |
Entity |
IndirectEntityDamageSource.getTrueSource() |
Entity |
EntityDamageSource.getTrueSource() |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Predicate<Entity> |
EntityPredicates.notRiding(Entity entityIn) |
static java.util.function.Predicate<Entity> |
EntityPredicates.pushableBy(Entity entityIn) |
static java.util.function.Predicate<Entity> |
EntityPredicates.withinRange(double x,
double y,
double z,
double range) |
Modifier and Type | Method and Description |
---|---|
static DamageSource |
DamageSource.causeArrowDamage(AbstractArrowEntity arrow,
Entity indirectEntityIn) |
static DamageSource |
DamageSource.causeFireballDamage(DamagingProjectileEntity fireball,
Entity indirectEntityIn) |
static DamageSource |
DamageSource.causeIndirectDamage(Entity source,
LivingEntity indirectEntityIn) |
static DamageSource |
DamageSource.causeIndirectMagicDamage(Entity source,
Entity indirectEntityIn) |
static DamageSource |
DamageSource.causeThornsDamage(Entity source) |
static DamageSource |
DamageSource.causeThrownDamage(Entity source,
Entity indirectEntityIn) |
static DamageSource |
DamageSource.causeTridentDamage(Entity source,
Entity indirectEntityIn) |
static Direction[] |
Direction.getFacingDirections(Entity entityIn) |
static java.util.function.Predicate<Entity> |
EntityPredicates.notRiding(Entity entityIn) |
static java.util.function.Predicate<Entity> |
EntityPredicates.pushableBy(Entity entityIn) |
boolean |
EntityPredicates.ArmoredMob.test(Entity p_test_1_) |
Constructor and Description |
---|
EntityDamageSource(java.lang.String damageTypeIn,
Entity damageSourceEntityIn) |
IndirectEntityDamageSource(java.lang.String damageTypeIn,
Entity source,
Entity indirectEntityIn) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EntityPosWrapper.entity |
private Entity |
EntityRayTraceResult.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
EntityRayTraceResult.getEntity() |
Modifier and Type | Method and Description |
---|---|
static SectionPos |
SectionPos.from(Entity p_218157_0_) |
static BlockPos.PooledMutable |
BlockPos.PooledMutable.retain(Entity entityIn) |
BlockPos.Mutable |
BlockPos.Mutable.setPos(Entity entityIn) |
BlockPos.PooledMutable |
BlockPos.PooledMutable.setPos(Entity entityIn) |
Constructor and Description |
---|
BlockPos(Entity source) |
EntityPosWrapper(Entity parentScreenIn) |
EntityRayTraceResult(Entity entityIn) |
EntityRayTraceResult(Entity entityIn,
Vec3d hitVec) |
Mutable(Entity p_i226062_1_) |
RayTraceContext(Vec3d startVecIn,
Vec3d endVecIn,
RayTraceContext.BlockMode blockModeIn,
RayTraceContext.FluidMode fluidModeIn,
Entity entityIn) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EntitySelectionContext.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
EntitySelectionContext.getEntity() |
Modifier and Type | Method and Description |
---|---|
static ISelectionContext |
ISelectionContext.forEntity(Entity entityIn) |
Constructor and Description |
---|
EntitySelectionContext(Entity entityIn)
Deprecated.
|
EntitySelectionContext(Entity entityIn,
boolean sneaking,
double p_i51181_2_,
Item itemIn) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
NBTTextComponent.createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
ITextComponent |
ScoreTextComponent.createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
ITextComponent |
SelectorTextComponent.createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
ITextComponent |
TranslationTextComponent.createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
ITextComponent |
ITargetedTextComponent.createNames(CommandSource p_197668_1_,
Entity p_197668_2_,
int p_197668_3_) |
static ITextComponent |
TextComponentUtils.updateForEntity(CommandSource p_197680_0_,
ITextComponent p_197680_1_,
Entity p_197680_2_,
int p_197680_3_) |
Modifier and Type | Field and Description |
---|---|
private Entity |
Explosion.exploder |
private Entity |
TrackedEntity.trackedEntity |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Entity> |
TrackedEntity.passengers |
Modifier and Type | Method and Description |
---|---|
default <T extends Entity> |
IEntityReader.getEntitiesWithinAABB(java.lang.Class<? extends T> p_217357_1_,
AxisAlignedBB p_217357_2_) |
<T extends Entity> |
World.getEntitiesWithinAABB(java.lang.Class<? extends T> clazz,
AxisAlignedBB aabb,
java.util.function.Predicate<? super T> filter) |
<T extends Entity> |
IEntityReader.getEntitiesWithinAABB(java.lang.Class<? extends T> clazz,
AxisAlignedBB aabb,
java.util.function.Predicate<? super T> filter) |
<T extends Entity> |
World.getEntitiesWithinAABB(EntityType<T> type,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super T> predicate) |
default <T extends Entity> |
IEntityReader.getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225317_1_,
AxisAlignedBB p_225317_2_) |
<T extends Entity> |
World.getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225316_1_,
AxisAlignedBB p_225316_2_,
java.util.function.Predicate<? super T> p_225316_3_) |
default <T extends Entity> |
IEntityReader.getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225316_1_,
AxisAlignedBB p_225316_2_,
java.util.function.Predicate<? super T> p_225316_3_) |
Modifier and Type | Method and Description |
---|---|
abstract Entity |
World.getEntityByID(int id) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Entity> |
World.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
java.util.List<Entity> |
IEntityReader.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
default java.util.List<Entity> |
IEntityReader.getEntitiesWithinAABBExcludingEntity(Entity entityIn,
AxisAlignedBB bb) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IWorldWriter.addEntity(Entity entityIn) |
default boolean |
ICollisionReader.checkNoEntityCollision(Entity p_226668_1_) |
default boolean |
IWorld.checkNoEntityCollision(Entity entityIn,
VoxelShape shape) |
default boolean |
ICollisionReader.checkNoEntityCollision(Entity entityIn,
VoxelShape shape) |
default boolean |
IEntityReader.checkNoEntityCollision(Entity entityIn,
VoxelShape shape) |
Explosion |
World.createExplosion(Entity entityIn,
DamageSource damageSourceIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
boolean causesFire,
Explosion.Mode modeIn) |
Explosion |
World.createExplosion(Entity entityIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
boolean causesFire,
Explosion.Mode modeIn) |
Explosion |
World.createExplosion(Entity entityIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
Explosion.Mode modeIn) |
boolean |
World.destroyBlock(BlockPos p_225521_1_,
boolean p_225521_2_,
Entity p_225521_3_) |
boolean |
IWorldWriter.destroyBlock(BlockPos p_225521_1_,
boolean p_225521_2_,
Entity p_225521_3_) |
static float |
Explosion.getBlockDensity(Vec3d p_222259_0_,
Entity p_222259_1_) |
default PlayerEntity |
IEntityReader.getClosestPlayer(Entity entityIn,
double distance) |
default java.util.stream.Stream<VoxelShape> |
ICollisionReader.getCollisionShapes(Entity p_226666_1_,
AxisAlignedBB p_226666_2_) |
default java.util.stream.Stream<VoxelShape> |
ICollisionReader.getCollisionShapes(Entity p_226667_1_,
AxisAlignedBB p_226667_2_,
java.util.Set<Entity> p_226667_3_) |
default java.util.stream.Stream<VoxelShape> |
IWorld.getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
default java.util.stream.Stream<VoxelShape> |
ICollisionReader.getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
default java.util.stream.Stream<VoxelShape> |
IEntityReader.getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
java.util.List<Entity> |
World.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
java.util.List<Entity> |
IEntityReader.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
default java.util.List<Entity> |
IEntityReader.getEntitiesWithinAABBExcludingEntity(Entity entityIn,
AxisAlignedBB bb) |
void |
World.guardEntityTick(java.util.function.Consumer<Entity> consumerEntity,
Entity entityIn) |
default boolean |
ICollisionReader.hasNoCollisions(Entity p_226669_1_) |
default boolean |
ICollisionReader.hasNoCollisions(Entity p_226665_1_,
AxisAlignedBB p_226665_2_) |
default boolean |
ICollisionReader.hasNoCollisions(Entity p_226662_1_,
AxisAlignedBB p_226662_2_,
java.util.Set<Entity> p_226662_3_) |
boolean |
World.isTopSolid(BlockPos pos,
Entity entityIn) |
boolean |
Teleporter.makePortal(Entity entityIn) |
boolean |
Teleporter.placeInPortal(Entity p_222268_1_,
float p_222268_2_) |
abstract void |
World.playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
void |
World.setEntityState(Entity entityIn,
byte state) |
Modifier and Type | Method and Description |
---|---|
default PlayerEntity |
IEntityReader.getClosestPlayer(double x,
double y,
double z,
double distance,
java.util.function.Predicate<Entity> predicate) |
default java.util.stream.Stream<VoxelShape> |
ICollisionReader.getCollisionShapes(Entity p_226667_1_,
AxisAlignedBB p_226667_2_,
java.util.Set<Entity> p_226667_3_) |
default java.util.stream.Stream<VoxelShape> |
IWorld.getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
default java.util.stream.Stream<VoxelShape> |
ICollisionReader.getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
default java.util.stream.Stream<VoxelShape> |
IEntityReader.getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
java.util.List<Entity> |
World.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
java.util.List<Entity> |
IEntityReader.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
void |
World.guardEntityTick(java.util.function.Consumer<Entity> consumerEntity,
Entity entityIn) |
default boolean |
ICollisionReader.hasNoCollisions(Entity p_226662_1_,
AxisAlignedBB p_226662_2_,
java.util.Set<Entity> p_226662_3_) |
Constructor and Description |
---|
Explosion(World worldIn,
Entity exploderIn,
double xIn,
double yIn,
double zIn,
float sizeIn,
boolean causesFireIn,
Explosion.Mode modeIn) |
Explosion(World worldIn,
Entity exploderIn,
double xIn,
double yIn,
double zIn,
float sizeIn,
boolean causesFireIn,
Explosion.Mode modeIn,
java.util.List<BlockPos> affectedBlockPositionsIn) |
Explosion(World worldIn,
Entity entityIn,
double x,
double y,
double z,
float size,
java.util.List<BlockPos> affectedPositions) |
TrackedEntity(ServerWorld p_i50704_1_,
Entity p_i50704_2_,
int p_i50704_3_,
boolean p_i50704_4_,
java.util.function.Consumer<IPacket<?>> p_i50704_5_) |
Modifier and Type | Method and Description |
---|---|
double |
WorldBorder.getClosestDistance(Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
EmptyChunk.getEntitiesOfTypeWithinAABB(java.lang.Class<? extends T> entityClass,
AxisAlignedBB aabb,
java.util.List<T> listToFill,
java.util.function.Predicate<? super T> filter) |
<T extends Entity> |
Chunk.getEntitiesOfTypeWithinAABB(java.lang.Class<? extends T> entityClass,
AxisAlignedBB aabb,
java.util.List<T> listToFill,
java.util.function.Predicate<? super T> filter) |
<T extends Entity> |
Chunk.getEntitiesWithinAABBForList(EntityType<?> entitytypeIn,
AxisAlignedBB aabb,
java.util.List<? super T> list,
java.util.function.Predicate<? super T> filter) |
Modifier and Type | Method and Description |
---|---|
void |
ChunkPrimer.addEntity(Entity entityIn) |
void |
ChunkPrimerWrapper.addEntity(Entity entityIn) |
void |
EmptyChunk.addEntity(Entity entityIn) |
void |
Chunk.addEntity(Entity entityIn) |
void |
IChunk.addEntity(Entity entityIn) |
void |
EmptyChunk.getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
void |
Chunk.getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
boolean |
AbstractChunkProvider.isChunkLoaded(Entity entityIn) |
void |
EmptyChunk.removeEntity(Entity entityIn) |
void |
Chunk.removeEntity(Entity entityIn) |
void |
EmptyChunk.removeEntityAtIndex(Entity entityIn,
int index) |
void |
Chunk.removeEntityAtIndex(Entity entityIn,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
EmptyChunk.getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
void |
EmptyChunk.getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
void |
Chunk.getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
void |
Chunk.getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<Entity> |
DragonFightManager.VALID_PLAYER |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
WorldGenRegion.getEntitiesWithinAABB(java.lang.Class<? extends T> clazz,
AxisAlignedBB aabb,
java.util.function.Predicate<? super T> filter) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Entity> |
WorldGenRegion.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
WorldGenRegion.addEntity(Entity entityIn) |
boolean |
WorldGenRegion.destroyBlock(BlockPos p_225521_1_,
boolean p_225521_2_,
Entity p_225521_3_) |
java.util.List<Entity> |
WorldGenRegion.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
Modifier and Type | Method and Description |
---|---|
PlayerEntity |
WorldGenRegion.getClosestPlayer(double x,
double y,
double z,
double distance,
java.util.function.Predicate<Entity> predicate) |
java.util.List<Entity> |
WorldGenRegion.getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
Modifier and Type | Method and Description |
---|---|
private static java.util.Optional<Entity> |
Template.loadEntity(IWorld worldIn,
CompoundNBT nbt) |
Modifier and Type | Method and Description |
---|---|
void |
Raid.addHero(Entity p_221311_1_) |
Modifier and Type | Field and Description |
---|---|
private Entity |
ChunkManager.EntityTracker.entity |
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity> |
ServerWorld.entitiesById |
private java.util.Map<java.util.UUID,Entity> |
ServerWorld.entitiesByUuid |
private java.util.Queue<Entity> |
ServerWorld.entitiesToAdd |
private java.util.List<Entity> |
ServerWorld.globalEntities |
Modifier and Type | Method and Description |
---|---|
Entity |
ServerWorld.getEntityByID(int id) |
Entity |
ServerWorld.getEntityByUuid(java.util.UUID uniqueId) |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<Entity> |
ServerWorld.getEntities() |
java.util.List<Entity> |
ServerWorld.getEntities(EntityType<?> entityTypeIn,
java.util.function.Predicate<? super Entity> predicateIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
ServerWorld.addEntity(Entity entityIn) |
private boolean |
ServerWorld.addEntity0(Entity entityIn) |
boolean |
ServerWorld.addEntityIfNotDuplicate(Entity entityIn) |
void |
ServerWorld.addFromAnotherDimension(Entity entityIn) |
void |
ServerWorld.chunkCheck(Entity entityIn) |
Explosion |
ServerWorld.createExplosion(Entity entityIn,
DamageSource damageSourceIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
boolean causesFire,
Explosion.Mode modeIn) |
boolean |
ServerChunkProvider.func_223435_b(Entity p_223435_1_) |
private static double |
ChunkManager.getDistanceSquaredToChunk(ChunkPos chunkPosIn,
Entity entityIn) |
private boolean |
ServerWorld.hasDuplicateEntity(Entity entityIn) |
boolean |
ServerChunkProvider.isChunkLoaded(Entity entityIn) |
private void |
ServerWorld.onEntityAdded(Entity entityIn) |
void |
ServerWorld.onEntityRemoved(Entity entityIn)
Deprecated.
|
void |
ServerWorld.playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
void |
ServerWorld.removeEntity(Entity entityIn) |
void |
ServerWorld.removeEntity(Entity entityIn,
boolean keepData) |
void |
ServerWorld.removeEntityComplete(Entity entityIn,
boolean keepData) |
private void |
ServerWorld.removeFromChunk(Entity entityIn) |
protected void |
ChunkManager.sendToAllTracking(Entity p_219222_1_,
IPacket<?> p_219222_2_) |
void |
ServerChunkProvider.sendToAllTracking(Entity entityIn,
IPacket<?> packet) |
protected void |
ChunkManager.sendToTrackingAndSelf(Entity p_219225_1_,
IPacket<?> p_219225_2_) |
void |
ServerChunkProvider.sendToTrackingAndSelf(Entity entityIn,
IPacket<?> packet) |
void |
ServerWorld.setEntityState(Entity entityIn,
byte state) |
boolean |
ServerWorld.summonEntity(Entity entityIn) |
void |
ServerWorld.tickPassenger(Entity ridingEntity,
Entity passengerEntity) |
protected void |
ChunkManager.track(Entity entityIn) |
void |
ServerChunkProvider.track(Entity entityIn) |
protected void |
ChunkManager.untrack(Entity p_219231_1_) |
void |
ServerChunkProvider.untrack(Entity entityIn) |
void |
ServerWorld.updateEntity(Entity entityIn) |
void |
ServerWorld.updateReputation(IReputationType type,
Entity target,
IReputationTracking host) |
Modifier and Type | Method and Description |
---|---|
private static void |
ServerWorld.dumpEntities(java.io.Writer writerIn,
java.lang.Iterable<Entity> entities) |
java.util.List<Entity> |
ServerWorld.getEntities(EntityType<?> entityTypeIn,
java.util.function.Predicate<? super Entity> predicateIn) |
Constructor and Description |
---|
EntityTracker(Entity p_i50468_2_,
int p_i50468_3_,
int p_i50468_4_,
boolean p_i50468_5_) |
Modifier and Type | Field and Description |
---|---|
private Entity |
AbstractSpawner.cachedEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
AbstractSpawner.getCachedEntity() |
Entity |
AbstractSpawner.getSpawnerEntity() |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractSpawner.func_221409_a(Entity entityIn) |
Modifier and Type | Field and Description |
---|---|
static LootParameter<Entity> |
LootParameters.DIRECT_KILLER_ENTITY |
static LootParameter<Entity> |
LootParameters.KILLER_ENTITY |
private LootParameter<? extends Entity> |
LootContext.EntityTarget.parameter |
static LootParameter<Entity> |
LootParameters.THIS_ENTITY |
Modifier and Type | Method and Description |
---|---|
LootParameter<? extends Entity> |
LootContext.EntityTarget.getParameter() |
Constructor and Description |
---|
EntityTarget(java.lang.String targetTypeIn,
LootParameter<? extends Entity> parameterIn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EntityHasScore.entityScoreMatch(Entity entityIn,
Scoreboard scoreboardIn,
java.lang.String objectiveStr,
RandomValueRange rand) |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Function<Entity,INBT> |
CopyNbt.field_215889_d |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ForgeHooksClient.getArmorTexture(Entity entity,
ItemStack armor,
java.lang.String _default,
EquipmentSlotType slot,
java.lang.String type) |
static void |
ForgeHooksClient.loadEntityShader(Entity entity,
GameRenderer entityRenderer) |
Constructor and Description |
---|
RenderNameplateEvent(Entity entity,
java.lang.String content,
EntityRenderer<?> entityRenderer,
MatrixStack matrixStack,
IRenderTypeBuffer renderTypeBuffer,
int packedLight) |
RenderNameplateEvent(Entity entity,
java.lang.String content,
MatrixStack matrixStack,
IRenderTypeBuffer renderTypeBuffer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ForgeIngameGui.renderVignette(Entity entity) |
Modifier and Type | Method and Description |
---|---|
AxisAlignedBB |
IMinecartCollisionHandler.getCollisionBox(AbstractMinecartEntity cart,
Entity other)
This function replaced the function of the same name in EntityMinecart.
|
static CriticalHitEvent |
ForgeHooks.getCriticalHit(PlayerEntity player,
Entity target,
boolean vanillaCritical,
float damageModifier) |
static int |
ForgeHooks.getLootingLevel(Entity target,
Entity killer,
DamageSource cause) |
MerchantOffer |
BasicTrade.getOffer(Entity merchant,
java.util.Random rand) |
void |
IMinecartCollisionHandler.onEntityCollision(AbstractMinecartEntity cart,
Entity other)
This basically replaces the function of the same name in EntityMinecart.
|
static boolean |
ForgeHooks.onFarmlandTrample(World world,
BlockPos pos,
BlockState state,
float fallDistance,
Entity entity) |
static ActionResultType |
ForgeHooks.onInteractEntity(PlayerEntity player,
Entity entity,
Hand hand) |
static ActionResultType |
ForgeHooks.onInteractEntityAt(PlayerEntity player,
Entity entity,
RayTraceResult ray,
Hand hand) |
static ActionResultType |
ForgeHooks.onInteractEntityAt(PlayerEntity player,
Entity entity,
Vec3d vec3d,
Hand hand) |
static LivingKnockBackEvent |
ForgeHooks.onLivingKnockBack(LivingEntity target,
Entity attacker,
float strength,
double ratioX,
double ratioZ) |
static boolean |
ForgeHooks.onPlayerAttackTarget(PlayerEntity player,
Entity target) |
static boolean |
ForgeHooks.onTravelToDimension(Entity entity,
DimensionType dimension) |
Modifier and Type | Method and Description |
---|---|
default Entity |
IForgeItem.createEntity(World world,
Entity location,
ItemStack itemstack)
This function should return a new entity to replace the dropped item.
|
default Entity |
IForgeEntity.getEntity() |
default Entity |
IForgeSelectionContext.getEntity() |
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeBlock.addRunningEffects(BlockState state,
World world,
BlockPos pos,
Entity entity)
Allows a block to override the standard vanilla running particles.
|
default boolean |
IForgeBlockState.addRunningEffects(World world,
BlockPos pos,
Entity entity)
Allows a block to override the standard vanilla running particles.
|
default boolean |
IForgeEntity.canBeRiddenInWater(Entity rider)
Checks if this entity can continue to be ridden while it is underwater.
|
default boolean |
IForgeBlock.canEntityDestroy(BlockState state,
IBlockReader world,
BlockPos pos,
Entity entity)
Determines if this block is can be destroyed by the specified entities normal behavior.
|
default boolean |
IForgeBlockState.canEntityDestroy(IBlockReader world,
BlockPos pos,
Entity entity)
Determines if this block is can be destroyed by the specified entities normal behavior.
|
default boolean |
IForgeItemStack.canEquip(EquipmentSlotType armorType,
Entity entity)
Determines if the specific ItemStack can be placed in the specified armor
slot, for the entity.
|
default boolean |
IForgeItem.canEquip(ItemStack stack,
EquipmentSlotType armorType,
Entity entity)
Determines if the specific ItemStack can be placed in the specified armor
slot, for the entity.
|
default boolean |
IForgeBlock.collisionExtendsVertically(BlockState state,
IBlockReader world,
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 |
IForgeBlockState.collisionExtendsVertically(IBlockReader world,
BlockPos pos,
Entity collidingEntity)
Determines if this block's collision box should be treated as though it can extend above its block space.
|
default Entity |
IForgeItem.createEntity(World world,
Entity location,
ItemStack itemstack)
This function should return a new entity to replace the dropped item.
|
default java.lang.String |
IForgeItem.getArmorTexture(ItemStack stack,
Entity entity,
EquipmentSlotType slot,
java.lang.String type)
Called by RenderBiped and RenderPlayer to determine the armor texture that
should be use for the currently equipped item.
|
default float |
IForgeBlock.getExplosionResistance(BlockState state,
IWorldReader world,
BlockPos pos,
Entity exploder,
Explosion explosion)
Location sensitive version of getExplosionResistance
|
default float |
IForgeFluid.getExplosionResistance(IFluidState state,
IWorldReader world,
BlockPos pos,
Entity exploder,
Explosion explosion)
Location sensitive version of getExplosionResistance
|
default float |
IForgeFluidState.getExplosionResistance(IWorldReader world,
BlockPos pos,
Entity exploder,
Explosion explosion)
Location sensitive version of getExplosionResistance
|
default float |
IForgeBlockState.getExplosionResistance(IWorldReader world,
BlockPos pos,
Entity exploder,
Explosion explosion)
Location sensitive version of getExplosionResistance
|
default Vec3d |
IForgeBlock.getFogColor(BlockState state,
IWorldReader world,
BlockPos pos,
Entity entity,
Vec3d originalColor,
float partialTicks)
Use this to change the fog color used when the entity is "inside" a material.
|
default Vec3d |
IForgeBlockState.getFogColor(IWorldReader world,
BlockPos pos,
Entity entity,
Vec3d originalColor,
float partialTicks)
Use this to change the fog color used when the entity is "inside" a material.
|
float |
IForgeBlock.getSlipperiness(BlockState state,
IWorldReader world,
BlockPos pos,
Entity entity)
Gets the slipperiness at the given location at the given state.
|
default float |
IForgeBlockState.getSlipperiness(IWorldReader world,
BlockPos pos,
Entity entity)
Gets the slipperiness at the given location at the given state.
|
default SoundType |
IForgeBlock.getSoundType(BlockState state,
IWorldReader world,
BlockPos pos,
Entity entity)
Sensitive version of getSoundType
|
default SoundType |
IForgeBlockState.getSoundType(IWorldReader world,
BlockPos pos,
Entity entity)
Sensitive version of getSoundType
|
default boolean |
IForgeBlock.isBed(BlockState state,
IBlockReader world,
BlockPos pos,
Entity player)
Determines if this block is classified as a Bed, Allowing
players to sleep in it, though the block has to specifically
perform the sleeping functionality in it's activated event.
|
default boolean |
IForgeFluid.isEntityInside(IFluidState state,
IWorldReader world,
BlockPos pos,
Entity entity,
double yToTest,
Tag<Fluid> tag,
boolean testingHead)
Called when the entity is inside this block, may be used to determined if the entity can breathing,
display material overlays, or if the entity can swim inside a block.
|
default boolean |
IForgeFluidState.isEntityInside(IWorldReader world,
BlockPos pos,
Entity entity,
double yToTest,
Tag<Fluid> tag,
boolean testingHead)
Called when the entity is inside this block, may be used to determined if the entity can breathing,
display material overlays, or if the entity can swim inside a block.
|
default boolean |
IForgeItem.onLeftClickEntity(ItemStack stack,
PlayerEntity player,
Entity entity)
Called when the player Left Clicks (attacks) an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
FakePlayer |
Modifier and Type | Method and Description |
---|---|
default Entity |
ITeleporter.placeEntity(Entity entity,
ServerWorld currentWorld,
ServerWorld destWorld,
float yaw,
java.util.function.Function<java.lang.Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.
|
Modifier and Type | Method and Description |
---|---|
default Entity |
ITeleporter.placeEntity(Entity entity,
ServerWorld currentWorld,
ServerWorld destWorld,
float yaw,
java.util.function.Function<java.lang.Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.
|
Modifier and Type | Method and Description |
---|---|
default Entity |
ITeleporter.placeEntity(Entity entity,
ServerWorld currentWorld,
ServerWorld destWorld,
float yaw,
java.util.function.Function<java.lang.Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.
|
Modifier and Type | Method and Description |
---|---|
static void |
MarkDimensionForDeletionTest.ForgeEventSubscriber.attachCaps(AttachCapabilitiesEvent<Entity> event) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeEventFactory.canEntityUpdate(Entity entity) |
static boolean |
ForgeEventFactory.canMountEntity(Entity entityMounting,
Entity entityBeingMounted,
boolean isMounting) |
static boolean |
ForgeEventFactory.gatherCollisionBoxes(World world,
Entity entity,
AxisAlignedBB aabb,
java.util.List<AxisAlignedBB> outList) |
static boolean |
ForgeEventFactory.getMobGriefingEvent(World world,
Entity entity) |
static boolean |
ForgeEventFactory.onBlockPlace(Entity entity,
BlockSnapshot blockSnapshot,
Direction direction) |
static boolean |
ForgeEventFactory.onEntityStruckByLightning(Entity entity,
LightningBoltEntity bolt) |
static boolean |
ForgeEventFactory.onMultiBlockPlace(Entity entity,
java.util.List<BlockSnapshot> blockSnapshots,
Direction direction) |
static PlaySoundAtEntityEvent |
ForgeEventFactory.onPlaySoundAtEntity(Entity entity,
SoundEvent name,
SoundCategory category,
float volume,
float pitch) |
static boolean |
ForgeEventFactory.onProjectileImpact(Entity entity,
RayTraceResult ray) |
static void |
ForgeEventFactory.onStartEntityTracking(Entity entity,
PlayerEntity player) |
static void |
ForgeEventFactory.onStopEntityTracking(Entity entity,
PlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeEventFactory.onExplosionDetonate(World world,
Explosion explosion,
java.util.List<Entity> list,
double diameter) |
Modifier and Type | Field and Description |
---|---|
private Entity |
EntityEvent.entity |
private Entity |
EntityMountEvent.entityBeingMounted |
private Entity |
EntityMountEvent.entityMounting |
Modifier and Type | Method and Description |
---|---|
Entity |
EntityEvent.getEntity() |
Entity |
EntityMountEvent.getEntityBeingMounted() |
Entity |
EntityMountEvent.getEntityMounting() |
Constructor and Description |
---|
CanUpdate(Entity entity) |
EnteringChunk(Entity entity,
int newChunkX,
int newChunkZ,
int oldChunkX,
int oldChunkZ) |
EntityConstructing(Entity entity) |
EntityEvent(Entity entity) |
EntityJoinWorldEvent(Entity entity,
World world) |
EntityMobGriefingEvent(Entity entity) |
EntityMountEvent(Entity entityMounting,
Entity entityBeingMounted,
World entityWorld,
boolean isMounting) |
EntityStruckByLightningEvent(Entity entity,
LightningBoltEntity lightning) |
EntityTravelToDimensionEvent(Entity entity,
DimensionType dimension) |
EyeHeight(Entity entity,
Pose pose,
EntitySize size,
float defaultHeight) |
PlaySoundAtEntityEvent(Entity entity,
SoundEvent name,
SoundCategory category,
float volume,
float pitch) |
ProjectileImpactEvent(Entity entity,
RayTraceResult ray) |
Modifier and Type | Field and Description |
---|---|
protected Entity |
LivingKnockBackEvent.attacker |
protected Entity |
LivingKnockBackEvent.originalAttacker |
Modifier and Type | Method and Description |
---|---|
Entity |
LivingKnockBackEvent.getAttacker() |
Entity |
LivingKnockBackEvent.getOriginalAttacker() |
Modifier and Type | Method and Description |
---|---|
void |
LivingKnockBackEvent.setAttacker(Entity attacker) |
Constructor and Description |
---|
LivingKnockBackEvent(LivingEntity target,
Entity attacker,
float strength,
double ratioX,
double ratioZ) |
Modifier and Type | Field and Description |
---|---|
private Entity |
PlayerEvent.StartTracking.target |
private Entity |
PlayerEvent.StopTracking.target |
private Entity |
PlayerInteractEvent.EntityInteractSpecific.target |
private Entity |
PlayerInteractEvent.EntityInteract.target |
private Entity |
AttackEntityEvent.target |
private Entity |
CriticalHitEvent.target |
Modifier and Type | Method and Description |
---|---|
Entity |
PlayerEvent.StartTracking.getTarget()
The Entity now being tracked.
|
Entity |
PlayerEvent.StopTracking.getTarget()
The Entity no longer being tracked.
|
Entity |
PlayerInteractEvent.EntityInteractSpecific.getTarget() |
Entity |
PlayerInteractEvent.EntityInteract.getTarget() |
Entity |
AttackEntityEvent.getTarget() |
Entity |
CriticalHitEvent.getTarget()
The Entity that was damaged by the player.
|
Constructor and Description |
---|
AttackEntityEvent(PlayerEntity player,
Entity target) |
CriticalHitEvent(PlayerEntity player,
Entity target,
float damageModifier,
boolean vanillaCritical) |
EntityInteract(PlayerEntity player,
Hand hand,
Entity target) |
EntityInteractSpecific(PlayerEntity player,
Hand hand,
Entity target,
Vec3d localPos) |
StartTracking(PlayerEntity player,
Entity target) |
StopTracking(PlayerEntity player,
Entity target) |
Modifier and Type | Field and Description |
---|---|
private Entity |
GetCollisionBoxesEvent.entity |
private Entity |
BlockEvent.EntityPlaceEvent.entity |
private Entity |
BlockEvent.FarmlandTrampleEvent.entity |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Entity> |
ExplosionEvent.Detonate.entityList |
Modifier and Type | Method and Description |
---|---|
Entity |
GetCollisionBoxesEvent.getEntity() |
Entity |
BlockEvent.EntityPlaceEvent.getEntity() |
Entity |
BlockEvent.FarmlandTrampleEvent.getEntity() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Entity> |
ExplosionEvent.Detonate.getAffectedEntities()
return the list of entities affected by the explosion.
|
Constructor and Description |
---|
EntityMultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
BlockState placedAgainst,
Entity entity) |
EntityPlaceEvent(BlockSnapshot blockSnapshot,
BlockState placedAgainst,
Entity entity) |
FarmlandTrampleEvent(World world,
BlockPos pos,
BlockState state,
float fallDistance,
Entity entity) |
GetCollisionBoxesEvent(World world,
Entity entity,
AxisAlignedBB aabb,
java.util.List<AxisAlignedBB> collisionBoxesList) |
Constructor and Description |
---|
Detonate(World world,
Explosion explosion,
java.util.List<Entity> entityList) |
Modifier and Type | Interface and Description |
---|---|
interface |
IRenderFactory<T extends Entity> |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<EntityType<? extends Entity>,IRenderFactory<? extends Entity>> |
RenderingRegistry.entityRenderers |
private java.util.Map<EntityType<? extends Entity>,IRenderFactory<? extends Entity>> |
RenderingRegistry.entityRenderers |
private static java.util.Map<java.lang.Class<? extends Entity>,ResourceLocation> |
ClientRegistry.entityShaderMap |
Modifier and Type | Method and Description |
---|---|
private static <T extends Entity> |
RenderingRegistry.register(EntityRendererManager manager,
EntityType<T> entityType,
IRenderFactory<?> renderFactory) |
static <T extends Entity> |
RenderingRegistry.registerEntityRenderingHandler(EntityType<T> entityClass,
IRenderFactory<? super T> renderFactory)
Register an entity rendering handler.
|
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
ClientRegistry.getEntityShader(java.lang.Class<? extends Entity> entityClass) |
static void |
ClientRegistry.registerEntityShader(java.lang.Class<? extends Entity> entityClass,
ResourceLocation shader)
Register a shader for an entity.
|
Modifier and Type | Field and Description |
---|---|
private Entity |
FMLPlayMessages.SpawnEntity.entity |
Modifier and Type | Field and Description |
---|---|
static PacketDistributor<Entity> |
PacketDistributor.TRACKING_ENTITY
Send to all tracking the Entity in the Supplier
PacketDistributor.with(Supplier) Entity |
static PacketDistributor<Entity> |
PacketDistributor.TRACKING_ENTITY_AND_SELF
Send to all tracking the Entity and Player in the Supplier
PacketDistributor.with(Supplier) Entity |
Modifier and Type | Method and Description |
---|---|
Entity |
FMLPlayMessages.SpawnEntity.getEntity() |
Modifier and Type | Method and Description |
---|---|
static IPacket<?> |
NetworkHooks.getEntitySpawningPacket(Entity entity) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Consumer<IPacket<?>> |
PacketDistributor.trackingEntity(java.util.function.Supplier<Entity> entitySupplier) |
private java.util.function.Consumer<IPacket<?>> |
PacketDistributor.trackingEntityAndSelf(java.util.function.Supplier<Entity> entitySupplier) |
Constructor and Description |
---|
SpawnEntity(Entity e) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
CommandSetDimension.canEntityTeleport(Entity entity) |
Modifier and Type | Method and Description |
---|---|
private static int |
CommandSetDimension.execute(CommandSource sender,
java.util.Collection<? extends Entity> entities,
DimensionType dim,
BlockPos pos) |
Modifier and Type | Field and Description |
---|---|
private Entity |
TargetContext.target |
Modifier and Type | Field and Description |
---|---|
static ContextKey<Entity> |
ContextKeys.TARGET
The entity can be anything that gets interacted with - a sheep when you try to dye it, skeleton that you attack, etc.
|
Constructor and Description |
---|
TargetContext(PlayerEntity ep,
Entity entity) |
Modifier and Type | Field and Description |
---|---|
static TimeTracker<Entity> |
TimeTracker.ENTITY_UPDATE
A tracker for timing entity updates
|