net.minecraft.gametest.framework

public class GameTestHelper

so
net.minecraft.gametest.framework.GameTestHelper
net.minecraft.class_4516
net.minecraft.test.TestContext

Field summary

Modifier and TypeField
private final GameTestInfo
a
testInfo
field_20558
test
private boolean
b
finalCheckAdded
field_33146
hasFinalClause

Constructor summary

ModifierConstructor
public (GameTestInfo test)

Method summary

Modifier and TypeMethod
public GameTestAssertException
a(ww arg0)
assertionException(Component arg0)
method_66943(class_2561 arg0)
createError(Text message)
public GameTestAssertException
a(String arg0, Object... arg1)
assertionException(String arg0, Object... arg1)
method_66937(String arg0, Object... arg1)
createError(String translationKey, Object... args)
public GameTestAssertPosException
a(iu arg0, ww arg1)
assertionException(BlockPos arg0, Component arg1)
method_66942(class_2338 arg0, class_2561 arg1)
createError(BlockPos pos, Text message)
public GameTestAssertPosException
a(iu arg0, String arg1, Object... arg2)
assertionException(BlockPos arg0, String arg1, Object... arg2)
method_66941(class_2338 arg0, String arg1, Object... arg2)
createError(BlockPos pos, String translationKey, Object... args)
public ServerLevel
a()
getLevel()
method_35943()
getWorld()
public BlockState
a(iu arg0)
getBlockState(BlockPos arg0)
method_35980(class_2338 arg0)
getBlockState(BlockPos pos)
public <T extends BlockEntity> T
a(iu arg0, Class<T> arg1)
getBlockEntity(BlockPos arg0, Class<T> arg1)
method_36014(class_2338 arg0, Class<T> arg1)
getBlockEntity(BlockPos pos, Class<T> clazz)
public void
b()
killAllEntities()
method_36001()
killAllEntities()
public void
a(Class<? extends bwa> arg0)
killAllEntitiesOfClass(Class<? extends Entity> arg0)
method_52207(Class<? extends class_1297> arg0)
killAllEntities(Class<? extends Entity> entityClass)
public ItemEntity
a(cyo arg0, fdw arg1)
spawnItem(Item arg0, Vec3 arg1)
method_57100(class_1792 arg0, class_243 arg1)
spawnItem(Item item, Vec3d pos)
public ItemEntity
a(cyo arg0, float arg1, float arg2, float arg3)
spawnItem(Item arg0, float arg1, float arg2, float arg3)
method_35968(class_1792 arg0, float arg1, float arg2, float arg3)
spawnItem(Item item, float x, float y, float z)
public ItemEntity
a(cyo arg0, iu arg1)
spawnItem(Item arg0, BlockPos arg1)
method_46225(class_1792 arg0, class_2338 arg1)
spawnItem(Item item, BlockPos pos)
public <E extends Entity> E
a(bwj<E> arg0, iu arg1)
spawn(EntityType<E> arg0, BlockPos arg1)
method_35964(class_1299<E> arg0, class_2338 arg1)
spawnEntity(EntityType<E> type, BlockPos pos)
public <E extends Entity> E
a(bwj<E> arg0, fdw arg1)
spawn(EntityType<E> arg0, Vec3 arg1)
method_35963(class_1299<E> arg0, class_243 arg1)
spawnEntity(EntityType<E> type, Vec3d pos)
public void
a(bwa arg0, bup arg1, float arg2)
hurt(Entity arg0, DamageSource arg1, float arg2)
method_64543(class_1297 arg0, class_1282 arg1, float arg2)
damage(Entity entity, DamageSource damageSource, float amount)
public void
a(bwa arg0)
kill(Entity arg0)
method_64542(class_1297 arg0)
killEntity(Entity entity)
public <E extends Entity> E
a(bwj<E> arg0)
findOneEntity(EntityType<E> arg0)
method_56201(class_1299<E> arg0)
expectEntityInWorld(EntityType<E> type)
public <E extends Entity> E
a(bwj<E> arg0, int arg1, int arg2, int arg3, double arg4)
findClosestEntity(EntityType<E> arg0, int arg1, int arg2, int arg3, double arg4)
method_56202(class_1299<E> arg0, int arg1, int arg2, int arg3, double arg4)
expectEntity(EntityType<E> type, int x, int y, int z, double margin)
public <E extends Entity> List<E>
b(bwj<E> arg0, int arg1, int arg2, int arg3, double arg4)
findEntities(EntityType<E> arg0, int arg1, int arg2, int arg3, double arg4)
method_56207(class_1299<E> arg0, int arg1, int arg2, int arg3, double arg4)
getEntitiesAround(EntityType<E> type, int x, int y, int z, double margin)
public <E extends Entity> List<E>
a(bwj<E> arg0, fdw arg1, double arg2)
findEntities(EntityType<E> arg0, Vec3 arg1, double arg2)
method_56203(class_1299<E> arg0, class_243 arg1, double arg2)
getEntitiesAround(EntityType<E> type, Vec3d pos, double margin)
public <E extends Entity> E
a(bwj<E> arg0, int arg1, int arg2, int arg3)
spawn(EntityType<E> arg0, int arg1, int arg2, int arg3)
method_35962(class_1299<E> arg0, int arg1, int arg2, int arg3)
spawnEntity(EntityType<E> type, int x, int y, int z)
public <E extends Entity> E
a(bwj<E> arg0, float arg1, float arg2, float arg3)
spawn(EntityType<E> arg0, float arg1, float arg2, float arg3)
method_35961(class_1299<E> arg0, float arg1, float arg2, float arg3)
spawnEntity(EntityType<E> type, float x, float y, float z)
public <E extends Mob> E
b(bwj<E> arg0, iu arg1)
spawnWithNoFreeWill(EntityType<E> arg0, BlockPos arg1)
method_36009(class_1299<E> arg0, class_2338 arg1)
spawnMob(EntityType<E> type, BlockPos pos)
public <E extends Mob> E
b(bwj<E> arg0, int arg1, int arg2, int arg3)
spawnWithNoFreeWill(EntityType<E> arg0, int arg1, int arg2, int arg3)
method_36007(class_1299<E> arg0, int arg1, int arg2, int arg3)
spawnMob(EntityType<E> type, int x, int y, int z)
public <E extends Mob> E
b(bwj<E> arg0, fdw arg1)
spawnWithNoFreeWill(EntityType<E> arg0, Vec3 arg1)
method_36008(class_1299<E> arg0, class_243 arg1)
spawnMob(EntityType<E> type, Vec3d pos)
public <E extends Mob> E
b(bwj<E> arg0, float arg1, float arg2, float arg3)
spawnWithNoFreeWill(EntityType<E> arg0, float arg1, float arg2, float arg3)
method_36006(class_1299<E> arg0, float arg1, float arg2, float arg3)
spawnMob(EntityType<E> type, float x, float y, float z)
public void
a(bxb arg0, float arg1, float arg2, float arg3)
moveTo(Mob arg0, float arg1, float arg2, float arg3)
method_57099(class_1308 arg0, float arg1, float arg2, float arg3)
setEntityPos(MobEntity entity, float x, float y, float z)
public GameTestSequence
a(bxb arg0, iu arg1, float arg2)
walkTo(Mob arg0, BlockPos arg1, float arg2)
method_35967(class_1308 arg0, class_2338 arg1, float arg2)
startMovingTowards(MobEntity entity, BlockPos pos, float speed)
public void
a(int arg0, int arg1, int arg2)
pressButton(int arg0, int arg1, int arg2)
method_35945(int arg0, int arg1, int arg2)
pushButton(int x, int y, int z)
public void
b(iu arg0)
pressButton(BlockPos arg0)
method_36026(class_2338 arg0)
pushButton(BlockPos pos)
public void
c(iu arg0)
useBlock(BlockPos arg0)
method_46229(class_2338 arg0)
useBlock(BlockPos pos)
public void
a(iu arg0, cqs arg1)
useBlock(BlockPos arg0, Player arg1)
method_36034(class_2338 arg0, class_1657 arg1)
useBlock(BlockPos pos, PlayerEntity player)
public void
a(iu arg0, cqs arg1, fds arg2)
useBlock(BlockPos arg0, Player arg1, BlockHitResult arg2)
method_47817(class_2338 arg0, class_1657 arg1, class_3965 arg2)
useBlock(BlockPos pos, PlayerEntity player, BlockHitResult result)
public LivingEntity
a(bwz arg0)
makeAboutToDrown(LivingEntity arg0)
method_35966(class_1309 arg0)
drown(LivingEntity entity)
public LivingEntity
b(bwz arg0)
withLowHealth(LivingEntity arg0)
method_51821(class_1309 arg0)
setHealthLow(LivingEntity entity)
public Player
a(dim arg0)
makeMockPlayer(GameType arg0)
method_36021(class_1934 arg0)
createMockPlayer(GameMode gameMode)
public ServerPlayer
c()
makeMockServerPlayerInLevel()
method_51891()
createMockCreativeServerPlayerInWorld()
public void
b(int arg0, int arg1, int arg2)
pullLever(int arg0, int arg1, int arg2)
method_36002(int arg0, int arg1, int arg2)
toggleLever(int x, int y, int z)
public void
d(iu arg0)
pullLever(BlockPos arg0)
method_36039(class_2338 arg0)
toggleLever(BlockPos pos)
public void
a(iu arg0, long arg1)
pulseRedstone(BlockPos arg0, long arg1)
method_35981(class_2338 arg0, long arg1)
putAndRemoveRedstoneBlock(BlockPos pos, long delay)
public void
e(iu arg0)
destroyBlock(BlockPos arg0)
method_36044(class_2338 arg0)
removeBlock(BlockPos pos)
public void
a(int arg0, int arg1, int arg2, dlu arg3)
setBlock(int arg0, int arg1, int arg2, Block arg3)
method_35946(int arg0, int arg1, int arg2, class_2248 arg3)
setBlockState(int x, int y, int z, Block block)
public void
a(int arg0, int arg1, int arg2, dzo arg3)
setBlock(int arg0, int arg1, int arg2, BlockState arg3)
method_35947(int arg0, int arg1, int arg2, class_2680 arg3)
setBlockState(int x, int y, int z, BlockState state)
public void
a(iu arg0, dlu arg1)
setBlock(BlockPos arg0, Block arg1)
method_35984(class_2338 arg0, class_2248 arg1)
setBlockState(BlockPos pos, Block block)
public void
a(iu arg0, dzo arg1)
setBlock(BlockPos arg0, BlockState arg1)
method_35986(class_2338 arg0, class_2680 arg1)
setBlockState(BlockPos pos, BlockState state)
public void
d()
setNight()
method_36030()
useNightTime()
public void
a(int arg0)
setDayTime(int arg0)
method_35944(int arg0)
setTime(int timeOfDay)
public void
a(dlu arg0, int arg1, int arg2, int arg3)
assertBlockPresent(Block arg0, int arg1, int arg2, int arg3)
method_35971(class_2248 arg0, int arg1, int arg2, int arg3)
expectBlock(Block block, int x, int y, int z)
public void
a(dlu arg0, iu arg1)
assertBlockPresent(Block arg0, BlockPos arg1)
method_35972(class_2248 arg0, class_2338 arg1)
expectBlock(Block block, BlockPos pos)
public void
b(dlu arg0, int arg1, int arg2, int arg3)
assertBlockNotPresent(Block arg0, int arg1, int arg2, int arg3)
method_36011(class_2248 arg0, int arg1, int arg2, int arg3)
dontExpectBlock(Block block, int x, int y, int z)
public void
b(dlu arg0, iu arg1)
assertBlockNotPresent(Block arg0, BlockPos arg1)
method_36012(class_2248 arg0, class_2338 arg1)
dontExpectBlock(Block block, BlockPos pos)
public void
a(axp<dlu> arg0, iu arg1)
assertBlockTag(TagKey<Block> arg0, BlockPos arg1)
method_66935(class_6862<class_2248> arg0, class_2338 arg1)
expectBlockIn(TagKey<Block> tag, BlockPos pos)
public void
c(dlu arg0, int arg1, int arg2, int arg3)
succeedWhenBlockPresent(Block arg0, int arg1, int arg2, int arg3)
method_36024(class_2248 arg0, int arg1, int arg2, int arg3)
expectBlockAtEnd(Block block, int x, int y, int z)
public void
c(dlu arg0, iu arg1)
succeedWhenBlockPresent(Block arg0, BlockPos arg1)
method_36025(class_2248 arg0, class_2338 arg1)
expectBlockAtEnd(Block block, BlockPos pos)
public void
a(iu arg0, Predicate<dlu> arg1, Function<dlu, ww> arg2)
assertBlock(BlockPos arg0, Predicate<Block> arg1, Function<Block, Component> arg2)
method_35992(class_2338 arg0, Predicate<class_2248> arg1, Function<class_2248, class_2561> arg2)
checkBlock(BlockPos pos, Predicate<Block> predicate, Function<Block, Text> messageGetter)
public <T extends Comparable<T>> void
a(iu arg0, ear<T> arg1, T arg2)
assertBlockProperty(BlockPos arg0, Property<T> arg1, T arg2)
method_35987(class_2338 arg0, class_2769<T> arg1, T arg2)
expectBlockProperty(BlockPos pos, Property<T> property, T value)
public <T extends Comparable<T>> void
a(iu arg0, ear<T> arg1, Predicate<T> arg2, ww arg3)
assertBlockProperty(BlockPos arg0, Property<T> arg1, Predicate<T> arg2, Component arg3)
method_35988(class_2338 arg0, class_2769<T> arg1, Predicate<T> arg2, class_2561 arg3)
checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, Text message)
public void
b(iu arg0, dzo arg1)
assertBlockState(BlockPos arg0, BlockState arg1)
method_66947(class_2338 arg0, class_2680 arg1)
expectBlockState(BlockPos pos, BlockState state)
public void
b(iu arg0, Predicate<dzo> arg1, Function<dzo, ww> arg2)
assertBlockState(BlockPos arg0, Predicate<BlockState> arg1, Function<BlockState, Component> arg2)
method_36017(class_2338 arg0, Predicate<class_2680> arg1, Function<class_2680, class_2561> arg2)
checkBlockState(BlockPos pos, Predicate<BlockState> predicate, Function<BlockState, Text> messageGetter)
public <T extends BlockEntity> void
a(iu arg0, Class<T> arg1, Predicate<T> arg2, Supplier<ww> arg3)
assertBlockEntityData(BlockPos arg0, Class<T> arg1, Predicate<T> arg2, Supplier<Component> arg3)
method_60651(class_2338 arg0, Class<T> arg1, Predicate<T> arg2, Supplier<class_2561> arg3)
checkBlockEntity(BlockPos pos, Class<T> clazz, Predicate<T> predicate, Supplier<Text> messageGetter)
public void
a(iu arg0, ja arg1, IntPredicate arg2, Supplier<ww> arg3)
assertRedstoneSignal(BlockPos arg0, Direction arg1, IntPredicate arg2, Supplier<Component> arg3)
method_52225(class_2338 arg0, class_2350 arg1, IntPredicate arg2, Supplier<class_2561> arg3)
expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<Text> messageGetter)
public void
b(bwj<?> arg0)
assertEntityPresent(EntityType<?> arg0)
method_35959(class_1299<?> arg0)
expectEntity(EntityType<?> type)
public void
c(bwj<?> arg0, int arg1, int arg2, int arg3)
assertEntityPresent(EntityType<?> arg0, int arg1, int arg2, int arg3)
method_36022(class_1299<?> arg0, int arg1, int arg2, int arg3)
expectEntityAt(EntityType<?> type, int x, int y, int z)
public void
c(bwj<?> arg0, iu arg1)
assertEntityPresent(EntityType<?> arg0, BlockPos arg1)
method_36023(class_1299<?> arg0, class_2338 arg1)
expectEntityAt(EntityType<?> type, BlockPos pos)
public void
a(bwj<?> arg0, fdr arg1)
assertEntityPresent(EntityType<?> arg0, AABB arg1)
method_46224(class_1299<?> arg0, class_238 arg1)
expectEntityInside(EntityType<?> type, Box box)
public void
a(bwj<?> arg0, int arg1)
assertEntitiesPresent(EntityType<?> arg0, int arg1)
method_55323(class_1299<?> arg0, int arg1)
expectEntities(EntityType<?> type, int amount)
public void
a(bwj<?> arg0, iu arg1, int arg2, double arg3)
assertEntitiesPresent(EntityType<?> arg0, BlockPos arg1, int arg2, double arg3)
method_44606(class_1299<?> arg0, class_2338 arg1, int arg2, double arg3)
expectEntitiesAround(EntityType<?> type, BlockPos pos, int amount, double radius)
public void
a(bwj<?> arg0, iu arg1, double arg2)
assertEntityPresent(EntityType<?> arg0, BlockPos arg1, double arg2)
method_35965(class_1299<?> arg0, class_2338 arg1, double arg2)
expectEntityAround(EntityType<?> type, BlockPos pos, double radius)
public <T extends Entity> List<T>
b(bwj<T> arg0, iu arg1, double arg2)
getEntities(EntityType<T> arg0, BlockPos arg1, double arg2)
method_44335(class_1299<T> arg0, class_2338 arg1, double arg2)
getEntitiesAround(EntityType<T> type, BlockPos pos, double radius)
public <T extends Entity> List<T>
c(bwj<T> arg0)
getEntities(EntityType<T> arg0)
method_56208(class_1299<T> arg0)
getEntities(EntityType<T> type)
public void
a(bwa arg0, int arg1, int arg2, int arg3)
assertEntityInstancePresent(Entity arg0, int arg1, int arg2, int arg3)
method_35953(class_1297 arg0, int arg1, int arg2, int arg3)
expectEntityAt(Entity entity, int x, int y, int z)
public void
a(bwa arg0, iu arg1)
assertEntityInstancePresent(Entity arg0, BlockPos arg1)
method_35955(class_1297 arg0, class_2338 arg1)
expectEntityAt(Entity entity, BlockPos pos)
public void
a(cyo arg0, iu arg1, double arg2, int arg3)
assertItemEntityCountIs(Item arg0, BlockPos arg1, double arg2, int arg3)
method_35970(class_1792 arg0, class_2338 arg1, double arg2, int arg3)
expectItemsAt(Item item, BlockPos pos, double radius, int amount)
public void
a(cyo arg0, iu arg1, double arg2)
assertItemEntityPresent(Item arg0, BlockPos arg1, double arg2)
method_35969(class_1792 arg0, class_2338 arg1, double arg2)
expectItemAt(Item item, BlockPos pos, double radius)
public void
b(cyo arg0, iu arg1, double arg2)
assertItemEntityNotPresent(Item arg0, BlockPos arg1, double arg2)
method_42762(class_1792 arg0, class_2338 arg1, double arg2)
dontExpectItemAt(Item item, BlockPos pos, double radius)
public void
a(cyo arg0)
assertItemEntityPresent(Item arg0)
method_54143(class_1792 arg0)
expectItem(Item item)
public void
b(cyo arg0)
assertItemEntityNotPresent(Item arg0)
method_54144(class_1792 arg0)
dontExpectItem(Item item)
public void
d(bwj<?> arg0)
assertEntityNotPresent(EntityType<?> arg0)
method_36004(class_1299<?> arg0)
dontExpectEntity(EntityType<?> type)
public void
d(bwj<?> arg0, int arg1, int arg2, int arg3)
assertEntityNotPresent(EntityType<?> arg0, int arg1, int arg2, int arg3)
method_36031(class_1299<?> arg0, int arg1, int arg2, int arg3)
dontExpectEntityAt(EntityType<?> type, int x, int y, int z)
public void
d(bwj<?> arg0, iu arg1)
assertEntityNotPresent(EntityType<?> arg0, BlockPos arg1)
method_36032(class_1299<?> arg0, class_2338 arg1)
dontExpectEntityAt(EntityType<?> type, BlockPos pos)
public void
b(bwj<?> arg0, fdr arg1)
assertEntityNotPresent(EntityType<?> arg0, AABB arg1)
method_59872(class_1299<?> arg0, class_238 arg1)
dontExpectEntityBetween(EntityType<?> type, Box box)
public void
a(bwj<?> arg0, double arg1, double arg2, double arg3)
assertEntityTouching(EntityType<?> arg0, double arg1, double arg2, double arg3)
method_35960(class_1299<?> arg0, double arg1, double arg2, double arg3)
expectEntityToTouch(EntityType<?> type, double x, double y, double z)
public void
b(bwj<?> arg0, double arg1, double arg2, double arg3)
assertEntityNotTouching(EntityType<?> arg0, double arg1, double arg2, double arg3)
method_36005(class_1299<?> arg0, double arg1, double arg2, double arg3)
dontExpectEntityToTouch(EntityType<?> type, double x, double y, double z)
public <E extends Entity, T> void
a(iu arg0, bwj<E> arg1, Predicate<E> arg2)
assertEntityData(BlockPos arg0, EntityType<E> arg1, Predicate<E> arg2)
method_64113(class_2338 arg0, class_1299<E> arg1, Predicate<E> arg2)
expectEntity(BlockPos pos, EntityType<E> type, Predicate<E> predicate)
public <E extends Entity, T> void
a(iu arg0, bwj<E> arg1, Function<? super E, T> arg2, T arg3)
assertEntityData(BlockPos arg0, EntityType<E> arg1, Function<? super E, T> arg2, T arg3)
method_35982(class_2338 arg0, class_1299<E> arg1, Function<? super E, T> arg2, T arg3)
expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T data)
public <E extends LivingEntity> void
a(iu arg0, bwj<E> arg1, cyo arg2)
assertEntityIsHolding(BlockPos arg0, EntityType<E> arg1, Item arg2)
method_48001(class_2338 arg0, class_1299<E> arg1, class_1792 arg2)
expectEntityHoldingItem(BlockPos pos, EntityType<E> entityType, Item item)
public <E extends Entity extends InventoryCarrier> void
b(iu arg0, bwj<E> arg1, cyo arg2)
assertEntityInventoryContains(BlockPos arg0, EntityType<E> arg1, Item arg2)
method_48003(class_2338 arg0, class_1299<E> arg1, class_1792 arg2)
expectEntityWithItem(BlockPos pos, EntityType<E> entityType, Item item)
public void
f(iu arg0)
assertContainerEmpty(BlockPos arg0)
method_36047(class_2338 arg0)
expectEmptyContainer(BlockPos pos)
public void
a(iu arg0, cyo arg1)
assertContainerContainsSingle(BlockPos arg0, Item arg1)
method_66940(class_2338 arg0, class_1792 arg1)
expectContainerWithSingle(BlockPos pos, Item item)
public void
b(iu arg0, cyo arg1)
assertContainerContains(BlockPos arg0, Item arg1)
method_35983(class_2338 arg0, class_1792 arg1)
expectContainerWith(BlockPos pos, Item item)
public void
a(eqa arg0, iu arg1)
assertSameBlockStates(BoundingBox arg0, BlockPos arg1)
method_35977(class_3341 arg0, class_2338 arg1)
expectSameStates(BlockBox checkedBlockBox, BlockPos correctStatePos)
public void
a(iu arg0, iu arg1)
assertSameBlockState(BlockPos arg0, BlockPos arg1)
method_35990(class_2338 arg0, class_2338 arg1)
expectSameStates(BlockPos checkedPos, BlockPos correctStatePos)
public void
a(long arg0, iu arg1, cyo arg2)
assertAtTickTimeContainerContains(long arg0, BlockPos arg1, Item arg2)
method_35950(long arg0, class_2338 arg1, class_1792 arg2)
expectContainerWith(long delay, BlockPos pos, Item item)
public void
a(long arg0, iu arg1)
assertAtTickTimeContainerEmpty(long arg0, BlockPos arg1)
method_35949(long arg0, class_2338 arg1)
expectEmptyContainer(long delay, BlockPos pos)
public <E extends Entity, T> void
b(iu arg0, bwj<E> arg1, Function<E, T> arg2, T arg3)
succeedWhenEntityData(BlockPos arg0, EntityType<E> arg1, Function<E, T> arg2, T arg3)
method_36015(class_2338 arg0, class_1299<E> arg1, Function<E, T> arg2, T arg3)
expectEntityWithDataEnd(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data)
public void
a(bwa arg0, fdr arg1, ww arg2)
assertEntityPosition(Entity arg0, AABB arg1, Component arg2)
method_61173(class_1297 arg0, class_238 arg1, class_2561 arg2)
expectEntityIn(Entity entity, Box box, Text message)
public <E extends Entity> void
a(E arg0, Predicate<E> arg1, ww arg2)
assertEntityProperty(E arg0, Predicate<E> arg1, Component arg2)
method_35958(E arg0, Predicate<E> arg1, class_2561 arg2)
testEntity(E entity, Predicate<E> predicate, Text message)
public <E extends Entity, T> void
a(E arg0, Function<E, T> arg1, T arg2, ww arg3)
assertEntityProperty(E arg0, Function<E, T> arg1, T arg2, Component arg3)
method_35957(E arg0, Function<E, T> arg1, T arg2, class_2561 arg3)
testEntityProperty(E entity, Function<E, T> propertyGetter, T value, Text message)
public void
a(bwz arg0, je<bvc> arg1, int arg2)
assertLivingEntityHasMobEffect(LivingEntity arg0, Holder<MobEffect> arg1, int arg2)
method_52889(class_1309 arg0, class_6880<class_1291> arg1, int arg2)
expectEntityHasEffect(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier)
public void
e(bwj<?> arg0, int arg1, int arg2, int arg3)
succeedWhenEntityPresent(EntityType<?> arg0, int arg1, int arg2, int arg3)
method_36037(class_1299<?> arg0, int arg1, int arg2, int arg3)
expectEntityAtEnd(EntityType<?> type, int x, int y, int z)
public void
e(bwj<?> arg0, iu arg1)
succeedWhenEntityPresent(EntityType<?> arg0, BlockPos arg1)
method_36038(class_1299<?> arg0, class_2338 arg1)
expectEntityAtEnd(EntityType<?> type, BlockPos pos)
public void
f(bwj<?> arg0, int arg1, int arg2, int arg3)
succeedWhenEntityNotPresent(EntityType<?> arg0, int arg1, int arg2, int arg3)
method_36042(class_1299<?> arg0, int arg1, int arg2, int arg3)
dontExpectEntityAtEnd(EntityType<?> type, int x, int y, int z)
public void
f(bwj<?> arg0, iu arg1)
succeedWhenEntityNotPresent(EntityType<?> arg0, BlockPos arg1)
method_36043(class_1299<?> arg0, class_2338 arg1)
dontExpectEntityAtEnd(EntityType<?> type, BlockPos pos)
public void
e()
succeed()
method_36036()
complete()
private void
k()
ensureSingleFinalCheck()
method_36048()
markFinalCause()
public void
a(Runnable arg0)
succeedIf(Runnable arg0)
method_35993(Runnable arg0)
addFinalTask(Runnable runnable)
public void
b(Runnable arg0)
succeedWhen(Runnable arg0)
method_36018(Runnable arg0)
addInstantFinalTask(Runnable runnable)
public void
a(int arg0, Runnable arg1)
succeedOnTickWhen(int arg0, Runnable arg1)
method_35948(int arg0, Runnable arg1)
addFinalTaskWithDuration(int duration, Runnable runnable)
public void
a(long arg0, Runnable arg1)
runAtTickTime(long arg0, Runnable arg1)
method_35951(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
public void
b(long arg0, Runnable arg1)
runAfterDelay(long arg0, Runnable arg1)
method_36003(long arg0, Runnable arg1)
waitAndRun(long ticks, Runnable runnable)
public void
g(iu arg0)
randomTick(BlockPos arg0)
method_36050(class_2338 arg0)
forceRandomTick(BlockPos pos)
public void
h(iu arg0)
tickBlock(BlockPos arg0)
method_66562(class_2338 arg0)
forceScheduledTick(BlockPos pos)
public void
i(iu arg0)
tickPrecipitation(BlockPos arg0)
method_55453(class_2338 arg0)
forceTickIceAndSnow(BlockPos pos)
public void
f()
tickPrecipitation()
method_55452()
forceTickIceAndSnow()
public int
a(efn$a arg0, int arg1, int arg2)
getHeight(Heightmap$Types arg0, int arg1, int arg2)
method_42063(class_2902$class_2903 arg0, int arg1, int arg2)
getRelativeTopY(Heightmap$Type heightmap, int x, int z)
public void
a(ww arg0, iu arg1)
fail(Component arg0, BlockPos arg1)
method_35997(class_2561 arg0, class_2338 arg1)
throwPositionedException(Text message, BlockPos pos)
public void
a(ww arg0, bwa arg1)
fail(Component arg0, Entity arg1)
method_35996(class_2561 arg0, class_1297 arg1)
throwPositionedException(Text message, Entity entity)
public void
b(ww arg0)
fail(Component arg0)
method_35995(class_2561 arg0)
throwGameTestException(Text message)
public void
c(Runnable arg0)
failIf(Runnable arg0)
method_36028(Runnable arg0)
addTask(Runnable task)
public void
d(Runnable arg0)
failIfEver(Runnable arg0)
method_36035(Runnable arg0)
runAtEveryTick(Runnable task)
public GameTestSequence
g()
startSequence()
method_36041()
createTimedTaskRunner()
public BlockPos
j(iu arg0)
absolutePos(BlockPos arg0)
method_36052(class_2338 arg0)
getAbsolutePos(BlockPos pos)
public BlockPos
k(iu arg0)
relativePos(BlockPos arg0)
method_36054(class_2338 arg0)
getRelativePos(BlockPos pos)
public AABB
a(fdr arg0)
absoluteAABB(AABB arg0)
method_62772(class_238 arg0)
getAbsolute(Box box)
public AABB
b(fdr arg0)
relativeAABB(AABB arg0)
method_62773(class_238 arg0)
getRelative(Box box)
public Vec3
a(fdw arg0)
absoluteVec(Vec3 arg0)
method_35978(class_243 arg0)
getAbsolute(Vec3d pos)
public Vec3
b(fdw arg0)
relativeVec(Vec3 arg0)
method_46227(class_243 arg0)
getRelative(Vec3d pos)
public Rotation
h()
getTestRotation()
method_61093()
getRotation()
public void
a(boolean arg0, ww arg1)
assertTrue(boolean arg0, Component arg1)
method_46226(boolean arg0, class_2561 arg1)
assertTrue(boolean condition, Text message)
public <N> void
a(N arg0, N arg1, ww arg2)
assertValueEqual(N arg0, N arg1, Component arg2)
method_56606(N arg0, N arg1, class_2561 arg2)
assertEquals(N value, N expected, Text message)
public void
b(boolean arg0, ww arg1)
assertFalse(boolean arg0, Component arg1)
method_49994(boolean arg0, class_2561 arg1)
assertFalse(boolean condition, Text message)
public long
i()
getTick()
method_36045()
getTick()
public AABB
j()
getBounds()
method_36051()
getTestBox()
private AABB
l()
getRelativeBounds()
method_36053()
getRelativeTestBox()
public void
a(Consumer<iu> arg0)
forEveryBlockInStructure(Consumer<BlockPos> arg0)
method_35998(Consumer<class_2338> arg0)
forEachRelativePos(Consumer<BlockPos> posConsumer)
public void
e(Runnable arg0)
onEachTick(Runnable arg0)
method_36040(Runnable arg0)
forEachRemainingTick(Runnable runnable)
public void
a(cqs arg0, cys arg1, iu arg2, ja arg3)
placeAt(Player arg0, ItemStack arg1, BlockPos arg2, Direction arg3)
method_47816(class_1657 arg0, class_1799 arg1, class_2338 arg2, class_2350 arg3)
useStackOnBlock(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction)
public void
a(ald<djs> arg0)
setBiome(ResourceKey<Biome> arg0)
method_55451(class_5321<class_1959> arg0)
setBiome(RegistryKey<Biome> biome)