-
-
Methods in net.minecraft.entity.mob with parameters of type ServerWorldAccess
| Modifier and Type |
Method |
Description |
static boolean |
DrownedEntity.canSpawn(EntityType<DrownedEntity> type,
ServerWorldAccess world,
SpawnReason spawnReason,
BlockPos pos,
Random random) |
|
static boolean |
HuskEntity.canSpawn(EntityType<HuskEntity> type,
ServerWorldAccess world,
SpawnReason spawnReason,
BlockPos pos,
Random random) |
|
static boolean |
StrayEntity.canSpawn(EntityType<StrayEntity> type,
ServerWorldAccess world,
SpawnReason spawnReason,
BlockPos pos,
Random random) |
|
static boolean |
HostileEntity.canSpawnInDark(EntityType<? extends HostileEntity> type,
ServerWorldAccess world,
SpawnReason spawnReason,
BlockPos pos,
Random random) |
|
@Nullable EntityData |
AbstractSkeletonEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
CaveSpiderEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
DrownedEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
HoglinEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
IllusionerEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
MobEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
|
@Nullable EntityData |
PatrolEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
PhantomEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
PiglinBruteEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
PiglinEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
PillagerEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
ShulkerEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
SlimeEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
SpiderEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
VexEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
VindicatorEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
WitherSkeletonEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
ZombieEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
ZombieVillagerEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
static boolean |
HostileEntity.isSpawnDark(ServerWorldAccess world,
BlockPos pos,
Random random) |
|
-
Methods in net.minecraft.entity.passive with parameters of type ServerWorldAccess
| Modifier and Type |
Method |
Description |
EntityData |
AxolotlEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
CatEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
DolphinEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
FoxEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
GoatEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
HorseBaseEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
HorseEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
LlamaEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
MerchantEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
OcelotEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
PandaEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
ParrotEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
PassiveEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
EntityData |
PolarBearEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
RabbitEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
SchoolingFishEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
SheepEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
StriderEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
TraderLlamaEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
TropicalFishEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
TurtleEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
@Nullable EntityData |
VillagerEntity.initialize(ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt) |
private EntityData |
StriderEntity.method_30336(ServerWorldAccess serverWorldAccess,
LocalDifficulty localDifficulty,
MobEntity mobEntity,
@Nullable EntityData entityData) |
|
-
-
-
Methods in net.minecraft.structure with parameters of type ServerWorldAccess
| Modifier and Type |
Method |
Description |
protected boolean |
StructurePiece.addChest(ServerWorldAccess world,
BlockBox boundingBox,
Random random,
BlockPos pos,
Identifier lootTableId,
@Nullable BlockState block) |
|
private static Optional<Entity> |
Structure.getEntity(ServerWorldAccess world,
NbtCompound nbt) |
|
protected void |
EndCityGenerator.Piece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
protected void |
IglooGenerator.Piece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
protected void |
NetherFossilGenerator.Piece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
protected void |
OceanRuinGenerator.Piece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
protected void |
RuinedPortalStructurePiece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
protected void |
ShipwreckGenerator.Piece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
protected abstract void |
SimpleStructurePiece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
|
protected void |
WoodlandMansionGenerator.Piece.handleMetadata(String metadata,
BlockPos pos,
ServerWorldAccess world,
Random random,
BlockBox boundingBox) |
boolean |
Structure.place(ServerWorldAccess world,
BlockPos pos,
BlockPos blockPos,
StructurePlacementData placementData,
Random random,
int int2) |
|
private void |
SwampHutGenerator.spawnCat(ServerWorldAccess world,
BlockBox box) |
|
private void |
Structure.spawnEntities(ServerWorldAccess world,
BlockPos pos,
BlockMirror mirror,
BlockRotation rotation,
BlockPos pivot,
@Nullable BlockBox area,
boolean bool) |
|
-
-