Package net.minecraft.test
Class TestContext
java.lang.Object
net.minecraft.test.TestContext
- Mappings:
Namespace Name named net/minecraft/test/TestContext
intermediary net/minecraft/class_4516
official sw
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFinalTask
(Runnable runnable) void
addFinalTaskWithDuration
(int duration, Runnable runnable) void
addInstantFinalTask
(Runnable runnable) void
<N> void
assertEquals
(N value, N expected, String name) void
assertFalse
(boolean condition, String message) void
assertTrue
(boolean condition, String message) void
checkBlock
(BlockPos pos, Predicate<Block> predicate, String errorMessage) void
<T extends BlockEntity>
voidcheckBlockEntity
(BlockPos pos, Predicate<T> predicate, Supplier<String> errorMessageSupplier) <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()
Deprecated, for removal: This API element is subject to removal in a future version.createMockPlayer
(GameMode gameMode) 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
dontExpectEntityBetween
(EntityType<?> type, Vec3d pos1, Vec3d pos2) void
dontExpectEntityToTouch
(EntityType<?> type, double x, double y, double z) void
dontExpectItem
(Item item) 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
expectEntities
(EntityType<?> type, int amount) void
expectEntitiesAround
(EntityType<?> type, BlockPos pos, int amount, double radius) void
expectEntity
(EntityType<?> type) <E extends Entity>
EexpectEntity
(EntityType<E> type, int x, int y, int z, double margin) 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) <E extends Entity>
EexpectEntityAtOrigin
(EntityType<E> type) void
expectEntityHasEffect
(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier) <E extends LivingEntity>
voidexpectEntityHoldingItem
(BlockPos pos, EntityType<E> entityType, Item item) void
expectEntityIn
(Entity entity, Box box, String message) void
expectEntityInside
(EntityType<?> type, Vec3d pos1, Vec3d pos2) 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) <E extends Entity & InventoryOwner>
voidexpectEntityWithItem
(BlockPos pos, EntityType<E> entityType, Item item) void
expectItem
(Item item) void
expectItemAt
(Item item, BlockPos pos, double radius) void
expectItemsAt
(Item item, BlockPos pos, double radius, int amount) void
expectRedstonePower
(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage) void
expectSameStates
(BlockBox checkedBlockBox, BlockPos correctStatePos) void
expectSameStates
(BlockPos checkedPos, BlockPos correctStatePos) void
forceRandomTick
(BlockPos pos) void
void
void
forEachRelativePos
(Consumer<BlockPos> posConsumer) void
forEachRemainingTick
(Runnable runnable) getAbsolute
(Vec3d pos) getAbsolutePos
(BlockPos pos) <T extends BlockEntity>
TgetBlockEntity
(BlockPos pos) getBlockState
(BlockPos pos) getEntities
(EntityType<T> type) getEntitiesAround
(EntityType<E> type, int x, int y, int z, double margin) getEntitiesAround
(EntityType<E> type, Vec3d pos, double margin) getEntitiesAround
(EntityType<T> type, BlockPos pos, double radius) getRelative
(Vec3d pos) getRelativePos
(BlockPos pos) private Box
int
getRelativeTopY
(Heightmap.Type heightmap, int x, int z) long
getTick()
getWorld()
void
void
killAllEntities
(Class entityClass) 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
setBiome
(RegistryKey<Biome> biome) 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
setEntityPos
(MobEntity entity, float x, float y, float z) setHealthLow
(LivingEntity entity) 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
useBlock
(BlockPos pos, PlayerEntity player) void
useBlock
(BlockPos pos, PlayerEntity player, BlockHitResult result) void
void
useStackOnBlock
(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction) void
waitAndRun
(long ticks, Runnable runnable)
-
Field Details
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/test/TestContext;test:Lnet/minecraft/test/GameTestState;
intermediary field_20558
Lnet/minecraft/class_4516;field_20558:Lnet/minecraft/class_4517;
official a
Lsw;a:Lsx;
-
hasFinalClause
private boolean hasFinalClause- Mappings:
Namespace Name Mixin selector named hasFinalClause
Lnet/minecraft/test/TestContext;hasFinalClause:Z
intermediary field_33146
Lnet/minecraft/class_4516;field_33146:Z
official b
Lsw;b:Z
-
-
Constructor Details
-
TestContext
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/test/TestContext;<init>(Lnet/minecraft/test/GameTestState;)V
intermediary <init>
Lnet/minecraft/class_4516;<init>(Lnet/minecraft/class_4517;)V
official <init>
Lsw;<init>(Lsx;)V
-
-
Method Details
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorld
Lnet/minecraft/test/TestContext;getWorld()Lnet/minecraft/server/world/ServerWorld;
intermediary method_35943
Lnet/minecraft/class_4516;method_35943()Lnet/minecraft/class_3218;
official a
Lsw;a()Laqu;
-
getBlockState
- Mappings:
Namespace Name Mixin selector named getBlockState
Lnet/minecraft/test/TestContext;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
intermediary method_35980
Lnet/minecraft/class_4516;method_35980(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
official a
Lsw;a(Ljd;)Ldtc;
-
getBlockEntity
- Mappings:
Namespace Name Mixin selector named getBlockEntity
Lnet/minecraft/test/TestContext;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
intermediary method_36014
Lnet/minecraft/class_4516;method_36014(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
official b
Lsw;b(Ljd;)Ldqh;
-
killAllEntities
public void killAllEntities()- Mappings:
Namespace Name Mixin selector named killAllEntities
Lnet/minecraft/test/TestContext;killAllEntities()V
intermediary method_36001
Lnet/minecraft/class_4516;method_36001()V
official b
Lsw;b()V
-
killAllEntities
- Mappings:
Namespace Name Mixin selector named killAllEntities
Lnet/minecraft/test/TestContext;killAllEntities(Ljava/lang/Class;)V
intermediary method_52207
Lnet/minecraft/class_4516;method_52207(Ljava/lang/Class;)V
official a
Lsw;a(Ljava/lang/Class;)V
-
spawnItem
- Mappings:
Namespace Name Mixin selector named spawnItem
Lnet/minecraft/test/TestContext;spawnItem(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/ItemEntity;
intermediary method_57100
Lnet/minecraft/class_4516;method_57100(Lnet/minecraft/class_1792;Lnet/minecraft/class_243;)Lnet/minecraft/class_1542;
official a
Lsw;a(Lcul;Lexc;)Lcjh;
-
spawnItem
- Mappings:
Namespace Name Mixin selector named spawnItem
Lnet/minecraft/test/TestContext;spawnItem(Lnet/minecraft/item/Item;FFF)Lnet/minecraft/entity/ItemEntity;
intermediary method_35968
Lnet/minecraft/class_4516;method_35968(Lnet/minecraft/class_1792;FFF)Lnet/minecraft/class_1542;
official a
Lsw;a(Lcul;FFF)Lcjh;
-
spawnItem
- Mappings:
Namespace Name Mixin selector named spawnItem
Lnet/minecraft/test/TestContext;spawnItem(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ItemEntity;
intermediary method_46225
Lnet/minecraft/class_4516;method_46225(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1542;
official a
Lsw;a(Lcul;Ljd;)Lcjh;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;
intermediary method_35964
Lnet/minecraft/class_4516;method_35964(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;
official a
Lsw;a(Lbsx;Ljd;)Lbsr;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity;
intermediary method_35963
Lnet/minecraft/class_4516;method_35963(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;)Lnet/minecraft/class_1297;
official a
Lsw;a(Lbsx;Lexc;)Lbsr;
-
expectEntityAtOrigin
- Mappings:
Namespace Name Mixin selector named expectEntityAtOrigin
Lnet/minecraft/test/TestContext;expectEntityAtOrigin(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/entity/Entity;
intermediary method_56201
Lnet/minecraft/class_4516;method_56201(Lnet/minecraft/class_1299;)Lnet/minecraft/class_1297;
official a
Lsw;a(Lbsx;)Lbsr;
-
expectEntity
- Mappings:
Namespace Name Mixin selector named expectEntity
Lnet/minecraft/test/TestContext;expectEntity(Lnet/minecraft/entity/EntityType;IIID)Lnet/minecraft/entity/Entity;
intermediary method_56202
Lnet/minecraft/class_4516;method_56202(Lnet/minecraft/class_1299;IIID)Lnet/minecraft/class_1297;
official a
Lsw;a(Lbsx;IIID)Lbsr;
-
getEntitiesAround
public <E extends Entity> List<E> getEntitiesAround(EntityType<E> type, int x, int y, int z, double margin) - Mappings:
Namespace Name Mixin selector named getEntitiesAround
Lnet/minecraft/test/TestContext;getEntitiesAround(Lnet/minecraft/entity/EntityType;IIID)Ljava/util/List;
intermediary method_56207
Lnet/minecraft/class_4516;method_56207(Lnet/minecraft/class_1299;IIID)Ljava/util/List;
official b
Lsw;b(Lbsx;IIID)Ljava/util/List;
-
getEntitiesAround
- Mappings:
Namespace Name Mixin selector named getEntitiesAround
Lnet/minecraft/test/TestContext;getEntitiesAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;D)Ljava/util/List;
intermediary method_56203
Lnet/minecraft/class_4516;method_56203(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;D)Ljava/util/List;
official a
Lsw;a(Lbsx;Lexc;D)Ljava/util/List;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;III)Lnet/minecraft/entity/Entity;
intermediary method_35962
Lnet/minecraft/class_4516;method_35962(Lnet/minecraft/class_1299;III)Lnet/minecraft/class_1297;
official a
Lsw;a(Lbsx;III)Lbsr;
-
spawnEntity
- Mappings:
Namespace Name Mixin selector named spawnEntity
Lnet/minecraft/test/TestContext;spawnEntity(Lnet/minecraft/entity/EntityType;FFF)Lnet/minecraft/entity/Entity;
intermediary method_35961
Lnet/minecraft/class_4516;method_35961(Lnet/minecraft/class_1299;FFF)Lnet/minecraft/class_1297;
official a
Lsw;a(Lbsx;FFF)Lbsr;
-
spawnMob
- Mappings:
Namespace Name Mixin selector named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/mob/MobEntity;
intermediary method_36009
Lnet/minecraft/class_4516;method_36009(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1308;
official b
Lsw;b(Lbsx;Ljd;)Lbtp;
-
spawnMob
- Mappings:
Namespace Name Mixin selector named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;III)Lnet/minecraft/entity/mob/MobEntity;
intermediary method_36007
Lnet/minecraft/class_4516;method_36007(Lnet/minecraft/class_1299;III)Lnet/minecraft/class_1308;
official b
Lsw;b(Lbsx;III)Lbtp;
-
spawnMob
- Mappings:
Namespace Name Mixin selector named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/mob/MobEntity;
intermediary method_36008
Lnet/minecraft/class_4516;method_36008(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;)Lnet/minecraft/class_1308;
official b
Lsw;b(Lbsx;Lexc;)Lbtp;
-
spawnMob
- Mappings:
Namespace Name Mixin selector named spawnMob
Lnet/minecraft/test/TestContext;spawnMob(Lnet/minecraft/entity/EntityType;FFF)Lnet/minecraft/entity/mob/MobEntity;
intermediary method_36006
Lnet/minecraft/class_4516;method_36006(Lnet/minecraft/class_1299;FFF)Lnet/minecraft/class_1308;
official b
Lsw;b(Lbsx;FFF)Lbtp;
-
setEntityPos
- Mappings:
Namespace Name Mixin selector named setEntityPos
Lnet/minecraft/test/TestContext;setEntityPos(Lnet/minecraft/entity/mob/MobEntity;FFF)V
intermediary method_57099
Lnet/minecraft/class_4516;method_57099(Lnet/minecraft/class_1308;FFF)V
official a
Lsw;a(Lbtp;FFF)V
-
startMovingTowards
- Mappings:
Namespace Name Mixin selector named startMovingTowards
Lnet/minecraft/test/TestContext;startMovingTowards(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/BlockPos;F)Lnet/minecraft/test/TimedTaskRunner;
intermediary method_35967
Lnet/minecraft/class_4516;method_35967(Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;F)Lnet/minecraft/class_4693;
official a
Lsw;a(Lbtp;Ljd;F)Ltb;
-
pushButton
public void pushButton(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named pushButton
Lnet/minecraft/test/TestContext;pushButton(III)V
intermediary method_35945
Lnet/minecraft/class_4516;method_35945(III)V
official a
Lsw;a(III)V
-
pushButton
- Mappings:
Namespace Name Mixin selector named pushButton
Lnet/minecraft/test/TestContext;pushButton(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36026
Lnet/minecraft/class_4516;method_36026(Lnet/minecraft/class_2338;)V
official c
Lsw;c(Ljd;)V
-
useBlock
- Mappings:
Namespace Name Mixin selector named useBlock
Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_46229
Lnet/minecraft/class_4516;method_46229(Lnet/minecraft/class_2338;)V
official d
Lsw;d(Ljd;)V
-
useBlock
- Mappings:
Namespace Name Mixin selector named useBlock
Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_36034
Lnet/minecraft/class_4516;method_36034(Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)V
official a
Lsw;a(Ljd;Lcmx;)V
-
useBlock
- Mappings:
Namespace Name Mixin selector named useBlock
Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/hit/BlockHitResult;)V
intermediary method_47817
Lnet/minecraft/class_4516;method_47817(Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;)V
official a
Lsw;a(Ljd;Lcmx;Lewy;)V
-
drown
- Mappings:
Namespace Name Mixin selector named drown
Lnet/minecraft/test/TestContext;drown(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/LivingEntity;
intermediary method_35966
Lnet/minecraft/class_4516;method_35966(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
official a
Lsw;a(Lbtn;)Lbtn;
-
setHealthLow
- Mappings:
Namespace Name Mixin selector named setHealthLow
Lnet/minecraft/test/TestContext;setHealthLow(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/LivingEntity;
intermediary method_51821
Lnet/minecraft/class_4516;method_51821(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
official b
Lsw;b(Lbtn;)Lbtn;
-
createMockPlayer
- Mappings:
Namespace Name Mixin selector named createMockPlayer
Lnet/minecraft/test/TestContext;createMockPlayer(Lnet/minecraft/world/GameMode;)Lnet/minecraft/entity/player/PlayerEntity;
intermediary method_36021
Lnet/minecraft/class_4516;method_36021(Lnet/minecraft/class_1934;)Lnet/minecraft/class_1657;
official a
Lsw;a(Ldct;)Lcmx;
-
createMockCreativeServerPlayerInWorld
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector named createMockCreativeServerPlayerInWorld
Lnet/minecraft/test/TestContext;createMockCreativeServerPlayerInWorld()Lnet/minecraft/server/network/ServerPlayerEntity;
intermediary method_51891
Lnet/minecraft/class_4516;method_51891()Lnet/minecraft/class_3222;
official c
Lsw;c()Laqv;
-
toggleLever
public void toggleLever(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named toggleLever
Lnet/minecraft/test/TestContext;toggleLever(III)V
intermediary method_36002
Lnet/minecraft/class_4516;method_36002(III)V
official b
Lsw;b(III)V
-
toggleLever
- Mappings:
Namespace Name Mixin selector named toggleLever
Lnet/minecraft/test/TestContext;toggleLever(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36039
Lnet/minecraft/class_4516;method_36039(Lnet/minecraft/class_2338;)V
official e
Lsw;e(Ljd;)V
-
putAndRemoveRedstoneBlock
- Mappings:
Namespace Name Mixin selector named putAndRemoveRedstoneBlock
Lnet/minecraft/test/TestContext;putAndRemoveRedstoneBlock(Lnet/minecraft/util/math/BlockPos;J)V
intermediary method_35981
Lnet/minecraft/class_4516;method_35981(Lnet/minecraft/class_2338;J)V
official a
Lsw;a(Ljd;J)V
-
removeBlock
- Mappings:
Namespace Name Mixin selector named removeBlock
Lnet/minecraft/test/TestContext;removeBlock(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36044
Lnet/minecraft/class_4516;method_36044(Lnet/minecraft/class_2338;)V
official f
Lsw;f(Ljd;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(IIILnet/minecraft/block/Block;)V
intermediary method_35946
Lnet/minecraft/class_4516;method_35946(IIILnet/minecraft/class_2248;)V
official a
Lsw;a(IIILdfy;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(IIILnet/minecraft/block/BlockState;)V
intermediary method_35947
Lnet/minecraft/class_4516;method_35947(IIILnet/minecraft/class_2680;)V
official a
Lsw;a(IIILdtc;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
intermediary method_35984
Lnet/minecraft/class_4516;method_35984(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
official a
Lsw;a(Ljd;Ldfy;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockState
Lnet/minecraft/test/TestContext;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_35986
Lnet/minecraft/class_4516;method_35986(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official a
Lsw;a(Ljd;Ldtc;)V
-
useNightTime
public void useNightTime()- Mappings:
Namespace Name Mixin selector named useNightTime
Lnet/minecraft/test/TestContext;useNightTime()V
intermediary method_36030
Lnet/minecraft/class_4516;method_36030()V
official d
Lsw;d()V
-
setTime
public void setTime(int timeOfDay) - Mappings:
Namespace Name Mixin selector named setTime
Lnet/minecraft/test/TestContext;setTime(I)V
intermediary method_35944
Lnet/minecraft/class_4516;method_35944(I)V
official a
Lsw;a(I)V
-
expectBlock
- Mappings:
Namespace Name Mixin selector named expectBlock
Lnet/minecraft/test/TestContext;expectBlock(Lnet/minecraft/block/Block;III)V
intermediary method_35971
Lnet/minecraft/class_4516;method_35971(Lnet/minecraft/class_2248;III)V
official a
Lsw;a(Ldfy;III)V
-
expectBlock
- Mappings:
Namespace Name Mixin selector named expectBlock
Lnet/minecraft/test/TestContext;expectBlock(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_35972
Lnet/minecraft/class_4516;method_35972(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
official a
Lsw;a(Ldfy;Ljd;)V
-
dontExpectBlock
- Mappings:
Namespace Name Mixin selector named dontExpectBlock
Lnet/minecraft/test/TestContext;dontExpectBlock(Lnet/minecraft/block/Block;III)V
intermediary method_36011
Lnet/minecraft/class_4516;method_36011(Lnet/minecraft/class_2248;III)V
official b
Lsw;b(Ldfy;III)V
-
dontExpectBlock
- Mappings:
Namespace Name Mixin selector named dontExpectBlock
Lnet/minecraft/test/TestContext;dontExpectBlock(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36012
Lnet/minecraft/class_4516;method_36012(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
official b
Lsw;b(Ldfy;Ljd;)V
-
expectBlockAtEnd
- Mappings:
Namespace Name Mixin selector named expectBlockAtEnd
Lnet/minecraft/test/TestContext;expectBlockAtEnd(Lnet/minecraft/block/Block;III)V
intermediary method_36024
Lnet/minecraft/class_4516;method_36024(Lnet/minecraft/class_2248;III)V
official c
Lsw;c(Ldfy;III)V
-
expectBlockAtEnd
- Mappings:
Namespace Name Mixin selector named expectBlockAtEnd
Lnet/minecraft/test/TestContext;expectBlockAtEnd(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36025
Lnet/minecraft/class_4516;method_36025(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
official c
Lsw;c(Ldfy;Ljd;)V
-
checkBlock
- Mappings:
Namespace Name Mixin selector named checkBlock
Lnet/minecraft/test/TestContext;checkBlock(Lnet/minecraft/util/math/BlockPos;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
official a
Lsw;a(Ljd;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 named checkBlock
Lnet/minecraft/test/TestContext;checkBlock(Lnet/minecraft/util/math/BlockPos;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
official a
Lsw;a(Ljd;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 named expectBlockProperty
Lnet/minecraft/test/TestContext;expectBlockProperty(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/Property;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
official a
Lsw;a(Ljd;Lduf;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 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
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
official a
Lsw;a(Ljd;Lduf;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 named checkBlockState
Lnet/minecraft/test/TestContext;checkBlockState(Lnet/minecraft/util/math/BlockPos;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
official b
Lsw;b(Ljd;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
-
checkBlockEntity
public <T extends BlockEntity> void checkBlockEntity(BlockPos pos, Predicate<T> predicate, Supplier<String> errorMessageSupplier) - Mappings:
Namespace Name Mixin selector named checkBlockEntity
Lnet/minecraft/test/TestContext;checkBlockEntity(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
intermediary method_60651
Lnet/minecraft/class_4516;method_60651(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
official c
Lsw;c(Ljd;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
-
expectRedstonePower
public void expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage) - Mappings:
Namespace Name Mixin selector named expectRedstonePower
Lnet/minecraft/test/TestContext;expectRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Ljava/util/function/IntPredicate;Ljava/util/function/Supplier;)V
intermediary method_52225
Lnet/minecraft/class_4516;method_52225(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Ljava/util/function/IntPredicate;Ljava/util/function/Supplier;)V
official a
Lsw;a(Ljd;Lji;Ljava/util/function/IntPredicate;Ljava/util/function/Supplier;)V
-
expectEntity
- Mappings:
Namespace Name Mixin selector named expectEntity
Lnet/minecraft/test/TestContext;expectEntity(Lnet/minecraft/entity/EntityType;)V
intermediary method_35959
Lnet/minecraft/class_4516;method_35959(Lnet/minecraft/class_1299;)V
official b
Lsw;b(Lbsx;)V
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/EntityType;III)V
intermediary method_36022
Lnet/minecraft/class_4516;method_36022(Lnet/minecraft/class_1299;III)V
official c
Lsw;c(Lbsx;III)V
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36023
Lnet/minecraft/class_4516;method_36023(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
official c
Lsw;c(Lbsx;Ljd;)V
-
expectEntityInside
- Mappings:
Namespace Name Mixin selector named expectEntityInside
Lnet/minecraft/test/TestContext;expectEntityInside(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_46224
Lnet/minecraft/class_4516;method_46224(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)V
official a
Lsw;a(Lbsx;Lexc;Lexc;)V
-
expectEntities
- Mappings:
Namespace Name Mixin selector named expectEntities
Lnet/minecraft/test/TestContext;expectEntities(Lnet/minecraft/entity/EntityType;I)V
intermediary method_55323
Lnet/minecraft/class_4516;method_55323(Lnet/minecraft/class_1299;I)V
official a
Lsw;a(Lbsx;I)V
-
expectEntitiesAround
- Mappings:
Namespace Name Mixin selector named expectEntitiesAround
Lnet/minecraft/test/TestContext;expectEntitiesAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;ID)V
intermediary method_44606
Lnet/minecraft/class_4516;method_44606(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;ID)V
official a
Lsw;a(Lbsx;Ljd;ID)V
-
expectEntityAround
- Mappings:
Namespace Name Mixin selector named expectEntityAround
Lnet/minecraft/test/TestContext;expectEntityAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;D)V
intermediary method_35965
Lnet/minecraft/class_4516;method_35965(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;D)V
official a
Lsw;a(Lbsx;Ljd;D)V
-
getEntitiesAround
public <T extends Entity> List<T> getEntitiesAround(EntityType<T> type, BlockPos pos, double radius) - Mappings:
Namespace Name Mixin selector named getEntitiesAround
Lnet/minecraft/test/TestContext;getEntitiesAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;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;
official b
Lsw;b(Lbsx;Ljd;D)Ljava/util/List;
-
getEntities
- Mappings:
Namespace Name Mixin selector named getEntities
Lnet/minecraft/test/TestContext;getEntities(Lnet/minecraft/entity/EntityType;)Ljava/util/List;
intermediary method_56208
Lnet/minecraft/class_4516;method_56208(Lnet/minecraft/class_1299;)Ljava/util/List;
official c
Lsw;c(Lbsx;)Ljava/util/List;
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/Entity;III)V
intermediary method_35953
Lnet/minecraft/class_4516;method_35953(Lnet/minecraft/class_1297;III)V
official a
Lsw;a(Lbsr;III)V
-
expectEntityAt
- Mappings:
Namespace Name Mixin selector named expectEntityAt
Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_35955
Lnet/minecraft/class_4516;method_35955(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)V
official a
Lsw;a(Lbsr;Ljd;)V
-
expectItemsAt
- Mappings:
Namespace Name Mixin selector named expectItemsAt
Lnet/minecraft/test/TestContext;expectItemsAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;DI)V
intermediary method_35970
Lnet/minecraft/class_4516;method_35970(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;DI)V
official a
Lsw;a(Lcul;Ljd;DI)V
-
expectItemAt
- Mappings:
Namespace Name Mixin selector named expectItemAt
Lnet/minecraft/test/TestContext;expectItemAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;D)V
intermediary method_35969
Lnet/minecraft/class_4516;method_35969(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;D)V
official a
Lsw;a(Lcul;Ljd;D)V
-
dontExpectItemAt
- Mappings:
Namespace Name Mixin selector named dontExpectItemAt
Lnet/minecraft/test/TestContext;dontExpectItemAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;D)V
intermediary method_42762
Lnet/minecraft/class_4516;method_42762(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;D)V
official b
Lsw;b(Lcul;Ljd;D)V
-
expectItem
- Mappings:
Namespace Name Mixin selector named expectItem
Lnet/minecraft/test/TestContext;expectItem(Lnet/minecraft/item/Item;)V
intermediary method_54143
Lnet/minecraft/class_4516;method_54143(Lnet/minecraft/class_1792;)V
official a
Lsw;a(Lcul;)V
-
dontExpectItem
- Mappings:
Namespace Name Mixin selector named dontExpectItem
Lnet/minecraft/test/TestContext;dontExpectItem(Lnet/minecraft/item/Item;)V
intermediary method_54144
Lnet/minecraft/class_4516;method_54144(Lnet/minecraft/class_1792;)V
official b
Lsw;b(Lcul;)V
-
dontExpectEntity
- Mappings:
Namespace Name Mixin selector named dontExpectEntity
Lnet/minecraft/test/TestContext;dontExpectEntity(Lnet/minecraft/entity/EntityType;)V
intermediary method_36004
Lnet/minecraft/class_4516;method_36004(Lnet/minecraft/class_1299;)V
official d
Lsw;d(Lbsx;)V
-
dontExpectEntityAt
- Mappings:
Namespace Name Mixin selector named dontExpectEntityAt
Lnet/minecraft/test/TestContext;dontExpectEntityAt(Lnet/minecraft/entity/EntityType;III)V
intermediary method_36031
Lnet/minecraft/class_4516;method_36031(Lnet/minecraft/class_1299;III)V
official d
Lsw;d(Lbsx;III)V
-
dontExpectEntityAt
- Mappings:
Namespace Name Mixin selector named dontExpectEntityAt
Lnet/minecraft/test/TestContext;dontExpectEntityAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36032
Lnet/minecraft/class_4516;method_36032(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
official d
Lsw;d(Lbsx;Ljd;)V
-
dontExpectEntityBetween
- Mappings:
Namespace Name Mixin selector named dontExpectEntityBetween
Lnet/minecraft/test/TestContext;dontExpectEntityBetween(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_59872
Lnet/minecraft/class_4516;method_59872(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)V
official b
Lsw;b(Lbsx;Lexc;Lexc;)V
-
expectEntityToTouch
- Mappings:
Namespace Name Mixin selector named expectEntityToTouch
Lnet/minecraft/test/TestContext;expectEntityToTouch(Lnet/minecraft/entity/EntityType;DDD)V
intermediary method_35960
Lnet/minecraft/class_4516;method_35960(Lnet/minecraft/class_1299;DDD)V
official a
Lsw;a(Lbsx;DDD)V
-
dontExpectEntityToTouch
- Mappings:
Namespace Name Mixin selector named dontExpectEntityToTouch
Lnet/minecraft/test/TestContext;dontExpectEntityToTouch(Lnet/minecraft/entity/EntityType;DDD)V
intermediary method_36005
Lnet/minecraft/class_4516;method_36005(Lnet/minecraft/class_1299;DDD)V
official b
Lsw;b(Lbsx;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 named expectEntityWithData
Lnet/minecraft/test/TestContext;expectEntityWithData(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;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
official a
Lsw;a(Ljd;Lbsx;Ljava/util/function/Function;Ljava/lang/Object;)V
-
expectEntityHoldingItem
public <E extends LivingEntity> void expectEntityHoldingItem(BlockPos pos, EntityType<E> entityType, Item item) - Mappings:
Namespace Name Mixin selector named expectEntityHoldingItem
Lnet/minecraft/test/TestContext;expectEntityHoldingItem(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)V
intermediary method_48001
Lnet/minecraft/class_4516;method_48001(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Lnet/minecraft/class_1792;)V
official a
Lsw;a(Ljd;Lbsx;Lcul;)V
-
expectEntityWithItem
public <E extends Entity & InventoryOwner> void expectEntityWithItem(BlockPos pos, EntityType<E> entityType, Item item) - Mappings:
Namespace Name Mixin selector named expectEntityWithItem
Lnet/minecraft/test/TestContext;expectEntityWithItem(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)V
intermediary method_48003
Lnet/minecraft/class_4516;method_48003(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Lnet/minecraft/class_1792;)V
official b
Lsw;b(Ljd;Lbsx;Lcul;)V
-
expectEmptyContainer
- Mappings:
Namespace Name Mixin selector named expectEmptyContainer
Lnet/minecraft/test/TestContext;expectEmptyContainer(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36047
Lnet/minecraft/class_4516;method_36047(Lnet/minecraft/class_2338;)V
official g
Lsw;g(Ljd;)V
-
expectContainerWith
- Mappings:
Namespace Name Mixin selector named expectContainerWith
Lnet/minecraft/test/TestContext;expectContainerWith(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/Item;)V
intermediary method_35983
Lnet/minecraft/class_4516;method_35983(Lnet/minecraft/class_2338;Lnet/minecraft/class_1792;)V
official a
Lsw;a(Ljd;Lcul;)V
-
expectSameStates
- Mappings:
Namespace Name Mixin selector named expectSameStates
Lnet/minecraft/test/TestContext;expectSameStates(Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_35977
Lnet/minecraft/class_4516;method_35977(Lnet/minecraft/class_3341;Lnet/minecraft/class_2338;)V
official a
Lsw;a(Lejj;Ljd;)V
-
expectSameStates
- Mappings:
Namespace Name Mixin selector named expectSameStates
Lnet/minecraft/test/TestContext;expectSameStates(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_35990
Lnet/minecraft/class_4516;method_35990(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
official a
Lsw;a(Ljd;Ljd;)V
-
expectContainerWith
- Mappings:
Namespace Name Mixin selector named expectContainerWith
Lnet/minecraft/test/TestContext;expectContainerWith(JLnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/Item;)V
intermediary method_35950
Lnet/minecraft/class_4516;method_35950(JLnet/minecraft/class_2338;Lnet/minecraft/class_1792;)V
official a
Lsw;a(JLjd;Lcul;)V
-
expectEmptyContainer
- Mappings:
Namespace Name Mixin selector named expectEmptyContainer
Lnet/minecraft/test/TestContext;expectEmptyContainer(JLnet/minecraft/util/math/BlockPos;)V
intermediary method_35949
Lnet/minecraft/class_4516;method_35949(JLnet/minecraft/class_2338;)V
official a
Lsw;a(JLjd;)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 named expectEntityWithDataEnd
Lnet/minecraft/test/TestContext;expectEntityWithDataEnd(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;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
official b
Lsw;b(Ljd;Lbsx;Ljava/util/function/Function;Ljava/lang/Object;)V
-
expectEntityIn
- Mappings:
Namespace Name Mixin selector named expectEntityIn
Lnet/minecraft/test/TestContext;expectEntityIn(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/lang/String;)V
intermediary method_61173
Lnet/minecraft/class_4516;method_61173(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/lang/String;)V
official a
Lsw;a(Lbsr;Lewx;Ljava/lang/String;)V
-
testEntity
- Mappings:
Namespace Name Mixin selector named testEntity
Lnet/minecraft/test/TestContext;testEntity(Lnet/minecraft/entity/Entity;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
official a
Lsw;a(Lbsr;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 named testEntityProperty
Lnet/minecraft/test/TestContext;testEntityProperty(Lnet/minecraft/entity/Entity;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
official a
Lsw;a(Lbsr;Ljava/util/function/Function;Ljava/lang/String;Ljava/lang/Object;)V
-
expectEntityHasEffect
public void expectEntityHasEffect(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier) - Mappings:
Namespace Name Mixin selector named expectEntityHasEffect
Lnet/minecraft/test/TestContext;expectEntityHasEffect(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/registry/entry/RegistryEntry;I)V
intermediary method_52889
Lnet/minecraft/class_4516;method_52889(Lnet/minecraft/class_1309;Lnet/minecraft/class_6880;I)V
official a
Lsw;a(Lbtn;Ljm;I)V
-
expectEntityAtEnd
- Mappings:
Namespace Name Mixin selector named expectEntityAtEnd
Lnet/minecraft/test/TestContext;expectEntityAtEnd(Lnet/minecraft/entity/EntityType;III)V
intermediary method_36037
Lnet/minecraft/class_4516;method_36037(Lnet/minecraft/class_1299;III)V
official e
Lsw;e(Lbsx;III)V
-
expectEntityAtEnd
- Mappings:
Namespace Name Mixin selector named expectEntityAtEnd
Lnet/minecraft/test/TestContext;expectEntityAtEnd(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36038
Lnet/minecraft/class_4516;method_36038(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
official e
Lsw;e(Lbsx;Ljd;)V
-
dontExpectEntityAtEnd
- Mappings:
Namespace Name Mixin selector named dontExpectEntityAtEnd
Lnet/minecraft/test/TestContext;dontExpectEntityAtEnd(Lnet/minecraft/entity/EntityType;III)V
intermediary method_36042
Lnet/minecraft/class_4516;method_36042(Lnet/minecraft/class_1299;III)V
official f
Lsw;f(Lbsx;III)V
-
dontExpectEntityAtEnd
- Mappings:
Namespace Name Mixin selector named dontExpectEntityAtEnd
Lnet/minecraft/test/TestContext;dontExpectEntityAtEnd(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36043
Lnet/minecraft/class_4516;method_36043(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
official f
Lsw;f(Lbsx;Ljd;)V
-
complete
public void complete()- Mappings:
Namespace Name Mixin selector named complete
Lnet/minecraft/test/TestContext;complete()V
intermediary method_36036
Lnet/minecraft/class_4516;method_36036()V
official e
Lsw;e()V
-
markFinalCause
private void markFinalCause()- Mappings:
Namespace Name Mixin selector named markFinalCause
Lnet/minecraft/test/TestContext;markFinalCause()V
intermediary method_36048
Lnet/minecraft/class_4516;method_36048()V
official k
Lsw;k()V
-
addFinalTask
- Mappings:
Namespace Name Mixin selector named addFinalTask
Lnet/minecraft/test/TestContext;addFinalTask(Ljava/lang/Runnable;)V
intermediary method_35993
Lnet/minecraft/class_4516;method_35993(Ljava/lang/Runnable;)V
official a
Lsw;a(Ljava/lang/Runnable;)V
-
addInstantFinalTask
- Mappings:
Namespace Name Mixin selector named addInstantFinalTask
Lnet/minecraft/test/TestContext;addInstantFinalTask(Ljava/lang/Runnable;)V
intermediary method_36018
Lnet/minecraft/class_4516;method_36018(Ljava/lang/Runnable;)V
official b
Lsw;b(Ljava/lang/Runnable;)V
-
addFinalTaskWithDuration
- Mappings:
Namespace Name Mixin selector named addFinalTaskWithDuration
Lnet/minecraft/test/TestContext;addFinalTaskWithDuration(ILjava/lang/Runnable;)V
intermediary method_35948
Lnet/minecraft/class_4516;method_35948(ILjava/lang/Runnable;)V
official a
Lsw;a(ILjava/lang/Runnable;)V
-
runAtTick
- Mappings:
Namespace Name Mixin selector named runAtTick
Lnet/minecraft/test/TestContext;runAtTick(JLjava/lang/Runnable;)V
intermediary method_35951
Lnet/minecraft/class_4516;method_35951(JLjava/lang/Runnable;)V
official a
Lsw;a(JLjava/lang/Runnable;)V
-
waitAndRun
- Mappings:
Namespace Name Mixin selector named waitAndRun
Lnet/minecraft/test/TestContext;waitAndRun(JLjava/lang/Runnable;)V
intermediary method_36003
Lnet/minecraft/class_4516;method_36003(JLjava/lang/Runnable;)V
official b
Lsw;b(JLjava/lang/Runnable;)V
-
forceRandomTick
- Mappings:
Namespace Name Mixin selector named forceRandomTick
Lnet/minecraft/test/TestContext;forceRandomTick(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36050
Lnet/minecraft/class_4516;method_36050(Lnet/minecraft/class_2338;)V
official h
Lsw;h(Ljd;)V
-
forceTickIceAndSnow
- Mappings:
Namespace Name Mixin selector named forceTickIceAndSnow
Lnet/minecraft/test/TestContext;forceTickIceAndSnow(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_55453
Lnet/minecraft/class_4516;method_55453(Lnet/minecraft/class_2338;)V
official i
Lsw;i(Ljd;)V
-
forceTickIceAndSnow
public void forceTickIceAndSnow()- Mappings:
Namespace Name Mixin selector named forceTickIceAndSnow
Lnet/minecraft/test/TestContext;forceTickIceAndSnow()V
intermediary method_55452
Lnet/minecraft/class_4516;method_55452()V
official f
Lsw;f()V
-
getRelativeTopY
- Mappings:
Namespace Name Mixin selector named getRelativeTopY
Lnet/minecraft/test/TestContext;getRelativeTopY(Lnet/minecraft/world/Heightmap$Type;II)I
intermediary method_42063
Lnet/minecraft/class_4516;method_42063(Lnet/minecraft/class_2902$class_2903;II)I
official a
Lsw;a(Ldyy$a;II)I
-
throwPositionedException
- Mappings:
Namespace Name Mixin selector named throwPositionedException
Lnet/minecraft/test/TestContext;throwPositionedException(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_35997
Lnet/minecraft/class_4516;method_35997(Ljava/lang/String;Lnet/minecraft/class_2338;)V
official a
Lsw;a(Ljava/lang/String;Ljd;)V
-
throwPositionedException
- Mappings:
Namespace Name Mixin selector named throwPositionedException
Lnet/minecraft/test/TestContext;throwPositionedException(Ljava/lang/String;Lnet/minecraft/entity/Entity;)V
intermediary method_35996
Lnet/minecraft/class_4516;method_35996(Ljava/lang/String;Lnet/minecraft/class_1297;)V
official a
Lsw;a(Ljava/lang/String;Lbsr;)V
-
throwGameTestException
- Mappings:
Namespace Name Mixin selector named throwGameTestException
Lnet/minecraft/test/TestContext;throwGameTestException(Ljava/lang/String;)V
intermediary method_35995
Lnet/minecraft/class_4516;method_35995(Ljava/lang/String;)V
official a
Lsw;a(Ljava/lang/String;)V
-
addTask
- Mappings:
Namespace Name Mixin selector named addTask
Lnet/minecraft/test/TestContext;addTask(Ljava/lang/Runnable;)V
intermediary method_36028
Lnet/minecraft/class_4516;method_36028(Ljava/lang/Runnable;)V
official c
Lsw;c(Ljava/lang/Runnable;)V
-
runAtEveryTick
- Mappings:
Namespace Name Mixin selector named runAtEveryTick
Lnet/minecraft/test/TestContext;runAtEveryTick(Ljava/lang/Runnable;)V
intermediary method_36035
Lnet/minecraft/class_4516;method_36035(Ljava/lang/Runnable;)V
official d
Lsw;d(Ljava/lang/Runnable;)V
-
createTimedTaskRunner
- Mappings:
Namespace Name Mixin selector named createTimedTaskRunner
Lnet/minecraft/test/TestContext;createTimedTaskRunner()Lnet/minecraft/test/TimedTaskRunner;
intermediary method_36041
Lnet/minecraft/class_4516;method_36041()Lnet/minecraft/class_4693;
official g
Lsw;g()Ltb;
-
getAbsolutePos
- Mappings:
Namespace Name Mixin selector named getAbsolutePos
Lnet/minecraft/test/TestContext;getAbsolutePos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
intermediary method_36052
Lnet/minecraft/class_4516;method_36052(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
official j
Lsw;j(Ljd;)Ljd;
-
getRelativePos
- Mappings:
Namespace Name Mixin selector named getRelativePos
Lnet/minecraft/test/TestContext;getRelativePos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
intermediary method_36054
Lnet/minecraft/class_4516;method_36054(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
official k
Lsw;k(Ljd;)Ljd;
-
getAbsolute
- Mappings:
Namespace Name Mixin selector named getAbsolute
Lnet/minecraft/test/TestContext;getAbsolute(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_35978
Lnet/minecraft/class_4516;method_35978(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official a
Lsw;a(Lexc;)Lexc;
-
getRelative
- Mappings:
Namespace Name Mixin selector named getRelative
Lnet/minecraft/test/TestContext;getRelative(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_46227
Lnet/minecraft/class_4516;method_46227(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official b
Lsw;b(Lexc;)Lexc;
-
getRotation
- Mappings:
Namespace Name Mixin selector named getRotation
Lnet/minecraft/test/TestContext;getRotation()Lnet/minecraft/util/BlockRotation;
intermediary method_61093
Lnet/minecraft/class_4516;method_61093()Lnet/minecraft/class_2470;
official h
Lsw;h()Ldmm;
-
assertTrue
- Mappings:
Namespace Name Mixin selector named assertTrue
Lnet/minecraft/test/TestContext;assertTrue(ZLjava/lang/String;)V
intermediary method_46226
Lnet/minecraft/class_4516;method_46226(ZLjava/lang/String;)V
official a
Lsw;a(ZLjava/lang/String;)V
-
assertEquals
- Mappings:
Namespace Name Mixin selector named assertEquals
Lnet/minecraft/test/TestContext;assertEquals(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
intermediary method_56606
Lnet/minecraft/class_4516;method_56606(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
official a
Lsw;a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
-
assertFalse
- Mappings:
Namespace Name Mixin selector named assertFalse
Lnet/minecraft/test/TestContext;assertFalse(ZLjava/lang/String;)V
intermediary method_49994
Lnet/minecraft/class_4516;method_49994(ZLjava/lang/String;)V
official b
Lsw;b(ZLjava/lang/String;)V
-
getTick
public long getTick()- Mappings:
Namespace Name Mixin selector named getTick
Lnet/minecraft/test/TestContext;getTick()J
intermediary method_36045
Lnet/minecraft/class_4516;method_36045()J
official i
Lsw;i()J
-
getTestBox
- Mappings:
Namespace Name Mixin selector named getTestBox
Lnet/minecraft/test/TestContext;getTestBox()Lnet/minecraft/util/math/Box;
intermediary method_36051
Lnet/minecraft/class_4516;method_36051()Lnet/minecraft/class_238;
official j
Lsw;j()Lewx;
-
getRelativeTestBox
- Mappings:
Namespace Name Mixin selector named getRelativeTestBox
Lnet/minecraft/test/TestContext;getRelativeTestBox()Lnet/minecraft/util/math/Box;
intermediary method_36053
Lnet/minecraft/class_4516;method_36053()Lnet/minecraft/class_238;
official l
Lsw;l()Lewx;
-
forEachRelativePos
- Mappings:
Namespace Name Mixin selector named forEachRelativePos
Lnet/minecraft/test/TestContext;forEachRelativePos(Ljava/util/function/Consumer;)V
intermediary method_35998
Lnet/minecraft/class_4516;method_35998(Ljava/util/function/Consumer;)V
official a
Lsw;a(Ljava/util/function/Consumer;)V
-
forEachRemainingTick
- Mappings:
Namespace Name Mixin selector named forEachRemainingTick
Lnet/minecraft/test/TestContext;forEachRemainingTick(Ljava/lang/Runnable;)V
intermediary method_36040
Lnet/minecraft/class_4516;method_36040(Ljava/lang/Runnable;)V
official e
Lsw;e(Ljava/lang/Runnable;)V
-
useStackOnBlock
public void useStackOnBlock(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector named useStackOnBlock
Lnet/minecraft/test/TestContext;useStackOnBlock(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
intermediary method_47816
Lnet/minecraft/class_4516;method_47816(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
official a
Lsw;a(Lcmx;Lcuq;Ljd;Lji;)V
-
setBiome
- Mappings:
Namespace Name Mixin selector named setBiome
Lnet/minecraft/test/TestContext;setBiome(Lnet/minecraft/registry/RegistryKey;)V
intermediary method_55451
Lnet/minecraft/class_4516;method_55451(Lnet/minecraft/class_5321;)V
official a
Lsw;a(Lakq;)V
-