Package net.minecraft.test
Class TestContext
java.lang.Object
net.minecraft.test.TestContext
- Mappings:
Namespace Name official oi
intermediary net/minecraft/class_4516
named net/minecraft/test/TestContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFinalTask
(Runnable runnable) void
addFinalTaskWithDuration
(int duration, Runnable runnable) void
addInstantFinalTask
(Runnable runnable) void
void
checkBlock
(BlockPos pos, Predicate<Block> predicate, String errorMessage) void
<T extends Comparable<T>>
voidcheckBlockProperty
(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage) void
checkBlockState
(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier) void
complete()
void
dontExpectBlock
(Block block, int x, int y, int z) void
dontExpectBlock
(Block block, BlockPos pos) void
dontExpectEntity
(EntityType<?> type) void
dontExpectEntityAt
(EntityType<?> type, int x, int y, int z) void
dontExpectEntityAt
(EntityType<?> type, BlockPos pos) void
dontExpectEntityAtEnd
(EntityType<?> type, int x, int y, int z) void
dontExpectEntityAtEnd
(EntityType<?> type, BlockPos pos) void
dontExpectEntityToTouch
(EntityType<?> type, double x, double y, double z) void
dontExpectItemAt
(Item item, BlockPos pos, double radius) drown
(LivingEntity entity) void
expectBlock
(Block block, int x, int y, int z) void
expectBlock
(Block block, BlockPos pos) void
expectBlockAtEnd
(Block block, int x, int y, int z) void
expectBlockAtEnd
(Block block, BlockPos pos) <T extends Comparable<T>>
voidexpectBlockProperty
(BlockPos pos, Property<T> property, T value) void
expectContainerWith
(long delay, BlockPos pos, Item item) void
expectContainerWith
(BlockPos pos, Item item) void
expectEmptyContainer
(long delay, BlockPos pos) void
void
expectEntity
(EntityType<?> type) void
expectEntityAround
(EntityType<?> type, BlockPos pos, double radius) void
expectEntityAt
(Entity entity, int x, int y, int z) void
expectEntityAt
(Entity entity, BlockPos pos) void
expectEntityAt
(EntityType<?> type, int x, int y, int z) void
expectEntityAt
(EntityType<?> type, BlockPos pos) void
expectEntityAtEnd
(EntityType<?> type, int x, int y, int z) void
expectEntityAtEnd
(EntityType<?> type, BlockPos pos) void
expectEntityToTouch
(EntityType<?> type, double x, double y, double z) <E extends Entity,
T>
voidexpectEntityWithData
(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T data) <E extends Entity,
T>
voidexpectEntityWithDataEnd
(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data) void
expectItemAt
(Item item, BlockPos pos, double radius) void
expectItemsAt
(Item item, BlockPos pos, double radius, int amount) void
expectSameStates
(BlockBox checkedBlockBox, BlockPos correctStatePos) void
expectSameStates
(BlockPos checkedPos, BlockPos correctStatePos) void
forceRandomTick
(BlockPos pos) void
forEachRelativePos
(Consumer<BlockPos> posConsumer) void
forEachRemainingTick
(Runnable runnable) getAbsolute
(Vec3d pos) getAbsolutePos
(BlockPos pos) getBlockEntity
(BlockPos pos) getBlockState
(BlockPos pos) getEntitiesAround
(EntityType<T> type, BlockPos pos, double radius) getRelativePos
(BlockPos pos) private Box
int
getRelativeTopY
(Heightmap.Type heightmap, int x, int z) private Box
long
getTick()
getWorld()
void
private void
void
pushButton
(int x, int y, int z) void
pushButton
(BlockPos pos) void
putAndRemoveRedstoneBlock
(BlockPos pos, long delay) void
removeBlock
(BlockPos pos) void
runAtEveryTick
(Runnable task) void
void
setBlockState
(int x, int y, int z, Block block) void
setBlockState
(int x, int y, int z, BlockState state) void
setBlockState
(BlockPos pos, Block block) void
setBlockState
(BlockPos pos, BlockState state) void
setTime
(int timeOfDay) <E extends Entity>
EspawnEntity
(EntityType<E> type, float x, float y, float z) <E extends Entity>
EspawnEntity
(EntityType<E> type, int x, int y, int z) <E extends Entity>
EspawnEntity
(EntityType<E> type, BlockPos pos) <E extends Entity>
EspawnEntity
(EntityType<E> type, Vec3d pos) <E extends MobEntity>
EspawnMob
(EntityType<E> type, float x, float y, float z) <E extends MobEntity>
EspawnMob
(EntityType<E> type, int x, int y, int z) <E extends MobEntity>
EspawnMob
(EntityType<E> type, BlockPos pos) <E extends MobEntity>
EspawnMob
(EntityType<E> type, Vec3d pos) startMovingTowards
(MobEntity entity, BlockPos pos, float speed) <E extends Entity>
voidtestEntity
(E entity, Predicate<E> predicate, String testName) <E extends Entity,
T>
voidtestEntityProperty
(E entity, Function<E, T> propertyGetter, String propertyName, T expectedValue) void
throwGameTestException
(String message) void
throwPositionedException
(String message, Entity entity) void
throwPositionedException
(String message, BlockPos pos) void
toggleLever
(int x, int y, int z) void
toggleLever
(BlockPos pos) void
void
void
waitAndRun
(long ticks, Runnable runnable)
-
Field Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Loi;a:Loj;
intermediary field_20558
Lnet/minecraft/class_4516;field_20558:Lnet/minecraft/class_4517;
named test
Lnet/minecraft/test/TestContext;test:Lnet/minecraft/test/GameTestState;
-
hasFinalClause
private boolean hasFinalClause- Mappings:
Namespace Name Mixin selector official b
Loi;b:Z
intermediary field_33146
Lnet/minecraft/class_4516;field_33146:Z
named hasFinalClause
Lnet/minecraft/test/TestContext;hasFinalClause:Z
-
-
Constructor Details
-
TestContext
- Mappings:
Namespace Name Mixin selector official <init>
Loi;<init>(Loj;)V
intermediary <init>
Lnet/minecraft/class_4516;<init>(Lnet/minecraft/class_4517;)V
named <init>
Lnet/minecraft/test/TestContext;<init>(Lnet/minecraft/test/GameTestState;)V
-
-
Method Details
-
getWorld
- Mappings:
Namespace Name Mixin selector official a
Loi;a()Lafo;
intermediary method_35943
Lnet/minecraft/class_4516;method_35943()Lnet/minecraft/class_3218;
named getWorld
Lnet/minecraft/test/TestContext;getWorld()Lnet/minecraft/server/world/ServerWorld;
-
getBlockState
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;)Lcur;
intermediary method_35980
Lnet/minecraft/class_4516;method_35980(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/test/TestContext;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lgt;)Lcsl;
intermediary method_36014
Lnet/minecraft/class_4516;method_36014(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/minecraft/test/TestContext;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
killAllEntities
public void killAllEntities()- Mappings:
Namespace Name Mixin selector official b
Loi;b()V
intermediary method_36001
Lnet/minecraft/class_4516;method_36001()V
named killAllEntities
Lnet/minecraft/test/TestContext;killAllEntities()V
-
spawnItem
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbzw;FFF)Lbpy;
intermediary method_35968
Lnet/minecraft/class_4516;method_35968(Lnet/minecraft/class_1792;FFF)Lnet/minecraft/class_1542;
named spawnItem
Lnet/minecraft/test/TestContext;spawnItem(Lnet/minecraft/item/Item;FFF)Lnet/minecraft/entity/ItemEntity;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;Lgt;)Lbaq;
intermediary method_35964
Lnet/minecraft/class_4516;method_35964(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;
named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;Ldvt;)Lbaq;
intermediary method_35963
Lnet/minecraft/class_4516;method_35963(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;)Lnet/minecraft/class_1297;
named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;III)Lbaq;
intermediary method_35962
Lnet/minecraft/class_4516;method_35962(Lnet/minecraft/class_1299;III)Lnet/minecraft/class_1297;
named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;III)Lnet/minecraft/entity/Entity;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;FFF)Lbaq;
intermediary method_35961
Lnet/minecraft/class_4516;method_35961(Lnet/minecraft/class_1299;FFF)Lnet/minecraft/class_1297;
named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;FFF)Lnet/minecraft/entity/Entity;
-
spawnMob
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;Lgt;)Lbbh;
intermediary method_36009
Lnet/minecraft/class_4516;method_36009(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1308;
named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/mob/MobEntity;
-
spawnMob
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;III)Lbbh;
intermediary method_36007
Lnet/minecraft/class_4516;method_36007(Lnet/minecraft/class_1299;III)Lnet/minecraft/class_1308;
named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;III)Lnet/minecraft/entity/mob/MobEntity;
-
spawnMob
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;Ldvt;)Lbbh;
intermediary method_36008
Lnet/minecraft/class_4516;method_36008(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;)Lnet/minecraft/class_1308;
named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/mob/MobEntity;
-
spawnMob
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;FFF)Lbbh;
intermediary method_36006
Lnet/minecraft/class_4516;method_36006(Lnet/minecraft/class_1299;FFF)Lnet/minecraft/class_1308;
named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;FFF)Lnet/minecraft/entity/mob/MobEntity;
-
startMovingTowards
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbbh;Lgt;F)Lon;
intermediary method_35967
Lnet/minecraft/class_4516;method_35967(Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;F)Lnet/minecraft/class_4693;
named startMovingTowards
Lnet/minecraft/test/TestContext;startMovingTowards(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/BlockPos;F)Lnet/minecraft/test/TimedTaskRunner;
-
pushButton
public void pushButton(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official a
Loi;a(III)V
intermediary method_35945
Lnet/minecraft/class_4516;method_35945(III)V
named pushButton
Lnet/minecraft/test/TestContext;pushButton(III)V
-
pushButton
- Mappings:
Namespace Name Mixin selector official c
Loi;c(Lgt;)V
intermediary method_36026
Lnet/minecraft/class_4516;method_36026(Lnet/minecraft/class_2338;)V
named pushButton
Lnet/minecraft/test/TestContext;pushButton(Lnet/minecraft/util/math/BlockPos;)V
-
useBlock
- Mappings:
Namespace Name Mixin selector official d
Loi;d(Lgt;)V
intermediary method_36034
Lnet/minecraft/class_4516;method_36034(Lnet/minecraft/class_2338;)V
named useBlock
Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;)V
-
drown
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbbf;)Lbbf;
intermediary method_35966
Lnet/minecraft/class_4516;method_35966(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
named drown
Lnet/minecraft/test/TestContext;drown(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/LivingEntity;
-
createMockPlayer
- Mappings:
Namespace Name Mixin selector official c
Loi;c()Lbtf;
intermediary method_36021
Lnet/minecraft/class_4516;method_36021()Lnet/minecraft/class_1657;
named createMockPlayer
Lnet/minecraft/test/TestContext;createMockPlayer()Lnet/minecraft/entity/player/PlayerEntity;
-
toggleLever
public void toggleLever(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official b
Loi;b(III)V
intermediary method_36002
Lnet/minecraft/class_4516;method_36002(III)V
named toggleLever
Lnet/minecraft/test/TestContext;toggleLever(III)V
-
toggleLever
- Mappings:
Namespace Name Mixin selector official e
Loi;e(Lgt;)V
intermediary method_36039
Lnet/minecraft/class_4516;method_36039(Lnet/minecraft/class_2338;)V
named toggleLever
Lnet/minecraft/test/TestContext;toggleLever(Lnet/minecraft/util/math/BlockPos;)V
-
putAndRemoveRedstoneBlock
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;J)V
intermediary method_35981
Lnet/minecraft/class_4516;method_35981(Lnet/minecraft/class_2338;J)V
named putAndRemoveRedstoneBlock
Lnet/minecraft/test/TestContext;putAndRemoveRedstoneBlock(Lnet/minecraft/util/math/BlockPos;J)V
-
removeBlock
- Mappings:
Namespace Name Mixin selector official f
Loi;f(Lgt;)V
intermediary method_36044
Lnet/minecraft/class_4516;method_36044(Lnet/minecraft/class_2338;)V
named removeBlock
Lnet/minecraft/test/TestContext;removeBlock(Lnet/minecraft/util/math/BlockPos;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Loi;a(IIILciw;)V
intermediary method_35946
Lnet/minecraft/class_4516;method_35946(IIILnet/minecraft/class_2248;)V
named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(IIILnet/minecraft/block/Block;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Loi;a(IIILcur;)V
intermediary method_35947
Lnet/minecraft/class_4516;method_35947(IIILnet/minecraft/class_2680;)V
named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(IIILnet/minecraft/block/BlockState;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lciw;)V
intermediary method_35984
Lnet/minecraft/class_4516;method_35984(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lcur;)V
intermediary method_35986
Lnet/minecraft/class_4516;method_35986(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
useNightTime
public void useNightTime()- Mappings:
Namespace Name Mixin selector official d
Loi;d()V
intermediary method_36030
Lnet/minecraft/class_4516;method_36030()V
named useNightTime
Lnet/minecraft/test/TestContext;useNightTime()V
-
setTime
public void setTime(int timeOfDay) - Mappings:
Namespace Name Mixin selector official a
Loi;a(I)V
intermediary method_35944
Lnet/minecraft/class_4516;method_35944(I)V
named setTime
Lnet/minecraft/test/TestContext;setTime(I)V
-
expectBlock
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lciw;III)V
intermediary method_35971
Lnet/minecraft/class_4516;method_35971(Lnet/minecraft/class_2248;III)V
named expectBlock
Lnet/minecraft/test/TestContext;expectBlock(Lnet/minecraft/block/Block;III)V
-
expectBlock
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lciw;Lgt;)V
intermediary method_35972
Lnet/minecraft/class_4516;method_35972(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
named expectBlock
Lnet/minecraft/test/TestContext;expectBlock(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
dontExpectBlock
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lciw;III)V
intermediary method_36011
Lnet/minecraft/class_4516;method_36011(Lnet/minecraft/class_2248;III)V
named dontExpectBlock
Lnet/minecraft/test/TestContext;dontExpectBlock(Lnet/minecraft/block/Block;III)V
-
dontExpectBlock
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lciw;Lgt;)V
intermediary method_36012
Lnet/minecraft/class_4516;method_36012(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
named dontExpectBlock
Lnet/minecraft/test/TestContext;dontExpectBlock(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
expectBlockAtEnd
- Mappings:
Namespace Name Mixin selector official c
Loi;c(Lciw;III)V
intermediary method_36024
Lnet/minecraft/class_4516;method_36024(Lnet/minecraft/class_2248;III)V
named expectBlockAtEnd
Lnet/minecraft/test/TestContext;expectBlockAtEnd(Lnet/minecraft/block/Block;III)V
-
expectBlockAtEnd
- Mappings:
Namespace Name Mixin selector official c
Loi;c(Lciw;Lgt;)V
intermediary method_36025
Lnet/minecraft/class_4516;method_36025(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
named expectBlockAtEnd
Lnet/minecraft/test/TestContext;expectBlockAtEnd(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
checkBlock
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Ljava/util/function/Predicate;Ljava/lang/String;)V
intermediary method_35991
Lnet/minecraft/class_4516;method_35991(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/lang/String;)V
named checkBlock
Lnet/minecraft/test/TestContext;checkBlock(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/lang/String;)V
-
checkBlock
public void checkBlock(BlockPos pos, Predicate<Block> predicate, Supplier<String> errorMessageSupplier) - Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
intermediary method_35992
Lnet/minecraft/class_4516;method_35992(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
named checkBlock
Lnet/minecraft/test/TestContext;checkBlock(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
-
expectBlockProperty
public <T extends Comparable<T>> void expectBlockProperty(BlockPos pos, Property<T> property, T value) - Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lcvu;Ljava/lang/Comparable;)V
intermediary method_35987
Lnet/minecraft/class_4516;method_35987(Lnet/minecraft/class_2338;Lnet/minecraft/class_2769;Ljava/lang/Comparable;)V
named expectBlockProperty
Lnet/minecraft/test/TestContext;expectBlockProperty(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)V
-
checkBlockProperty
public <T extends Comparable<T>> void checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage) - Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lcvu;Ljava/util/function/Predicate;Ljava/lang/String;)V
intermediary method_35988
Lnet/minecraft/class_4516;method_35988(Lnet/minecraft/class_2338;Lnet/minecraft/class_2769;Ljava/util/function/Predicate;Ljava/lang/String;)V
named checkBlockProperty
Lnet/minecraft/test/TestContext;checkBlockProperty(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/Property;Ljava/util/function/Predicate;Ljava/lang/String;)V
-
checkBlockState
public void checkBlockState(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier) - Mappings:
Namespace Name Mixin selector official b
Loi;b(Lgt;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
intermediary method_36017
Lnet/minecraft/class_4516;method_36017(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
named checkBlockState
Lnet/minecraft/test/TestContext;checkBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
-
expectEntity
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;)V
intermediary method_35959
Lnet/minecraft/class_4516;method_35959(Lnet/minecraft/class_1299;)V
named expectEntity
Lnet/minecraft/test/TestContext;expectEntity(Lnet/minecraft/entity/EntityType;)V
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector official c
Loi;c(Lbau;III)V
intermediary method_36022
Lnet/minecraft/class_4516;method_36022(Lnet/minecraft/class_1299;III)V
named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/EntityType;III)V
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector official c
Loi;c(Lbau;Lgt;)V
intermediary method_36023
Lnet/minecraft/class_4516;method_36023(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
-
expectEntityAround
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;Lgt;D)V
intermediary method_35965
Lnet/minecraft/class_4516;method_35965(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;D)V
named expectEntityAround
Lnet/minecraft/test/TestContext;expectEntityAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;D)V
-
getEntitiesAround
public <T extends Entity> List<T> getEntitiesAround(EntityType<T> type, BlockPos pos, double radius) - Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;Lgt;D)Ljava/util/List;
intermediary method_44335
Lnet/minecraft/class_4516;method_44335(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;D)Ljava/util/List;
named getEntitiesAround
Lnet/minecraft/test/TestContext;getEntitiesAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;D)Ljava/util/List;
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbaq;III)V
intermediary method_35953
Lnet/minecraft/class_4516;method_35953(Lnet/minecraft/class_1297;III)V
named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/Entity;III)V
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbaq;Lgt;)V
intermediary method_35955
Lnet/minecraft/class_4516;method_35955(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)V
named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)V
-
expectItemsAt
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbzw;Lgt;DI)V
intermediary method_35970
Lnet/minecraft/class_4516;method_35970(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;DI)V
named expectItemsAt
Lnet/minecraft/test/TestContext;expectItemsAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;DI)V
-
expectItemAt
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbzw;Lgt;D)V
intermediary method_35969
Lnet/minecraft/class_4516;method_35969(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;D)V
named expectItemAt
Lnet/minecraft/test/TestContext;expectItemAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;D)V
-
dontExpectItemAt
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbzw;Lgt;D)V
intermediary method_42762
Lnet/minecraft/class_4516;method_42762(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;D)V
named dontExpectItemAt
Lnet/minecraft/test/TestContext;dontExpectItemAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;D)V
-
dontExpectEntity
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;)V
intermediary method_36004
Lnet/minecraft/class_4516;method_36004(Lnet/minecraft/class_1299;)V
named dontExpectEntity
Lnet/minecraft/test/TestContext;dontExpectEntity(Lnet/minecraft/entity/EntityType;)V
-
dontExpectEntityAt
- Mappings:
Namespace Name Mixin selector official d
Loi;d(Lbau;III)V
intermediary method_36031
Lnet/minecraft/class_4516;method_36031(Lnet/minecraft/class_1299;III)V
named dontExpectEntityAt
Lnet/minecraft/test/TestContext;dontExpectEntityAt(Lnet/minecraft/entity/EntityType;III)V
-
dontExpectEntityAt
- Mappings:
Namespace Name Mixin selector official d
Loi;d(Lbau;Lgt;)V
intermediary method_36032
Lnet/minecraft/class_4516;method_36032(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
named dontExpectEntityAt
Lnet/minecraft/test/TestContext;dontExpectEntityAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
-
expectEntityToTouch
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbau;DDD)V
intermediary method_35960
Lnet/minecraft/class_4516;method_35960(Lnet/minecraft/class_1299;DDD)V
named expectEntityToTouch
Lnet/minecraft/test/TestContext;expectEntityToTouch(Lnet/minecraft/entity/EntityType;DDD)V
-
dontExpectEntityToTouch
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Lbau;DDD)V
intermediary method_36005
Lnet/minecraft/class_4516;method_36005(Lnet/minecraft/class_1299;DDD)V
named dontExpectEntityToTouch
Lnet/minecraft/test/TestContext;dontExpectEntityToTouch(Lnet/minecraft/entity/EntityType;DDD)V
-
expectEntityWithData
public <E extends Entity,T> void expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, @Nullable T data) - Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lbau;Ljava/util/function/Function;Ljava/lang/Object;)V
intermediary method_35982
Lnet/minecraft/class_4516;method_35982(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Ljava/util/function/Function;Ljava/lang/Object;)V
named expectEntityWithData
Lnet/minecraft/test/TestContext;expectEntityWithData(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Ljava/util/function/Function;Ljava/lang/Object;)V
-
expectEmptyContainer
- Mappings:
Namespace Name Mixin selector official g
Loi;g(Lgt;)V
intermediary method_36047
Lnet/minecraft/class_4516;method_36047(Lnet/minecraft/class_2338;)V
named expectEmptyContainer
Lnet/minecraft/test/TestContext;expectEmptyContainer(Lnet/minecraft/util/math/BlockPos;)V
-
expectContainerWith
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lbzw;)V
intermediary method_35983
Lnet/minecraft/class_4516;method_35983(Lnet/minecraft/class_2338;Lnet/minecraft/class_1792;)V
named expectContainerWith
Lnet/minecraft/test/TestContext;expectContainerWith(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/Item;)V
-
expectSameStates
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ldjw;Lgt;)V
intermediary method_35977
Lnet/minecraft/class_4516;method_35977(Lnet/minecraft/class_3341;Lnet/minecraft/class_2338;)V
named expectSameStates
Lnet/minecraft/test/TestContext;expectSameStates(Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockPos;)V
-
expectSameStates
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lgt;Lgt;)V
intermediary method_35990
Lnet/minecraft/class_4516;method_35990(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
named expectSameStates
Lnet/minecraft/test/TestContext;expectSameStates(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
-
expectContainerWith
- Mappings:
Namespace Name Mixin selector official a
Loi;a(JLgt;Lbzw;)V
intermediary method_35950
Lnet/minecraft/class_4516;method_35950(JLnet/minecraft/class_2338;Lnet/minecraft/class_1792;)V
named expectContainerWith
Lnet/minecraft/test/TestContext;expectContainerWith(JLnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/Item;)V
-
expectEmptyContainer
- Mappings:
Namespace Name Mixin selector official a
Loi;a(JLgt;)V
intermediary method_35949
Lnet/minecraft/class_4516;method_35949(JLnet/minecraft/class_2338;)V
named expectEmptyContainer
Lnet/minecraft/test/TestContext;expectEmptyContainer(JLnet/minecraft/util/math/BlockPos;)V
-
expectEntityWithDataEnd
public <E extends Entity,T> void expectEntityWithDataEnd(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data) - Mappings:
Namespace Name Mixin selector official b
Loi;b(Lgt;Lbau;Ljava/util/function/Function;Ljava/lang/Object;)V
intermediary method_36015
Lnet/minecraft/class_4516;method_36015(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Ljava/util/function/Function;Ljava/lang/Object;)V
named expectEntityWithDataEnd
Lnet/minecraft/test/TestContext;expectEntityWithDataEnd(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Ljava/util/function/Function;Ljava/lang/Object;)V
-
testEntity
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbaq;Ljava/util/function/Predicate;Ljava/lang/String;)V
intermediary method_35958
Lnet/minecraft/class_4516;method_35958(Lnet/minecraft/class_1297;Ljava/util/function/Predicate;Ljava/lang/String;)V
named testEntity
Lnet/minecraft/test/TestContext;testEntity(Lnet/minecraft/entity/Entity;Ljava/util/function/Predicate;Ljava/lang/String;)V
-
testEntityProperty
public <E extends Entity,T> void testEntityProperty(E entity, Function<E, T> propertyGetter, String propertyName, T expectedValue) - Mappings:
Namespace Name Mixin selector official a
Loi;a(Lbaq;Ljava/util/function/Function;Ljava/lang/String;Ljava/lang/Object;)V
intermediary method_35957
Lnet/minecraft/class_4516;method_35957(Lnet/minecraft/class_1297;Ljava/util/function/Function;Ljava/lang/String;Ljava/lang/Object;)V
named testEntityProperty
Lnet/minecraft/test/TestContext;testEntityProperty(Lnet/minecraft/entity/Entity;Ljava/util/function/Function;Ljava/lang/String;Ljava/lang/Object;)V
-
expectEntityAtEnd
- Mappings:
Namespace Name Mixin selector official e
Loi;e(Lbau;III)V
intermediary method_36037
Lnet/minecraft/class_4516;method_36037(Lnet/minecraft/class_1299;III)V
named expectEntityAtEnd
Lnet/minecraft/test/TestContext;expectEntityAtEnd(Lnet/minecraft/entity/EntityType;III)V
-
expectEntityAtEnd
- Mappings:
Namespace Name Mixin selector official e
Loi;e(Lbau;Lgt;)V
intermediary method_36038
Lnet/minecraft/class_4516;method_36038(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
named expectEntityAtEnd
Lnet/minecraft/test/TestContext;expectEntityAtEnd(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
-
dontExpectEntityAtEnd
- Mappings:
Namespace Name Mixin selector official f
Loi;f(Lbau;III)V
intermediary method_36042
Lnet/minecraft/class_4516;method_36042(Lnet/minecraft/class_1299;III)V
named dontExpectEntityAtEnd
Lnet/minecraft/test/TestContext;dontExpectEntityAtEnd(Lnet/minecraft/entity/EntityType;III)V
-
dontExpectEntityAtEnd
- Mappings:
Namespace Name Mixin selector official f
Loi;f(Lbau;Lgt;)V
intermediary method_36043
Lnet/minecraft/class_4516;method_36043(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
named dontExpectEntityAtEnd
Lnet/minecraft/test/TestContext;dontExpectEntityAtEnd(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
-
complete
public void complete()- Mappings:
Namespace Name Mixin selector official e
Loi;e()V
intermediary method_36036
Lnet/minecraft/class_4516;method_36036()V
named complete
Lnet/minecraft/test/TestContext;complete()V
-
markFinalCause
private void markFinalCause()- Mappings:
Namespace Name Mixin selector official h
Loi;h()V
intermediary method_36048
Lnet/minecraft/class_4516;method_36048()V
named markFinalCause
Lnet/minecraft/test/TestContext;markFinalCause()V
-
addFinalTask
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ljava/lang/Runnable;)V
intermediary method_35993
Lnet/minecraft/class_4516;method_35993(Ljava/lang/Runnable;)V
named addFinalTask
Lnet/minecraft/test/TestContext;addFinalTask(Ljava/lang/Runnable;)V
-
addInstantFinalTask
- Mappings:
Namespace Name Mixin selector official b
Loi;b(Ljava/lang/Runnable;)V
intermediary method_36018
Lnet/minecraft/class_4516;method_36018(Ljava/lang/Runnable;)V
named addInstantFinalTask
Lnet/minecraft/test/TestContext;addInstantFinalTask(Ljava/lang/Runnable;)V
-
addFinalTaskWithDuration
- Mappings:
Namespace Name Mixin selector official a
Loi;a(ILjava/lang/Runnable;)V
intermediary method_35948
Lnet/minecraft/class_4516;method_35948(ILjava/lang/Runnable;)V
named addFinalTaskWithDuration
Lnet/minecraft/test/TestContext;addFinalTaskWithDuration(ILjava/lang/Runnable;)V
-
runAtTick
- Mappings:
Namespace Name Mixin selector official a
Loi;a(JLjava/lang/Runnable;)V
intermediary method_35951
Lnet/minecraft/class_4516;method_35951(JLjava/lang/Runnable;)V
named runAtTick
Lnet/minecraft/test/TestContext;runAtTick(JLjava/lang/Runnable;)V
-
waitAndRun
- Mappings:
Namespace Name Mixin selector official b
Loi;b(JLjava/lang/Runnable;)V
intermediary method_36003
Lnet/minecraft/class_4516;method_36003(JLjava/lang/Runnable;)V
named waitAndRun
Lnet/minecraft/test/TestContext;waitAndRun(JLjava/lang/Runnable;)V
-
forceRandomTick
- Mappings:
Namespace Name Mixin selector official h
Loi;h(Lgt;)V
intermediary method_36050
Lnet/minecraft/class_4516;method_36050(Lnet/minecraft/class_2338;)V
named forceRandomTick
Lnet/minecraft/test/TestContext;forceRandomTick(Lnet/minecraft/util/math/BlockPos;)V
-
getRelativeTopY
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Lczu$a;II)I
intermediary method_42063
Lnet/minecraft/class_4516;method_42063(Lnet/minecraft/class_2902$class_2903;II)I
named getRelativeTopY
Lnet/minecraft/test/TestContext;getRelativeTopY(Lnet/minecraft/world/Heightmap$Type;II)I
-
throwPositionedException
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ljava/lang/String;Lgt;)V
intermediary method_35997
Lnet/minecraft/class_4516;method_35997(Ljava/lang/String;Lnet/minecraft/class_2338;)V
named throwPositionedException
Lnet/minecraft/test/TestContext;throwPositionedException(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)V
-
throwPositionedException
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ljava/lang/String;Lbaq;)V
intermediary method_35996
Lnet/minecraft/class_4516;method_35996(Ljava/lang/String;Lnet/minecraft/class_1297;)V
named throwPositionedException
Lnet/minecraft/test/TestContext;throwPositionedException(Ljava/lang/String;Lnet/minecraft/entity/Entity;)V
-
throwGameTestException
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ljava/lang/String;)V
intermediary method_35995
Lnet/minecraft/class_4516;method_35995(Ljava/lang/String;)V
named throwGameTestException
Lnet/minecraft/test/TestContext;throwGameTestException(Ljava/lang/String;)V
-
addTask
- Mappings:
Namespace Name Mixin selector official c
Loi;c(Ljava/lang/Runnable;)V
intermediary method_36028
Lnet/minecraft/class_4516;method_36028(Ljava/lang/Runnable;)V
named addTask
Lnet/minecraft/test/TestContext;addTask(Ljava/lang/Runnable;)V
-
runAtEveryTick
- Mappings:
Namespace Name Mixin selector official d
Loi;d(Ljava/lang/Runnable;)V
intermediary method_36035
Lnet/minecraft/class_4516;method_36035(Ljava/lang/Runnable;)V
named runAtEveryTick
Lnet/minecraft/test/TestContext;runAtEveryTick(Ljava/lang/Runnable;)V
-
createTimedTaskRunner
- Mappings:
Namespace Name Mixin selector official f
Loi;f()Lon;
intermediary method_36041
Lnet/minecraft/class_4516;method_36041()Lnet/minecraft/class_4693;
named createTimedTaskRunner
Lnet/minecraft/test/TestContext;createTimedTaskRunner()Lnet/minecraft/test/TimedTaskRunner;
-
getAbsolutePos
- Mappings:
Namespace Name Mixin selector official i
Loi;i(Lgt;)Lgt;
intermediary method_36052
Lnet/minecraft/class_4516;method_36052(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named getAbsolutePos
Lnet/minecraft/test/TestContext;getAbsolutePos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
getRelativePos
- Mappings:
Namespace Name Mixin selector official j
Loi;j(Lgt;)Lgt;
intermediary method_36054
Lnet/minecraft/class_4516;method_36054(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named getRelativePos
Lnet/minecraft/test/TestContext;getRelativePos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
getAbsolute
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ldvt;)Ldvt;
intermediary method_35978
Lnet/minecraft/class_4516;method_35978(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
named getAbsolute
Lnet/minecraft/test/TestContext;getAbsolute(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
getTick
public long getTick()- Mappings:
Namespace Name Mixin selector official g
Loi;g()J
intermediary method_36045
Lnet/minecraft/class_4516;method_36045()J
named getTick
Lnet/minecraft/test/TestContext;getTick()J
-
getTestBox
- Mappings:
Namespace Name Mixin selector official i
Loi;i()Ldvo;
intermediary method_36051
Lnet/minecraft/class_4516;method_36051()Lnet/minecraft/class_238;
named getTestBox
Lnet/minecraft/test/TestContext;getTestBox()Lnet/minecraft/util/math/Box;
-
getRelativeTestBox
- Mappings:
Namespace Name Mixin selector official j
Loi;j()Ldvo;
intermediary method_36053
Lnet/minecraft/class_4516;method_36053()Lnet/minecraft/class_238;
named getRelativeTestBox
Lnet/minecraft/test/TestContext;getRelativeTestBox()Lnet/minecraft/util/math/Box;
-
forEachRelativePos
- Mappings:
Namespace Name Mixin selector official a
Loi;a(Ljava/util/function/Consumer;)V
intermediary method_35998
Lnet/minecraft/class_4516;method_35998(Ljava/util/function/Consumer;)V
named forEachRelativePos
Lnet/minecraft/test/TestContext;forEachRelativePos(Ljava/util/function/Consumer;)V
-
forEachRemainingTick
- Mappings:
Namespace Name Mixin selector official e
Loi;e(Ljava/lang/Runnable;)V
intermediary method_36040
Lnet/minecraft/class_4516;method_36040(Ljava/lang/Runnable;)V
named forEachRemainingTick
Lnet/minecraft/test/TestContext;forEachRemainingTick(Ljava/lang/Runnable;)V
-