net.minecraft.gametest.framework

public class GameTestHelper

pv
net.minecraft.gametest.framework.GameTestHelper
net.minecraft.class_4516
net.minecraft.test.TestContext
net.minecraft.src.C_4888_
net.minecraft.gametest.framework.GameTestHarnessHelper

Field summary

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

Constructor summary

ModifierConstructor
public (GameTestInfo test)

Method summary

Modifier and TypeMethod
public ServerLevel
a()
getLevel()
method_35943()
getWorld()
m_177100_()
public BlockState
a(gw arg0)
getBlockState(BlockPos arg0)
method_35980(class_2338 arg0)
getBlockState(BlockPos pos)
m_177232_(C_4675_ arg0)
public BlockEntity
b(gw arg0)
getBlockEntity(BlockPos arg0)
method_36014(class_2338 arg0)
getBlockEntity(BlockPos pos)
m_177347_(C_4675_ arg0)
public void
b()
killAllEntities()
method_36001()
killAllEntities()
m_177301_()
public void
a(Class arg0)
killAllEntitiesOfClass(Class arg0)
method_52207(Class arg0)
killAllEntities(Class entityClass)
m_289214_(Class arg0)
public ItemEntity
a(cja 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)
m_177189_(C_1381_ p_177191_, float p_177192_, float p_177193_, float arg3)
public ItemEntity
a(cja arg0, gw arg1)
spawnItem(Item arg0, BlockPos arg1)
method_46225(class_1792 arg0, class_2338 arg1)
spawnItem(Item item, BlockPos pos)
m_246755_(C_1381_ p_250287_, C_4675_ arg1)
public <E extends Entity> E
a(biu<E> arg0, gw arg1)
spawn(EntityType<E> arg0, BlockPos arg1)
method_35964(class_1299<E> arg0, class_2338 arg1)
spawnEntity(EntityType<E> type, BlockPos pos)
m_177176_(C_513_<E> p_177178_, C_4675_ arg1)
public <E extends Entity> E
a(biu<E> arg0, ehn arg1)
spawn(EntityType<E> arg0, Vec3 arg1)
method_35963(class_1299<E> arg0, class_243 arg1)
spawnEntity(EntityType<E> type, Vec3d pos)
m_177173_(C_513_<E> p_177175_, C_3046_ arg1)
public <E extends Entity> E
a(biu<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)
m_177168_(C_513_<E> p_177170_, int p_177171_, int p_177172_, int arg3)
public <E extends Entity> E
a(biu<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)
m_177163_(C_513_<E> p_177165_, float p_177166_, float p_177167_, float arg3)
public <E extends Mob> E
b(biu<E> arg0, gw arg1)
spawnWithNoFreeWill(EntityType<E> arg0, BlockPos arg1)
method_36009(class_1299<E> arg0, class_2338 arg1)
spawnMob(EntityType<E> type, BlockPos pos)
m_177329_(C_513_<E> p_177331_, C_4675_ arg1)
public <E extends Mob> E
b(biu<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)
m_177321_(C_513_<E> p_177323_, int p_177324_, int p_177325_, int arg3)
public <E extends Mob> E
b(biu<E> arg0, ehn arg1)
spawnWithNoFreeWill(EntityType<E> arg0, Vec3 arg1)
method_36008(class_1299<E> arg0, class_243 arg1)
spawnMob(EntityType<E> type, Vec3d pos)
m_177326_(C_513_<E> p_177328_, C_3046_ arg1)
public <E extends Mob> E
b(biu<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)
m_177316_(C_513_<E> p_177318_, float p_177319_, float p_177320_, float arg3)
public GameTestSequence
a(bji arg0, gw 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)
m_177185_(C_526_ p_177187_, C_4675_ p_177188_, float arg2)
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)
m_177103_(int p_177105_, int p_177106_, int arg2)
public void
c(gw arg0)
pressButton(BlockPos arg0)
method_36026(class_2338 arg0)
pushButton(BlockPos pos)
m_177385_(C_4675_ arg0)
public void
d(gw arg0)
useBlock(BlockPos arg0)
method_46229(class_2338 arg0)
useBlock(BlockPos pos)
m_177408_(C_4675_ arg0)
public void
a(gw arg0, cbu arg1)
useBlock(BlockPos arg0, Player arg1)
method_36034(class_2338 arg0, class_1657 arg1)
useBlock(BlockPos pos, PlayerEntity player)
m_246440_(C_4675_ p_251507_, C_1141_ arg1)
public void
a(gw arg0, cbu arg1, ehj 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)
m_260894_(C_4675_ p_261901_, C_1141_ p_262040_, C_3041_ arg2)
public LivingEntity
a(bjg arg0)
makeAboutToDrown(LivingEntity arg0)
method_35966(class_1309 arg0)
drown(LivingEntity entity)
m_177183_(C_524_ arg0)
public Player
c()
makeMockSurvivalPlayer()
method_46228()
createMockSurvivalPlayer()
m_246554_()
public LivingEntity
b(bjg arg0)
withLowHealth(LivingEntity arg0)
method_51821(class_1309 arg0)
setHealthLow(LivingEntity entity)
m_286046_(C_524_ arg0)
public Player
d()
makeMockPlayer()
method_36021()
createMockCreativePlayer()
m_177368_()
public ServerPlayer
e()
makeMockServerPlayerInLevel()
method_51891()
createMockCreativeServerPlayerInWorld()
m_287220_()
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)
m_177302_(int p_177304_, int p_177305_, int arg2)
public void
e(gw arg0)
pullLever(BlockPos arg0)
method_36039(class_2338 arg0)
toggleLever(BlockPos pos)
m_177421_(C_4675_ arg0)
public void
a(gw arg0, long arg1)
pulseRedstone(BlockPos arg0, long arg1)
method_35981(class_2338 arg0, long arg1)
putAndRemoveRedstoneBlock(BlockPos pos, long delay)
m_177234_(C_4675_ p_177236_, long arg1)
public void
f(gw arg0)
destroyBlock(BlockPos arg0)
method_36044(class_2338 arg0)
removeBlock(BlockPos pos)
m_177434_(C_4675_ arg0)
public void
a(int arg0, int arg1, int arg2, csv 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)
m_177107_(int p_177109_, int p_177110_, int p_177111_, C_1706_ arg3)
public void
a(int arg0, int arg1, int arg2, dfj 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)
m_177112_(int p_177114_, int p_177115_, int p_177116_, C_2064_ arg3)
public void
a(gw arg0, csv arg1)
setBlock(BlockPos arg0, Block arg1)
method_35984(class_2338 arg0, class_2248 arg1)
setBlockState(BlockPos pos, Block block)
m_177245_(C_4675_ p_177247_, C_1706_ arg1)
public void
a(gw arg0, dfj arg1)
setBlock(BlockPos arg0, BlockState arg1)
method_35986(class_2338 arg0, class_2680 arg1)
setBlockState(BlockPos pos, BlockState state)
m_177252_(C_4675_ p_177254_, C_2064_ arg1)
public void
f()
setNight()
method_36030()
useNightTime()
m_177396_()
public void
a(int arg0)
setDayTime(int arg0)
method_35944(int arg0)
setTime(int timeOfDay)
m_177101_(int arg0)
public void
a(csv 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)
m_177203_(C_1706_ p_177205_, int p_177206_, int p_177207_, int arg3)
public void
a(csv arg0, gw arg1)
assertBlockPresent(Block arg0, BlockPos arg1)
method_35972(class_2248 arg0, class_2338 arg1)
expectBlock(Block block, BlockPos pos)
m_177208_(C_1706_ p_177210_, C_4675_ arg1)
public void
b(csv 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)
m_177336_(C_1706_ p_177338_, int p_177339_, int p_177340_, int arg3)
public void
b(csv arg0, gw arg1)
assertBlockNotPresent(Block arg0, BlockPos arg1)
method_36012(class_2248 arg0, class_2338 arg1)
dontExpectBlock(Block block, BlockPos pos)
m_177341_(C_1706_ p_177343_, C_4675_ arg1)
public void
c(csv 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)
m_177377_(C_1706_ p_177379_, int p_177380_, int p_177381_, int arg3)
public void
c(csv arg0, gw arg1)
succeedWhenBlockPresent(Block arg0, BlockPos arg1)
method_36025(class_2248 arg0, class_2338 arg1)
expectBlockAtEnd(Block block, BlockPos pos)
m_177382_(C_1706_ p_177384_, C_4675_ arg1)
public void
a(gw arg0, Predicate<csv> arg1, String arg2)
assertBlock(BlockPos arg0, Predicate<Block> arg1, String arg2)
method_35991(class_2338 arg0, Predicate<class_2248> arg1, String arg2)
checkBlock(BlockPos pos, Predicate<Block> predicate, String errorMessage)
m_177271_(C_4675_ p_177273_, Predicate<C_1706_> p_177274_, String arg2)
public void
a(gw arg0, Predicate<csv> arg1, Supplier<String> arg2)
assertBlock(BlockPos arg0, Predicate<Block> arg1, Supplier<String> arg2)
method_35992(class_2338 arg0, Predicate<class_2248> arg1, Supplier<String> arg2)
checkBlock(BlockPos pos, Predicate<Block> predicate, Supplier<String> errorMessageSupplier)
m_177275_(C_4675_ p_177277_, Predicate<C_1706_> p_177278_, Supplier<String> arg2)
public <T extends Comparable<T>> void
a(gw arg0, dgm<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)
m_177255_(C_4675_ p_177257_, C_2097_<T> p_177258_, T arg2)
public <T extends Comparable<T>> void
a(gw arg0, dgm<T> arg1, Predicate<T> arg2, String arg3)
assertBlockProperty(BlockPos arg0, Property<T> arg1, Predicate<T> arg2, String arg3)
method_35988(class_2338 arg0, class_2769<T> arg1, Predicate<T> arg2, String arg3)
checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage)
m_177259_(C_4675_ p_177261_, C_2097_<T> p_177262_, Predicate<T> p_177263_, String arg3)
public void
b(gw arg0, Predicate<dfj> arg1, Supplier<String> arg2)
assertBlockState(BlockPos arg0, Predicate<BlockState> arg1, Supplier<String> arg2)
method_36017(class_2338 arg0, Predicate<class_2680> arg1, Supplier<String> arg2)
checkBlockState(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier)
m_177357_(C_4675_ p_177359_, Predicate<C_2064_> p_177360_, Supplier<String> arg2)
public void
a(gw arg0, ha arg1, IntPredicate arg2, Supplier<String> arg3)
assertRedstoneSignal(BlockPos arg0, Direction arg1, IntPredicate arg2, Supplier<String> arg3)
method_52225(class_2338 arg0, class_2350 arg1, IntPredicate arg2, Supplier<String> arg3)
expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage)
m_289616_(C_4675_ p_289642_, C_4687_ p_289645_, IntPredicate p_289684_, Supplier<String> arg3)
public void
a(biu<?> arg0)
assertEntityPresent(EntityType<?> arg0)
method_35959(class_1299<?> arg0)
expectEntity(EntityType<?> type)
m_177156_(C_513_<?> arg0)
public void
c(biu<?> 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)
m_177369_(C_513_<?> p_177371_, int p_177372_, int p_177373_, int arg3)
public void
c(biu<?> arg0, gw arg1)
assertEntityPresent(EntityType<?> arg0, BlockPos arg1)
method_36023(class_1299<?> arg0, class_2338 arg1)
expectEntityAt(EntityType<?> type, BlockPos pos)
m_177374_(C_513_<?> p_177376_, C_4675_ arg1)
public void
a(biu<?> arg0, ehn arg1, ehn arg2)
assertEntityPresent(EntityType<?> arg0, Vec3 arg1, Vec3 arg2)
method_46224(class_1299<?> arg0, class_243 arg1, class_243 arg2)
expectEntityInside(EntityType<?> type, Vec3d pos1, Vec3d pos2)
m_246385_(C_513_<?> p_249488_, C_3046_ p_251186_, C_3046_ arg2)
public void
a(biu<?> arg0, gw 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)
m_239371_(C_513_<?> p_239373_, C_4675_ p_239374_, int p_239375_, double arg3)
public void
a(biu<?> arg0, gw 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)
m_177179_(C_513_<?> p_177181_, C_4675_ p_177182_, double arg2)
public <T extends Entity> List<T>
b(biu<T> arg0, gw 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)
m_238399_(C_513_<T> p_238401_, C_4675_ p_238402_, double arg2)
public void
a(biq 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)
m_177132_(C_507_ p_177134_, int p_177135_, int p_177136_, int arg3)
public void
a(biq arg0, gw arg1)
assertEntityInstancePresent(Entity arg0, BlockPos arg1)
method_35955(class_1297 arg0, class_2338 arg1)
expectEntityAt(Entity entity, BlockPos pos)
m_177140_(C_507_ p_177142_, C_4675_ arg1)
public void
a(cja arg0, gw 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)
m_177198_(C_1381_ p_177200_, C_4675_ p_177201_, double p_177202_, int arg3)
public void
a(cja arg0, gw 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)
m_177194_(C_1381_ p_177196_, C_4675_ p_177197_, double arg2)
public void
b(cja arg0, gw 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)
m_236778_(C_1381_ p_236780_, C_4675_ p_236781_, double arg2)
public void
b(biu<?> arg0)
assertEntityNotPresent(EntityType<?> arg0)
method_36004(class_1299<?> arg0)
dontExpectEntity(EntityType<?> type)
m_177309_(C_513_<?> arg0)
public void
d(biu<?> 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)
m_177397_(C_513_<?> p_177399_, int p_177400_, int p_177401_, int arg3)
public void
d(biu<?> arg0, gw arg1)
assertEntityNotPresent(EntityType<?> arg0, BlockPos arg1)
method_36032(class_1299<?> arg0, class_2338 arg1)
dontExpectEntityAt(EntityType<?> type, BlockPos pos)
m_177402_(C_513_<?> p_177404_, C_4675_ arg1)
public void
a(biu<?> 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)
m_177158_(C_513_<?> p_177160_, double p_177161_, double arg2, double arg3)
public void
b(biu<?> 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)
m_177311_(C_513_<?> p_177313_, double p_177314_, double arg2, double arg3)
public <E extends Entity, T> void
a(gw arg0, biu<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)
m_177237_(C_4675_ p_177239_, C_513_<E> p_177240_, Function<? super E, T> p_177241_, T arg3)
public <E extends LivingEntity> void
a(gw arg0, biu<E> arg1, cja 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)
m_263450_(C_4675_ p_263510_, C_513_<E> p_263517_, C_1381_ arg2)
public <E extends Entity extends InventoryCarrier> void
b(gw arg0, biu<E> arg1, cja 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)
m_263477_(C_4675_ p_263521_, C_513_<E> p_263502_, C_1381_ arg2)
public void
g(gw arg0)
assertContainerEmpty(BlockPos arg0)
method_36047(class_2338 arg0)
expectEmptyContainer(BlockPos pos)
m_177440_(C_4675_ arg0)
public void
a(gw arg0, cja arg1)
assertContainerContains(BlockPos arg0, Item arg1)
method_35983(class_2338 arg0, class_1792 arg1)
expectContainerWith(BlockPos pos, Item item)
m_177242_(C_4675_ p_177244_, C_1381_ arg1)
public void
a(dva arg0, gw arg1)
assertSameBlockStates(BoundingBox arg0, BlockPos arg1)
method_35977(class_3341 arg0, class_2338 arg1)
expectSameStates(BlockBox checkedBlockBox, BlockPos correctStatePos)
m_177224_(C_2478_ p_177226_, C_4675_ arg1)
public void
a(gw arg0, gw arg1)
assertSameBlockState(BlockPos arg0, BlockPos arg1)
method_35990(class_2338 arg0, class_2338 arg1)
expectSameStates(BlockPos checkedPos, BlockPos correctStatePos)
m_177268_(C_4675_ p_177270_, C_4675_ arg1)
public void
a(long arg0, gw arg1, cja 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)
m_177123_(long p_177125_, C_4675_ arg1, C_1381_ arg2)
public void
a(long arg0, gw arg1)
assertAtTickTimeContainerEmpty(long arg0, BlockPos arg1)
method_35949(long arg0, class_2338 arg1)
expectEmptyContainer(long delay, BlockPos pos)
m_177120_(long p_177122_, C_4675_ arg1)
public <E extends Entity, T> void
b(gw arg0, biu<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)
m_177349_(C_4675_ p_177351_, C_513_<E> p_177352_, Function<E, T> p_177353_, T arg3)
public <E extends Entity> void
a(E arg0, Predicate<E> arg1, String arg2)
assertEntityProperty(E arg0, Predicate<E> arg1, String arg2)
method_35958(E arg0, Predicate<E> arg1, String arg2)
testEntity(E entity, Predicate<E> predicate, String testName)
m_177152_(E p_177154_, Predicate<E> p_177155_, String arg2)
public <E extends Entity, T> void
a(E arg0, Function<E, T> arg1, String arg2, T arg3)
assertEntityProperty(E arg0, Function<E, T> arg1, String arg2, T arg3)
method_35957(E arg0, Function<E, T> arg1, String arg2, T arg3)
testEntityProperty(E entity, Function<E, T> propertyGetter, String propertyName, T expectedValue)
m_177147_(E p_177149_, Function<E, T> p_177150_, String p_177151_, T arg3)
public void
a(bjg arg0, bib arg1, int arg2)
assertLivingEntityHasMobEffect(LivingEntity arg0, MobEffect arg1, int arg2)
method_52889(class_1309 arg0, class_1291 arg1, int arg2)
expectEntityHasEffect(LivingEntity entity, StatusEffect effect, int amplifier)
m_292748_(C_524_ p_298607_, C_496_ p_298143_, int arg2)
public void
e(biu<?> 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)
m_177413_(C_513_<?> p_177415_, int p_177416_, int p_177417_, int arg3)
public void
e(biu<?> arg0, gw arg1)
succeedWhenEntityPresent(EntityType<?> arg0, BlockPos arg1)
method_36038(class_1299<?> arg0, class_2338 arg1)
expectEntityAtEnd(EntityType<?> type, BlockPos pos)
m_177418_(C_513_<?> p_177420_, C_4675_ arg1)
public void
f(biu<?> 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)
m_177426_(C_513_<?> p_177428_, int p_177429_, int p_177430_, int arg3)
public void
f(biu<?> arg0, gw arg1)
succeedWhenEntityNotPresent(EntityType<?> arg0, BlockPos arg1)
method_36043(class_1299<?> arg0, class_2338 arg1)
dontExpectEntityAtEnd(EntityType<?> type, BlockPos pos)
m_177431_(C_513_<?> p_177433_, C_4675_ arg1)
public void
g()
succeed()
method_36036()
complete()
m_177412_()
private void
j()
ensureSingleFinalCheck()
method_36048()
markFinalCause()
m_177442_()
public void
a(Runnable arg0)
succeedIf(Runnable arg0)
method_35993(Runnable arg0)
addFinalTask(Runnable runnable)
m_177279_(Runnable arg0)
public void
b(Runnable arg0)
succeedWhen(Runnable arg0)
method_36018(Runnable arg0)
addInstantFinalTask(Runnable runnable)
m_177361_(Runnable arg0)
public void
a(int arg0, Runnable arg1)
succeedOnTickWhen(int arg0, Runnable arg1)
method_35948(int arg0, Runnable arg1)
addFinalTaskWithDuration(int duration, Runnable runnable)
m_177117_(int p_177119_, Runnable arg1)
public void
a(long arg0, Runnable arg1)
runAtTickTime(long arg0, Runnable arg1)
method_35951(long arg0, Runnable arg1)
runAtTick(long tick, Runnable runnable)
m_177127_(long p_177129_, Runnable arg1)
public void
b(long arg0, Runnable arg1)
runAfterDelay(long arg0, Runnable arg1)
method_36003(long arg0, Runnable arg1)
waitAndRun(long ticks, Runnable runnable)
m_177306_(long p_177308_, Runnable arg1)
public void
h(gw arg0)
randomTick(BlockPos arg0)
method_36050(class_2338 arg0)
forceRandomTick(BlockPos pos)
m_177446_(C_4675_ arg0)
public int
a(dks$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)
m_236774_(C_2190_$C_2191_ p_236776_, int p_236777_, int arg2)
public void
a(String arg0, gw arg1)
fail(String arg0, BlockPos arg1)
method_35997(String arg0, class_2338 arg1)
throwPositionedException(String message, BlockPos pos)
m_177289_(String p_177291_, C_4675_ arg1)
public void
a(String arg0, biq arg1)
fail(String arg0, Entity arg1)
method_35996(String arg0, class_1297 arg1)
throwPositionedException(String message, Entity entity)
m_177286_(String p_177288_, C_507_ arg1)
public void
a(String arg0)
fail(String arg0)
method_35995(String arg0)
throwGameTestException(String message)
m_177284_(String arg0)
public void
c(Runnable arg0)
failIf(Runnable arg0)
method_36028(Runnable arg0)
addTask(Runnable task)
m_177392_(Runnable arg0)
public void
d(Runnable arg0)
failIfEver(Runnable arg0)
method_36035(Runnable arg0)
runAtEveryTick(Runnable task)
m_177410_(Runnable arg0)
public GameTestSequence
h()
startSequence()
method_36041()
createTimedTaskRunner()
m_177425_()
public BlockPos
i(gw arg0)
absolutePos(BlockPos arg0)
method_36052(class_2338 arg0)
getAbsolutePos(BlockPos pos)
m_177449_(C_4675_ arg0)
public BlockPos
j(gw arg0)
relativePos(BlockPos arg0)
method_36054(class_2338 arg0)
getRelativePos(BlockPos pos)
m_177452_(C_4675_ arg0)
public Vec3
a(ehn arg0)
absoluteVec(Vec3 arg0)
method_35978(class_243 arg0)
getAbsolute(Vec3d pos)
m_177227_(C_3046_ arg0)
public Vec3
b(ehn arg0)
relativeVec(Vec3 arg0)
method_46227(class_243 arg0)
getRelative(Vec3d pos)
m_247203_(C_3046_ arg0)
public void
a(boolean arg0, String arg1)
assertTrue(boolean arg0, String arg1)
method_46226(boolean arg0, String arg1)
assertTrue(boolean condition, String message)
m_246336_(boolean p_248720_, String arg1)
public void
b(boolean arg0, String arg1)
assertFalse(boolean arg0, String arg1)
method_49994(boolean arg0, String arg1)
assertFalse(boolean condition, String message)
m_277053_(boolean p_277933_, String arg1)
public long
i()
getTick()
method_36045()
getTick()
m_177436_()
private AABB
k()
getBounds()
method_36051()
getTestBox()
m_177448_()
private AABB
l()
getRelativeBounds()
method_36053()
getRelativeTestBox()
m_177451_()
public void
a(Consumer<gw> arg0)
forEveryBlockInStructure(Consumer<BlockPos> arg0)
method_35998(Consumer<class_2338> arg0)
forEachRelativePos(Consumer<BlockPos> posConsumer)
m_177292_(Consumer<C_4675_> arg0)
public void
e(Runnable arg0)
onEachTick(Runnable arg0)
method_36040(Runnable arg0)
forEachRemainingTick(Runnable runnable)
m_177423_(Runnable arg0)
public void
a(cbu arg0, cjf arg1, gw arg2, ha 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)
m_261323_(C_1141_ p_262007_, C_1391_ p_261973_, C_4675_ p_262008_, C_4687_ arg3)