-
Methods in net.minecraft with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
protected void |
class_6029.finishRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
class_6028.keepRunning(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
class_6030.keepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
class_6028.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
class_6029.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
class_6030.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
class_6028.shouldKeepRunning(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected boolean |
class_6029.shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
class_6030.shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
class_6030.shouldRun(ServerWorld serverWorld,
MobEntity mobEntity) |
|
-
Methods in net.minecraft.advancement.criterion with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
boolean |
LocationArrivalCriterion.Conditions.matches(ServerWorld world,
double x,
double y,
double z) |
|
boolean |
NetherTravelCriterion.Conditions.matches(ServerWorld world,
Vec3d enteredPos,
double exitedPosX,
double exitedPosY,
double exitedPosZ) |
|
boolean |
PlacedBlockCriterion.Conditions.matches(BlockState state,
BlockPos pos,
ServerWorld world,
ItemStack stack) |
|
boolean |
ItemUsedOnBlockCriterion.Conditions.test(BlockState state,
ServerWorld world,
BlockPos pos,
ItemStack stack) |
|
-
Methods in net.minecraft.block with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
static BlockState |
ComposterBlock.compost(BlockState state,
ServerWorld world,
ItemStack stack,
BlockPos pos) |
|
protected void |
DispenserBlock.dispense(ServerWorld world,
BlockPos pos) |
|
protected void |
DropperBlock.dispense(ServerWorld world,
BlockPos pos) |
private void |
StructureBlock.doAction(ServerWorld world,
StructureBlockBlockEntity blockEntity) |
|
static void |
PointedDripstoneBlock.dripTick(BlockState state,
ServerWorld world,
BlockPos pos,
float dripChance) |
|
protected void |
Block.dropExperience(ServerWorld world,
BlockPos pos,
int size) |
|
void |
SaplingBlock.generate(ServerWorld world,
BlockPos pos,
BlockState state,
Random random) |
|
static List<ItemStack> |
Block.getDroppedStacks(BlockState state,
ServerWorld world,
BlockPos pos,
@Nullable BlockEntity blockEntity) |
|
static List<ItemStack> |
Block.getDroppedStacks(BlockState state,
ServerWorld world,
BlockPos pos,
@Nullable BlockEntity blockEntity,
@Nullable Entity entity,
ItemStack stack) |
|
private static int |
PointedDripstoneBlock.getStalactiteSize(ServerWorld world,
BlockPos pos,
int range) |
|
void |
AbstractPlantBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
AbstractPlantStemBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
BambooBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
BambooSaplingBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
BigDripleafBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
BigDripleafStemBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
CaveVinesBodyBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
CaveVinesHeadBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
CocoaBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
CropBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
FernBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
Fertilizable.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
|
void |
FungusBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
GlowLichenBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
GrassBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
MossBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
MushroomPlantBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
NetherrackBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
NyliumBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
RootedDirtBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
SaplingBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
SeagrassBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
SeaPickleBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
SmallDripleafBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
StemBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
SweetBerryBushBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
TallFlowerBlock.grow(ServerWorld world,
Random random,
BlockPos pos,
BlockState state) |
void |
AbstractBlock.AbstractBlockState.onStacksDropped(ServerWorld world,
BlockPos pos,
ItemStack stack) |
|
void |
AbstractBlock.onStacksDropped(BlockState state,
ServerWorld world,
BlockPos pos,
ItemStack stack) |
Deprecated.
|
void |
InfestedBlock.onStacksDropped(BlockState state,
ServerWorld world,
BlockPos pos,
ItemStack stack) |
void |
OreBlock.onStacksDropped(BlockState state,
ServerWorld world,
BlockPos pos,
ItemStack stack) |
void |
RedstoneOreBlock.onStacksDropped(BlockState state,
ServerWorld world,
BlockPos pos,
ItemStack stack) |
void |
SpawnerBlock.onStacksDropped(BlockState state,
ServerWorld world,
BlockPos pos,
ItemStack stack) |
void |
AbstractBlock.AbstractBlockState.randomTick(ServerWorld world,
BlockPos pos,
Random random) |
|
void |
AbstractBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
Deprecated.
|
void |
AbstractPlantStemBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BambooBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BambooSaplingBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BeetrootsBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BuddingAmethystBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CactusBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ChorusFlowerBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CocoaBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CropBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FarmlandBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FluidBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FrostedIceBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
IceBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
LeavesBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
MagmaBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
MushroomPlantBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
NetherPortalBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
NetherWartBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
NyliumBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
OxidizableBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
OxidizableSlabBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
OxidizableStairsBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
PointedDripstoneBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
RedstoneOreBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SaplingBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SnowBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SpreadableBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
StairsBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
StemBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SugarCaneBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SweetBerryBushBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
TurtleEggBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
VineBlock.randomTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
AbstractBlock.AbstractBlockState.scheduledTick(ServerWorld world,
BlockPos pos,
Random random) |
|
void |
AbstractBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
Deprecated.
|
void |
AbstractButtonBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
AbstractCauldronBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
AbstractPlantPartBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
AbstractPressurePlateBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
AbstractRedstoneGateBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BambooBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BarrelBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BigDripleafBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BigDripleafStemBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
BubbleColumnBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CactusBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ChestBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ChorusFlowerBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ChorusPlantBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CommandBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ComparatorBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ComposterBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CoralBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CoralBlockBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CoralFanBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
CoralWallFanBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
DetectorRailBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
DirtPathBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
DispenserBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
EnderChestBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FallingBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FarmlandBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FireBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
FrostedIceBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
LeavesBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
LecternBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
LightningRodBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
MagmaBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ObserverBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
PointedDripstoneBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
RedstoneLampBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
RedstoneTorchBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
ScaffoldingBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SculkSensorBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SoulSandBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
StairsBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
SugarCaneBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
TargetBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
TripwireBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
void |
TripwireHookBlock.scheduledTick(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
private static void |
PointedDripstoneBlock.spawnFallingBlock(BlockState state,
ServerWorld world,
BlockPos pos) |
|
private void |
InfestedBlock.spawnSilverfish(ServerWorld world,
BlockPos pos) |
|
default void |
Degradable.tickDegradation(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
|
default void |
Degradable.tryDegrade(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
|
boolean |
MushroomPlantBlock.trySpawningBigMushroom(ServerWorld world,
BlockPos pos,
BlockState state,
Random random) |
|
boolean |
AbstractLichenBlock.trySpreadRandomly(BlockState state,
ServerWorld world,
BlockPos pos,
Random random) |
|
-
-
Methods in net.minecraft.block.entity with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
private static void |
EndGatewayBlockEntity.createPortal(ServerWorld world,
BlockPos pos,
EndGatewayFeatureConfig endGatewayFeatureConfig) |
|
private static void |
AbstractFurnaceBlockEntity.dropExperience(ServerWorld world,
Vec3d pos,
int multiplier,
float experience) |
|
private static Vec3d |
EndGatewayBlockEntity.findTeleportLocation(ServerWorld world,
BlockPos pos) |
|
void |
JigsawBlockEntity.generate(ServerWorld world,
int maxDepth,
boolean keepJigsaws) |
|
List<Recipe<?>> |
AbstractFurnaceBlockEntity.getRecipesUsedAndDropExperience(ServerWorld world,
Vec3d pos) |
|
private static boolean |
EndGatewayBlockEntity.isChunkEmpty(ServerWorld world,
Vec3d pos) |
|
boolean |
StructureBlockBlockEntity.loadStructure(ServerWorld world) |
|
boolean |
StructureBlockBlockEntity.loadStructure(ServerWorld world,
boolean bool) |
|
boolean |
StructureBlockBlockEntity.place(ServerWorld world,
boolean bool,
Structure structure) |
|
private static BlockPos |
EndGatewayBlockEntity.setupExitPortalLocation(ServerWorld world,
BlockPos pos) |
Finds teleport location and creates an island to teleport to (if there is none).
|
-
Methods in net.minecraft.block.sapling with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
boolean |
LargeTreeSaplingGenerator.generate(ServerWorld world,
ChunkGenerator chunkGenerator,
BlockPos pos,
BlockState state,
Random random) |
boolean |
SaplingGenerator.generate(ServerWorld world,
ChunkGenerator chunkGenerator,
BlockPos pos,
BlockState state,
Random random) |
|
boolean |
LargeTreeSaplingGenerator.generateLargeTree(ServerWorld world,
ChunkGenerator chunkGenerator,
BlockPos pos,
BlockState state,
Random random,
int x,
int z) |
|
-
-
-
-
Methods in net.minecraft.entity with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
T |
EntityType.create(ServerWorld world,
@Nullable NbtCompound itemNbt,
@Nullable Text name,
@Nullable PlayerEntity player,
BlockPos pos,
SpawnReason spawnReason,
boolean alignPosition,
boolean invertY) |
|
protected Optional<PortalUtil.Rectangle> |
Entity.getPortalRect(ServerWorld destWorld,
BlockPos destPos,
boolean destIsNether) |
|
protected @Nullable TeleportTarget |
Entity.getTeleportTarget(ServerWorld destination) |
|
@Nullable Entity |
Entity.moveToWorld(ServerWorld destination) |
Moves this entity to another world.
|
@Nullable Entity |
ItemEntity.moveToWorld(ServerWorld destination) |
Moves this entity to another world.
|
void |
Entity.onKilledOther(ServerWorld world,
LivingEntity other) |
|
void |
Entity.onStruckByLightning(ServerWorld world,
LightningEntity lightning) |
|
T |
EntityType.spawn(ServerWorld world,
@Nullable NbtCompound itemNbt,
@Nullable Text name,
@Nullable PlayerEntity player,
BlockPos pos,
SpawnReason spawnReason,
boolean alignPosition,
boolean invertY) |
|
static void |
ExperienceOrbEntity.spawn(ServerWorld world,
Vec3d pos,
int amount) |
|
@Nullable Entity |
EntityType.spawnFromItemStack(ServerWorld world,
@Nullable ItemStack stack,
@Nullable PlayerEntity player,
BlockPos pos,
SpawnReason spawnReason,
boolean alignPosition,
boolean invertY) |
|
private static boolean |
ExperienceOrbEntity.wasMergedIntoExistingOrb(ServerWorld world,
Vec3d pos,
int amount) |
|
-
-
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
private Optional<BlockPos> |
HoglinSpecificSensor.findNearestWarpedFungus(ServerWorld world,
HoglinEntity hoglin) |
|
private static Optional<BlockPos> |
PiglinSpecificSensor.findPiglinRepellent(ServerWorld world,
LivingEntity entity) |
|
private static boolean |
PiglinSpecificSensor.isPiglinRepellent(ServerWorld world,
BlockPos pos) |
|
protected void |
DummySensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
GolemLastSeenSensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
HoglinSpecificSensor.sense(ServerWorld serverWorld,
HoglinEntity hoglinEntity) |
|
protected void |
HurtBySensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
NearestBedSensor.sense(ServerWorld serverWorld,
MobEntity mobEntity) |
|
protected void |
NearestItemsSensor.sense(ServerWorld serverWorld,
MobEntity mobEntity) |
|
protected void |
NearestLivingEntitiesSensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
NearestPlayersSensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
NearestVisibleAdultSensor.sense(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
protected void |
NearestVisibleLivingEntitySensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
PiglinBruteSpecificSensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
PiglinSpecificSensor.sense(ServerWorld world,
LivingEntity entity) |
protected void |
SecondaryPointsOfInterestSensor.sense(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected abstract void |
Sensor.sense(ServerWorld world,
E entity) |
|
protected void |
TemptationsSensor.sense(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected void |
VillagerBabiesSensor.sense(ServerWorld world,
LivingEntity entity) |
void |
Sensor.tick(ServerWorld world,
E entity) |
|
-
Methods in net.minecraft.entity.ai.brain.task with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
private boolean |
BoneMealTask.canBoneMeal(BlockPos pos,
ServerWorld world) |
|
private static boolean |
OpenDoorsTask.cannotReachDoor(ServerWorld world,
LivingEntity entity,
GlobalPos doorPos) |
|
private @Nullable BlockPos |
FarmerVillagerTask.chooseRandomTarget(ServerWorld world) |
|
private void |
TakeJobSiteTask.claimSite(ServerWorld world,
VillagerEntity previousOwner,
VillagerEntity newOwner,
BlockPos pos,
boolean jobSitePresent) |
|
private void |
FarmerWorkTask.compostSeeds(ServerWorld world,
VillagerEntity entity,
GlobalPos pos,
BlockState composterState) |
|
private Optional<VillagerEntity> |
VillagerBreedTask.createChild(ServerWorld world,
VillagerEntity parent,
VillagerEntity partner) |
|
private boolean |
VillagerWalkTowardsTask.dimensionMismatches(ServerWorld world,
GlobalPos pos) |
|
private Optional<BlockPos> |
BoneMealTask.findBoneMealPos(ServerWorld world,
VillagerEntity entity) |
|
private @Nullable Vec3d |
SeekSkyTask.findNearbySky(ServerWorld world,
LivingEntity entity) |
|
protected void |
BoneMealTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
BreedTask.finishRunning(ServerWorld serverWorld,
AnimalEntity animalEntity,
long long2) |
|
protected void |
CelebrateRaidWinTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
CompositeTask.finishRunning(ServerWorld world,
E entity,
long time) |
protected void |
ConditionalTask.finishRunning(ServerWorld world,
E entity,
long time) |
protected void |
CrossbowAttackTask.finishRunning(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
FarmerVillagerTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FollowCustomerTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GatherItemsVillagerTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GiveGiftsToHeroTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
void |
HoldTradeOffersTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
JumpInBedTask.finishRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
LookAroundTask.finishRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
SleepTask.finishRunning(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
Task.finishRunning(ServerWorld world,
E entity,
long time) |
|
protected void |
TemptationCooldownTask.finishRunning(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
TemptTask.finishRunning(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
TimeLimitedTask.finishRunning(ServerWorld world,
E entity,
long time) |
protected void |
VillagerBreedTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WalkTowardJobSiteTask.finishRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WanderAroundTask.finishRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
private static int |
GiveGiftsToHeroTask.getNextGiftDelay(ServerWorld world) |
|
static ChunkSectionPos |
LookTargetUtil.getPosClosestToOccupiedPointOfInterest(ServerWorld world,
ChunkSectionPos center,
int radius) |
|
private Optional<BlockPos> |
VillagerBreedTask.getReachableHome(ServerWorld world,
VillagerEntity villager) |
|
private void |
VillagerBreedTask.goHome(ServerWorld world,
VillagerEntity first,
VillagerEntity second) |
|
private boolean |
ForgetCompletedPointOfInterestTask.hasCompletedPointOfInterest(ServerWorld world,
BlockPos pos) |
|
private boolean |
JumpInBedTask.isAboveBed(ServerWorld world,
MobEntity mob) |
|
private boolean |
JumpInBedTask.isBedAt(ServerWorld world,
BlockPos pos) |
|
private boolean |
JumpInBedTask.isBedGoneTooLong(ServerWorld world,
MobEntity mob) |
|
private boolean |
ForgetCompletedPointOfInterestTask.isBedOccupiedByOthers(ServerWorld world,
BlockPos pos,
LivingEntity entity) |
|
private boolean |
JumpInBedTask.isDoneJumping(ServerWorld world,
MobEntity mob) |
|
private boolean |
JumpInBedTask.isOnBed(ServerWorld world,
MobEntity mob) |
|
static boolean |
SeekSkyTask.isSkyVisible(ServerWorld world,
LivingEntity entity,
BlockPos pos) |
|
private boolean |
FarmerVillagerTask.isSuitableTarget(BlockPos pos,
ServerWorld world) |
|
protected void |
BoneMealTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
BreedTask.keepRunning(ServerWorld serverWorld,
AnimalEntity animalEntity,
long long2) |
|
protected void |
CelebrateRaidWinTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
CompositeTask.keepRunning(ServerWorld world,
E entity,
long time) |
protected void |
ConditionalTask.keepRunning(ServerWorld world,
E entity,
long time) |
protected void |
CrossbowAttackTask.keepRunning(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
FarmerVillagerTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FollowCustomerTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GatherItemsVillagerTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GiveGiftsToHeroTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
void |
HoldTradeOffersTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
JumpInBedTask.keepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
LookAroundTask.keepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
PanicTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
StayAboveWaterTask.keepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
Task.keepRunning(ServerWorld world,
E entity,
long time) |
|
protected void |
TemptationCooldownTask.keepRunning(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
TemptTask.keepRunning(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
TimeLimitedTask.keepRunning(ServerWorld world,
E entity,
long time) |
protected void |
VillagerBreedTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WalkTowardJobSiteTask.keepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WanderAroundTask.keepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
static void |
OpenDoorsTask.method_30760(ServerWorld serverWorld,
LivingEntity livingEntity,
@Nullable PathNode pathNode,
@Nullable PathNode pathNode2) |
|
private static boolean |
OpenDoorsTask.method_30761(ServerWorld serverWorld,
LivingEntity livingEntity,
BlockPos blockPos) |
|
private static boolean |
OpenDoorsTask.method_30766(ServerWorld serverWorld,
LivingEntity livingEntity,
BlockPos blockPos) |
|
private void |
OpenDoorsTask.method_30767(ServerWorld serverWorld,
LivingEntity livingEntity,
BlockPos blockPos) |
|
protected void |
FarmerWorkTask.performAdditionalWork(ServerWorld world,
VillagerEntity entity) |
protected void |
VillagerWorkTask.performAdditionalWork(ServerWorld world,
VillagerEntity entity) |
|
private boolean |
VillagerWalkTowardsTask.reachedDestination(ServerWorld world,
VillagerEntity villager,
GlobalPos pos) |
|
private void |
TimeLimitedTask.resetTimeLeft(ServerWorld world) |
|
protected void |
AdmireItemTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
AdmireItemTimeLimitTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
AttackTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
BoneMealTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
BreedTask.run(ServerWorld serverWorld,
AnimalEntity animalEntity,
long long2) |
|
protected void |
CompositeTask.run(ServerWorld world,
E entity,
long time) |
abstract <E extends LivingEntity> void |
CompositeTask.RunMode.run(Stream<Task<? super E>> stream,
ServerWorld world,
E entity,
long time) |
|
protected void |
ConditionalTask.run(ServerWorld world,
E entity,
long time) |
protected void |
DefeatTargetTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
EndRaidTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
FarmerVillagerTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FindEntityTask.run(ServerWorld world,
E entity,
long time) |
void |
FindInteractionTargetTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
FindPointOfInterestTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
FindWalkTargetTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
FollowCustomerTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
FollowMobTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
ForgetAngryAtTargetTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
ForgetAttackTargetTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
ForgetBellRingTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
ForgetCompletedPointOfInterestTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
ForgetTask.run(ServerWorld world,
E entity,
long time) |
protected void |
GatherItemsVillagerTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GiveGiftsToHeroTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GoToCelebrateTask.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
GoToIfNearbyTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
GoToNearbyPositionTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
GoToPointOfInterestTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GoToRememberedPositionTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
GoToSecondaryPositionTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
GoTowardsLookTarget.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
GoToWorkTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
HideInHomeTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
HideWhenBellRingsTask.run(ServerWorld world,
LivingEntity entity,
long time) |
void |
HoldTradeOffersTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
HuntFinishTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
HuntHoglinTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
JumpInBedTask.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
LoseJobOnSiteLossTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
MeetVillagerTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
MeleeAttackTask.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
MemoryTransferTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
OpenDoorsTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
PacifyTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
PanicTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
PlayDeadTask.run(ServerWorld serverWorld,
AxolotlEntity axolotlEntity,
long long2) |
|
protected void |
PlayDeadTimerTask.run(ServerWorld serverWorld,
AxolotlEntity axolotlEntity,
long long2) |
|
protected void |
PlayWithVillagerBabiesTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
RangedApproachTask.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
RemoveOffHandItemTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
RidingTask.run(ServerWorld world,
E entity,
long time) |
protected void |
RingBellTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
ScheduleActivityTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
SeekSkyTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
SeekWaterTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
SleepTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
StartRaidTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
StartRidingTask.run(ServerWorld world,
E entity,
long time) |
protected void |
StopPanickingTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
StrollTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
TakeJobSiteTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
Task.run(ServerWorld world,
E entity,
long time) |
|
protected void |
TemptTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
TimeLimitedTask.run(ServerWorld world,
E entity,
long time) |
protected void |
UpdateAttackTargetTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
VillagerBreedTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerWalkTowardsTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
VillagerWorkTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected void |
WakeUpTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
WalkHomeTask.run(ServerWorld world,
LivingEntity entity,
long time) |
protected void |
WalkToNearestVisibleWantedItemTask.run(ServerWorld world,
E entity,
long time) |
protected void |
WalkTowardClosestAdultTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
WanderAroundTask.run(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected void |
WanderIndoorsTask.run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected void |
WantNewItemTask.run(ServerWorld serverWorld,
E e,
long long2) |
|
protected void |
WorkStationCompetitionTask.run(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
private void |
VillagerBreedTask.setChildHome(ServerWorld world,
VillagerEntity child,
BlockPos pos) |
|
private void |
PlayWithVillagerBabiesTask.setGroundTarget(ServerWorld world,
PathAwareEntity entity,
LivingEntity unusedBaby) |
|
private boolean |
VillagerWalkTowardsTask.shouldGiveUp(ServerWorld world,
VillagerEntity villager) |
|
protected boolean |
BoneMealTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
BreedTask.shouldKeepRunning(ServerWorld serverWorld,
AnimalEntity animalEntity,
long long2) |
|
protected boolean |
CelebrateRaidWinTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
CompositeTask.shouldKeepRunning(ServerWorld world,
E entity,
long time) |
protected boolean |
ConditionalTask.shouldKeepRunning(ServerWorld world,
E entity,
long time) |
protected boolean |
CrossbowAttackTask.shouldKeepRunning(ServerWorld serverWorld,
E e,
long long2) |
|
protected boolean |
FarmerVillagerTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
FollowCustomerTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
GatherItemsVillagerTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
GiveGiftsToHeroTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
boolean |
HoldTradeOffersTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
JumpInBedTask.shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
LookAroundTask.shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
PanicTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
PlayDeadTask.shouldKeepRunning(ServerWorld serverWorld,
AxolotlEntity axolotlEntity,
long long2) |
|
protected boolean |
SleepTask.shouldKeepRunning(ServerWorld world,
LivingEntity entity,
long time) |
protected boolean |
StayAboveWaterTask.shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
Task.shouldKeepRunning(ServerWorld world,
E entity,
long time) |
|
protected boolean |
TemptationCooldownTask.shouldKeepRunning(ServerWorld world,
LivingEntity entity,
long time) |
protected boolean |
TemptTask.shouldKeepRunning(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
|
protected boolean |
TimeLimitedTask.shouldKeepRunning(ServerWorld world,
E entity,
long time) |
protected boolean |
VillagerBreedTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
VillagerWorkTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
WaitTask.shouldKeepRunning(ServerWorld world,
LivingEntity entity,
long time) |
protected boolean |
WalkTowardJobSiteTask.shouldKeepRunning(ServerWorld serverWorld,
VillagerEntity villagerEntity,
long long2) |
|
protected boolean |
WanderAroundTask.shouldKeepRunning(ServerWorld serverWorld,
MobEntity mobEntity,
long long2) |
|
protected boolean |
AdmireItemTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
AdmireItemTimeLimitTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
AquaticStrollTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
AttackTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
BoneMealTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
BreedTask.shouldRun(ServerWorld serverWorld,
AnimalEntity animalEntity) |
|
protected boolean |
CelebrateRaidWinTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
ConditionalTask.shouldRun(ServerWorld world,
E entity) |
protected boolean |
CrossbowAttackTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
DefeatTargetTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
EndRaidTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
FarmerVillagerTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
FindEntityTask.shouldRun(ServerWorld world,
E entity) |
boolean |
FindInteractionTargetTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
FindPointOfInterestTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
FollowCustomerTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
FollowMobTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
ForgetCompletedPointOfInterestTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
ForgetTask.shouldRun(ServerWorld world,
E entity) |
protected boolean |
GatherItemsVillagerTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GiveGiftsToHeroTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GoToIfNearbyTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
GoToNearbyPositionTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
GoToPointOfInterestTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GoToRememberedPositionTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
GoToSecondaryPositionTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
GoToWorkTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
HideInHomeDuringRaidTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
HideInHomeTask.shouldRun(ServerWorld world,
LivingEntity entity) |
boolean |
HoldTradeOffersTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
HuntHoglinTask.shouldRun(ServerWorld serverWorld,
PiglinEntity piglinEntity) |
|
protected boolean |
JumpInBedTask.shouldRun(ServerWorld serverWorld,
MobEntity mobEntity) |
|
protected boolean |
LoseJobOnSiteLossTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
MeetVillagerTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
MeleeAttackTask.shouldRun(ServerWorld serverWorld,
MobEntity mobEntity) |
|
protected boolean |
MemoryTransferTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
OpenDoorsTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
PlayDeadTask.shouldRun(ServerWorld serverWorld,
AxolotlEntity axolotlEntity) |
|
protected boolean |
PlayWithVillagerBabiesTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
RemoveOffHandItemTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
RidingTask.shouldRun(ServerWorld world,
E entity) |
protected boolean |
RingBellTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
RunAroundAfterRaidTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
SeekSkyAfterRaidWinTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
SeekSkyTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
SeekWaterTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
SleepTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
StartRaidTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
StartRidingTask.shouldRun(ServerWorld world,
E entity) |
protected boolean |
StayAboveWaterTask.shouldRun(ServerWorld serverWorld,
MobEntity mobEntity) |
|
protected boolean |
TakeJobSiteTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
Task.shouldRun(ServerWorld world,
E entity) |
|
protected boolean |
TimeLimitedTask.shouldRun(ServerWorld world,
E entity) |
protected boolean |
UpdateAttackTargetTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
VillagerBreedTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
VillagerWorkTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
WakeUpTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
WalkHomeTask.shouldRun(ServerWorld world,
LivingEntity entity) |
protected boolean |
WalkToNearestVisibleWantedItemTask.shouldRun(ServerWorld world,
E entity) |
protected boolean |
WalkTowardClosestAdultTask.shouldRun(ServerWorld serverWorld,
E e) |
|
protected boolean |
WalkTowardJobSiteTask.shouldRun(ServerWorld serverWorld,
VillagerEntity villagerEntity) |
|
protected boolean |
WanderAroundTask.shouldRun(ServerWorld serverWorld,
MobEntity mobEntity) |
|
protected boolean |
WanderIndoorsTask.shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
|
protected boolean |
WantNewItemTask.shouldRun(ServerWorld serverWorld,
E e) |
|
private boolean |
JumpInBedTask.shouldStartJumping(ServerWorld world,
MobEntity mob) |
|
void |
Task.stop(ServerWorld world,
E entity,
long time) |
|
private void |
FarmerWorkTask.syncComposterEvent(ServerWorld world,
BlockState oldState,
BlockPos pos,
BlockState newState) |
|
void |
Task.tick(ServerWorld world,
E entity,
long time) |
|
boolean |
Task.tryStarting(ServerWorld world,
E entity,
long time) |
|
-
-
-
-
Methods in net.minecraft.entity.passive with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
void |
AnimalEntity.breed(ServerWorld world,
AnimalEntity other) |
|
@Nullable PassiveEntity |
AxolotlEntity.createChild(ServerWorld world,
PassiveEntity entity) |
BeeEntity |
BeeEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
CatEntity |
CatEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
ChickenEntity |
ChickenEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
CowEntity |
CowEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
PassiveEntity |
DonkeyEntity.createChild(ServerWorld world,
PassiveEntity entity) |
FoxEntity |
FoxEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
GoatEntity |
GoatEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
@Nullable PassiveEntity |
HorseBaseEntity.createChild(ServerWorld world,
PassiveEntity entity) |
PassiveEntity |
HorseEntity.createChild(ServerWorld world,
PassiveEntity entity) |
LlamaEntity |
LlamaEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
MooshroomEntity |
MooshroomEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
PassiveEntity |
MuleEntity.createChild(ServerWorld world,
PassiveEntity entity) |
OcelotEntity |
OcelotEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
@Nullable PassiveEntity |
PandaEntity.createChild(ServerWorld world,
PassiveEntity entity) |
@Nullable PassiveEntity |
ParrotEntity.createChild(ServerWorld world,
PassiveEntity entity) |
abstract @Nullable PassiveEntity |
PassiveEntity.createChild(ServerWorld world,
PassiveEntity entity) |
|
PigEntity |
PigEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
PassiveEntity |
PolarBearEntity.createChild(ServerWorld world,
PassiveEntity entity) |
RabbitEntity |
RabbitEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
SheepEntity |
SheepEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
StriderEntity |
StriderEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
@Nullable PassiveEntity |
TurtleEntity.createChild(ServerWorld world,
PassiveEntity entity) |
VillagerEntity |
VillagerEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
@Nullable PassiveEntity |
WanderingTraderEntity.createChild(ServerWorld world,
PassiveEntity entity) |
WolfEntity |
WolfEntity.createChild(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
|
@Nullable Entity |
MerchantEntity.moveToWorld(ServerWorld destination) |
Moves this entity to another world.
|
void |
MooshroomEntity.onStruckByLightning(ServerWorld world,
LightningEntity lightning) |
void |
PigEntity.onStruckByLightning(ServerWorld world,
LightningEntity lightning) |
void |
TurtleEntity.onStruckByLightning(ServerWorld world,
LightningEntity lightning) |
void |
VillagerEntity.onStruckByLightning(ServerWorld world,
LightningEntity lightning) |
void |
VillagerEntity.reinitializeBrain(ServerWorld world) |
|
private @Nullable IronGolemEntity |
VillagerEntity.spawnIronGolem(ServerWorld world) |
|
void |
VillagerEntity.summonGolem(ServerWorld world,
long time,
int int2) |
|
void |
VillagerEntity.talkWithVillager(ServerWorld world,
VillagerEntity villager,
long time) |
|
-
-
-
-
-
Constructors in net.minecraft.loot.context with parameters of type ServerWorld
Constructor |
Description |
Builder(ServerWorld world) |
|
LootContext(Random random,
float luck,
ServerWorld world,
Function<Identifier,LootTable> tableGetter,
Function<Identifier,LootCondition> conditionSetter,
Map<LootContextParameter<?>,Object> parameters,
Map<Identifier,LootContext.Dropper> drops) |
|
-
-
-
-
Methods in net.minecraft.predicate.entity with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
boolean |
DamageSourcePredicate.test(ServerWorld world,
Vec3d pos,
DamageSource damageSource) |
|
boolean |
EntityPredicate.test(ServerWorld world,
@Nullable Vec3d pos,
@Nullable Entity entity) |
|
boolean |
LocationPredicate.test(ServerWorld world,
double x,
double y,
double z) |
|
boolean |
LocationPredicate.test(ServerWorld world,
float x,
float y,
float z) |
|
-
-
Methods in net.minecraft.server.command with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
private static int |
TeleportCommand.execute(ServerCommandSource source,
Collection<? extends Entity> targets,
ServerWorld world,
PosArgument location,
@Nullable PosArgument rotation,
@Nullable TeleportCommand.LookTarget facingLocation) |
|
@Nullable BlockStateArgument |
SetBlockCommand.Filter.filter(BlockBox box,
BlockPos pos,
BlockStateArgument block,
ServerWorld world) |
|
private static int |
TimeCommand.getDayTime(ServerWorld world) |
|
private static double |
SpreadPlayersCommand.getMinDistance(Collection<? extends Entity> entities,
ServerWorld world,
SpreadPlayersCommand.Pile[] piles,
int maxY,
boolean respectTeams) |
|
private static void |
TestCommand.onCompletion(ServerWorld world,
TestSet tests) |
|
private static void |
TestCommand.run(ServerWorld world,
BlockPos pos,
@Nullable TestSet tests) |
|
private static void |
TestCommand.sendMessage(ServerWorld world,
String message,
Formatting formatting) |
|
private static void |
TestCommand.setWorld(TestFunction testFunction,
ServerWorld world) |
|
private static void |
SpreadPlayersCommand.spread(Vec2f center,
double spreadDistance,
ServerWorld world,
Random random,
double minX,
double minZ,
double maxX,
double maxZ,
int maxY,
SpreadPlayersCommand.Pile[] piles,
boolean respectTeams) |
|
private static void |
TeleportCommand.teleport(ServerCommandSource source,
Entity target,
ServerWorld world,
double x,
double y,
double z,
Set<PlayerPositionLookS2CPacket.Flag> movementFlags,
float yaw,
float pitch,
@Nullable TeleportCommand.LookTarget facingLocation) |
|
private static OptionalInt |
ExecuteCommand.testBlocksCondition(ServerWorld world,
BlockPos start,
BlockPos end,
BlockPos destination,
boolean masked) |
|
ServerCommandSource |
ServerCommandSource.withWorld(ServerWorld world) |
|
Constructors in net.minecraft.server.command with parameters of type ServerWorld
Constructor |
Description |
Listener(ServerWorld world,
TestSet tests) |
|
ServerCommandSource(CommandOutput output,
Vec3d pos,
Vec2f rot,
ServerWorld world,
int level,
String simpleName,
Text name,
MinecraftServer server,
@Nullable Entity entity) |
|
ServerCommandSource(CommandOutput output,
Vec3d pos,
Vec2f rot,
ServerWorld world,
int level,
String simpleName,
Text name,
MinecraftServer server,
@Nullable Entity entity,
boolean silent,
com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer,
EntityAnchorArgumentType.EntityAnchor entityAnchor) |
|
-
-
Methods in net.minecraft.server.network with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
static void |
DebugInfoSender.addGameTestMarker(ServerWorld world,
BlockPos pos,
String message,
int color,
int duration) |
|
static void |
DebugInfoSender.clearGameTestMarkers(ServerWorld world) |
|
private void |
ServerPlayerEntity.createEndSpawnPlatform(ServerWorld world,
BlockPos centerPos) |
|
protected static @Nullable BlockPos |
SpawnLocating.findOverworldSpawn(ServerWorld world,
int x,
int z,
boolean validSpawnNeeded) |
|
static @Nullable BlockPos |
SpawnLocating.findServerSpawnPoint(ServerWorld world,
ChunkPos chunkPos,
boolean validSpawnNeeded) |
|
protected Optional<PortalUtil.Rectangle> |
ServerPlayerEntity.getPortalRect(ServerWorld destWorld,
BlockPos destPos,
boolean destIsNether) |
protected @Nullable TeleportTarget |
ServerPlayerEntity.getTeleportTarget(ServerWorld destination) |
private static String |
DebugInfoSender.method_36156(ServerWorld serverWorld,
@Nullable Object object) |
|
private void |
ServerPlayerEntity.moveToSpawn(ServerWorld world) |
|
@Nullable Entity |
ServerPlayerEntity.moveToWorld(ServerWorld destination) |
Moves this entity to another world.
|
static void |
DebugInfoSender.sendChunkWatchingChange(ServerWorld world,
ChunkPos pos) |
|
private static void |
DebugInfoSender.sendPoi(ServerWorld world,
BlockPos pos) |
|
static void |
DebugInfoSender.sendPoiAddition(ServerWorld world,
BlockPos pos) |
|
static void |
DebugInfoSender.sendPointOfInterest(ServerWorld world,
BlockPos pos) |
|
static void |
DebugInfoSender.sendPoiRemoval(ServerWorld world,
BlockPos pos) |
|
static void |
DebugInfoSender.sendRaids(ServerWorld server,
Collection<Raid> raids) |
|
private static void |
DebugInfoSender.sendToAll(ServerWorld world,
PacketByteBuf buf,
Identifier channel) |
|
void |
ServerPlayerEntity.setWorld(ServerWorld world) |
|
void |
ServerPlayerInteractionManager.setWorld(ServerWorld world) |
|
void |
ServerPlayerEntity.teleport(ServerWorld targetWorld,
double x,
double y,
double z,
float yaw,
float pitch) |
|
private void |
ServerPlayerEntity.worldChanged(ServerWorld origin) |
|
-
Constructors in net.minecraft.server.world with parameters of type ServerWorld
Constructor |
Description |
ServerChunkManager(ServerWorld world,
LevelStorage.Session session,
com.mojang.datafixers.DataFixer dataFixer,
StructureManager structureManager,
Executor workerExecutor,
ChunkGenerator chunkGenerator,
int viewDistance,
boolean bool,
WorldGenerationProgressListener worldGenerationProgressListener,
ChunkStatusChangeListener chunkStatusChangeListener,
Supplier<PersistentStateManager> supplier) |
|
ServerTickScheduler(ServerWorld world,
Predicate<T> invalidObjPredicate,
Function<T,Identifier> idToName,
Consumer<ScheduledTick<T>> tickConsumer) |
|
ThreadedAnvilChunkStorage(ServerWorld serverWorld,
LevelStorage.Session session,
com.mojang.datafixers.DataFixer dataFixer,
StructureManager structureManager,
Executor executor,
ThreadExecutor<Runnable> mainThreadExecutor,
ChunkProvider chunkProvider,
ChunkGenerator chunkGenerator,
WorldGenerationProgressListener worldGenerationProgressListener,
ChunkStatusChangeListener chunkStatusChangeListener,
Supplier<PersistentStateManager> supplier,
int int2,
boolean bool) |
|
-
Methods in net.minecraft.structure with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
StructurePiece |
StructurePieceType.load(ServerWorld world,
NbtCompound nbt) |
|
private static StructurePlacementData |
RuinedPortalStructurePiece.method_35449(ServerWorld world,
NbtCompound nbt,
Identifier id) |
|
NbtCompound |
StructurePiece.toNbt(ServerWorld world) |
|
NbtCompound |
StructureStart.toNbt(ServerWorld world,
ChunkPos chunkPos) |
|
protected void |
BuriedTreasureGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
DesertTempleGenerator.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
EndCityGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
IglooGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
JungleTempleGenerator.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
MineshaftGenerator.MineshaftCorridor.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
MineshaftGenerator.MineshaftCrossing.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
MineshaftGenerator.MineshaftPart.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
MineshaftGenerator.MineshaftRoom.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
NetherFortressGenerator.BridgeEnd.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
NetherFortressGenerator.BridgePlatform.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
NetherFortressGenerator.CorridorLeftTurn.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
NetherFortressGenerator.CorridorRightTurn.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
NetherFortressGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
NetherFossilGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
OceanMonumentGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
OceanRuinGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
PoolStructurePiece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
RuinedPortalStructurePiece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
ShipwreckGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
SimpleStructurePiece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.ChestCorridor.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.Corridor.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.FiveWayCrossing.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.Library.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.PortalRoom.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.SmallCorridor.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.SpiralStaircase.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
StrongholdGenerator.SquareRoom.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected abstract void |
StructurePiece.writeNbt(ServerWorld world,
NbtCompound nbt) |
|
protected void |
StructurePieceWithDimensions.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
SwampHutGenerator.writeNbt(ServerWorld world,
NbtCompound nbt) |
protected void |
WoodlandMansionGenerator.Piece.writeNbt(ServerWorld world,
NbtCompound nbt) |
Constructors in net.minecraft.structure with parameters of type ServerWorld
Constructor |
Description |
Base(ServerWorld serverWorld,
NbtCompound nbt) |
|
Bridge(ServerWorld serverWorld,
NbtCompound nbt) |
|
BridgeCrossing(ServerWorld serverWorld,
NbtCompound nbt) |
|
BridgeEnd(ServerWorld serverWorld,
NbtCompound nbt) |
|
BridgePlatform(ServerWorld serverWorld,
NbtCompound nbt) |
|
BridgeSmallCrossing(ServerWorld serverWorld,
NbtCompound nbt) |
|
BridgeStairs(ServerWorld serverWorld,
NbtCompound nbt) |
|
ChestCorridor(ServerWorld serverWorld,
NbtCompound nbt) |
|
CoreRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
Corridor(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorBalcony(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorCrossing(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorExit(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorLeftTurn(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorNetherWartsRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorRightTurn(ServerWorld serverWorld,
NbtCompound nbt) |
|
CorridorStairs(ServerWorld serverWorld,
NbtCompound nbt) |
|
DesertTempleGenerator(ServerWorld world,
NbtCompound nbt) |
|
DoubleXRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
DoubleXYRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
DoubleYRoom(ServerWorld serverWorld,
NbtCompound nbtCompound) |
|
DoubleYZRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
DoubleZRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
Entry(ServerWorld serverWorld,
NbtCompound nbt) |
|
FiveWayCrossing(ServerWorld serverWorld,
NbtCompound nbt) |
|
JungleTempleGenerator(ServerWorld world,
NbtCompound nbt) |
|
LeftTurn(ServerWorld serverWorld,
NbtCompound nbt) |
|
Library(ServerWorld serverWorld,
NbtCompound nbt) |
|
MineshaftCorridor(ServerWorld serverWorld,
NbtCompound nbt) |
|
MineshaftCrossing(ServerWorld serverWorld,
NbtCompound nbt) |
|
MineshaftRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
MineshaftStairs(ServerWorld serverWorld,
NbtCompound nbt) |
|
Penthouse(ServerWorld serverWorld,
NbtCompound nbt) |
|
Piece(ServerWorld world,
NbtCompound nbt) |
|
Piece(ServerWorld serverWorld,
NbtCompound nbtCompound) |
|
Piece(ServerWorld world,
NbtCompound nbt) |
|
Piece(ServerWorld world,
NbtCompound nbt) |
|
Piece(ServerWorld world,
NbtCompound nbt) |
|
Piece(ServerWorld world,
NbtCompound nbt) |
|
Piece(ServerWorld serverWorld,
NbtCompound nbt) |
|
PoolStructurePiece(ServerWorld world,
NbtCompound nbt) |
|
PortalRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
PrisonHall(ServerWorld serverWorld,
NbtCompound nbt) |
|
RightTurn(ServerWorld serverWorld,
NbtCompound nbt) |
|
RuinedPortalStructurePiece(ServerWorld world,
NbtCompound nbt) |
|
SimpleRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
SimpleRoomTop(ServerWorld serverWorld,
NbtCompound nbt) |
|
SimpleStructurePiece(StructurePieceType structurePieceType,
NbtCompound nbtCompound,
ServerWorld serverWorld,
Function<Identifier,StructurePlacementData> function) |
|
SmallCorridor(ServerWorld serverWorld,
NbtCompound nbt) |
|
SmallCorridor(ServerWorld serverWorld,
NbtCompound nbt) |
|
SpiralStaircase(ServerWorld serverWorld,
NbtCompound nbt) |
|
SquareRoom(ServerWorld serverWorld,
NbtCompound nbt) |
|
Stairs(ServerWorld serverWorld,
NbtCompound nbt) |
|
Start(ServerWorld serverWorld,
NbtCompound nbt) |
Start(ServerWorld serverWorld,
NbtCompound nbt) |
SwampHutGenerator(ServerWorld serverWorld,
NbtCompound nbt) |
|
WingRoom(ServerWorld world,
NbtCompound nbt) |
|
-
Methods in net.minecraft.test with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
private static void |
StructureTestListener.addGameTestMarker(ServerWorld world,
BlockPos pos,
String message) |
|
static void |
StructureTestUtil.clearArea(BlockBox area,
int altitude,
ServerWorld world) |
|
static void |
TestUtil.clearDebugMarkers(ServerWorld world) |
|
static void |
TestUtil.clearTests(ServerWorld world,
BlockPos pos,
TestManager testManager,
int radius) |
|
private static Structure |
StructureTestUtil.createStructure(String structureId,
ServerWorld world) |
|
static StructureBlockBlockEntity |
StructureTestUtil.createStructure(String structureName,
BlockPos pos,
BlockRotation rotation,
int int2,
ServerWorld world,
boolean bool) |
|
static void |
StructureTestUtil.createTestArea(String structure,
BlockPos pos,
Vec3i relativePos,
BlockRotation rotation,
ServerWorld world) |
|
static Optional<BlockPos> |
StructureTestUtil.findContainingStructureBlock(BlockPos pos,
int radius,
ServerWorld world) |
|
static @Nullable BlockPos |
StructureTestUtil.findNearestStructureBlock(BlockPos pos,
int radius,
ServerWorld world) |
|
static Collection<BlockPos> |
StructureTestUtil.findStructureBlocks(BlockPos pos,
int radius,
ServerWorld world) |
|
private static void |
StructureTestUtil.forceLoadNearbyChunks(BlockPos pos,
ServerWorld world) |
|
private static boolean |
StructureTestUtil.isInStructureBounds(BlockPos structureBlockPos,
BlockPos pos,
ServerWorld world) |
|
void |
GameTestBatch.method_32237(ServerWorld world) |
|
static void |
StructureTestUtil.placeStartButton(BlockPos pos,
BlockPos relativePos,
BlockRotation rotation,
ServerWorld world) |
|
private static StructureBlockBlockEntity |
StructureTestUtil.placeStructure(String name,
BlockPos pos,
BlockRotation rotation,
ServerWorld world,
boolean bool) |
|
private static void |
StructureTestUtil.resetBlock(int altitude,
BlockPos pos,
ServerWorld world) |
|
private void |
TestServer.runTestBatches(ServerWorld world) |
|
static Collection<GameTest> |
TestUtil.runTestBatches(Collection<GameTestBatch> batches,
BlockPos pos,
BlockRotation rotation,
ServerWorld world,
TestManager testManager,
int sizeZ) |
|
static Collection<GameTest> |
TestUtil.runTestFunctions(Collection<TestFunction> testFunctions,
BlockPos pos,
BlockRotation rotation,
ServerWorld world,
TestManager testManager,
int sizeZ) |
|
protected static void |
StructureTestListener.sendMessageToAllPlayers(ServerWorld world,
Formatting formatting,
String message) |
|
void |
GameTestBatch.setWorld(ServerWorld world) |
|
-
-
-
-
Methods in net.minecraft.world with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
private static boolean |
SpawnHelper.canSpawn(ServerWorld world,
SpawnGroup group,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
SpawnSettings.SpawnEntry spawnEntry,
BlockPos.Mutable pos,
double squaredDistance) |
|
private static boolean |
SpawnHelper.containsSpawnEntry(ServerWorld world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
SpawnGroup spawnGroup,
SpawnSettings.SpawnEntry spawnEntry,
BlockPos pos) |
|
private static @Nullable MobEntity |
SpawnHelper.createMob(ServerWorld world,
EntityType<?> type) |
|
static ProtoChunk |
ChunkSerializer.deserialize(ServerWorld world,
StructureManager structureManager,
PointOfInterestStorage poiStorage,
ChunkPos pos,
NbtCompound nbt) |
|
private static class_6012<SpawnSettings.SpawnEntry> |
SpawnHelper.getSpawnEntries(ServerWorld world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
SpawnGroup spawnGroup,
BlockPos pos,
@Nullable Biome biome) |
|
private static boolean |
SpawnHelper.isAcceptableSpawnPosition(ServerWorld world,
Chunk chunk,
BlockPos.Mutable pos,
double squaredDistance) |
|
private static boolean |
SpawnHelper.isValidSpawn(ServerWorld world,
MobEntity entity,
double squaredDistance) |
|
private static void |
ChunkSerializer.loadEntities(ServerWorld world,
NbtCompound nbt,
WorldChunk chunk) |
|
private static Optional<SpawnSettings.SpawnEntry> |
SpawnHelper.pickRandomSpawnEntry(ServerWorld world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
SpawnGroup spawnGroup,
Random random,
BlockPos pos) |
|
private static Map<StructureFeature<?>,StructureStart<?>> |
ChunkSerializer.readStructureStarts(ServerWorld serverWorld,
NbtCompound nbt,
long worldSeed) |
|
static NbtCompound |
ChunkSerializer.serialize(ServerWorld world,
Chunk chunk) |
|
void |
MobSpawnerLogic.serverTick(ServerWorld world,
BlockPos pos) |
|
static void |
SpawnHelper.spawn(ServerWorld world,
WorldChunk chunk,
SpawnHelper.Info info,
boolean spawnAnimals,
boolean spawnMonsters,
boolean rareSpawn) |
|
int |
WanderingTraderManager.spawn(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals) |
Spawns entities into a world.
|
static void |
SpawnHelper.spawnEntitiesInChunk(SpawnGroup group,
ServerWorld world,
BlockPos pos) |
|
static void |
SpawnHelper.spawnEntitiesInChunk(SpawnGroup group,
ServerWorld world,
Chunk chunk,
BlockPos pos,
SpawnHelper.Checker checker,
SpawnHelper.Runner runner) |
|
static void |
SpawnHelper.spawnEntitiesInChunk(SpawnGroup group,
ServerWorld world,
WorldChunk chunk,
SpawnHelper.Checker checker,
SpawnHelper.Runner runner) |
|
private void |
WanderingTraderManager.spawnLlama(ServerWorld world,
WanderingTraderEntity wanderingTrader,
int range) |
|
private boolean |
WanderingTraderManager.trySpawn(ServerWorld world) |
|
private static NbtCompound |
ChunkSerializer.writeStructures(ServerWorld serverWorld,
ChunkPos chunkPos,
Map<StructureFeature<?>,StructureStart<?>> map,
Map<StructureFeature<?>,LongSet> map2) |
|
-
Methods in net.minecraft.world.chunk with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
ChunkStatus.GenerationTask.doWork(ChunkStatus targetStatus,
Executor executor,
ServerWorld world,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ServerLightingProvider serverLightingProvider,
Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function,
List<Chunk> list,
Chunk chunk) |
|
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
ChunkStatus.LoadTask.doWork(ChunkStatus targetStatus,
ServerWorld world,
StructureManager structureManager,
ServerLightingProvider lightingProvider,
Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function,
Chunk chunk) |
|
void |
ChunkStatus.SimpleGenerationTask.doWork(ServerWorld world,
ChunkGenerator generator,
List<Chunk> surroundingChunks,
Chunk chunk) |
|
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus,
Executor executor,
ServerWorld world,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ServerLightingProvider serverLightingProvider,
Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function,
List<Chunk> list,
Chunk chunk) |
void |
WorldChunk.enableTickSchedulers(ServerWorld world) |
|
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
ChunkStatus.runGenerationTask(Executor executor,
ServerWorld world,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ServerLightingProvider serverLightingProvider,
Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function,
List<Chunk> list) |
|
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
ChunkStatus.runLoadTask(ServerWorld world,
StructureManager structureManager,
ServerLightingProvider lightingProvider,
Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function,
Chunk chunk) |
|
-
-
Methods in net.minecraft.world.gen with parameters of type ServerWorld
Modifier and Type |
Method |
Description |
int |
CatSpawner.spawn(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals) |
Spawns entities into a world.
|
private int |
CatSpawner.spawn(BlockPos pos,
ServerWorld world) |
|
int |
PhantomSpawner.spawn(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals) |
Spawns entities into a world.
|
int |
PillagerSpawner.spawn(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals) |
Spawns entities into a world.
|
int |
Spawner.spawn(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals) |
Spawns entities into a world.
|
private int |
CatSpawner.spawnInHouse(ServerWorld world,
BlockPos pos) |
|
private int |
CatSpawner.spawnInSwampHut(ServerWorld world,
BlockPos pos) |
|
private boolean |
PillagerSpawner.spawnPillager(ServerWorld world,
BlockPos pos,
Random random,
boolean captain) |
|
-
-
-