Class TestContext

java.lang.Object
net.minecraft.test.TestContext

public class TestContext extends Object
Mappings:
Namespace Name
official pq
intermediary net/minecraft/class_4516
named net/minecraft/test/TestContext
  • Field Details

    • test

      private final GameTestState test
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a:Lpr;
      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 Lpq;b:Z
      intermediary field_33146 Lnet/minecraft/class_4516;field_33146:Z
      named hasFinalClause Lnet/minecraft/test/TestContext;hasFinalClause:Z
  • Constructor Details

    • TestContext

      public TestContext(GameTestState test)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpq;<init>(Lpr;)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

      public ServerWorld getWorld()
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a()Laif;
      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

      public BlockState getBlockState(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;)Ldcb;
      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

      @Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lgu;)Lczn;
      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 Lpq;b()V
      intermediary method_36001 Lnet/minecraft/class_4516;method_36001()V
      named killAllEntities Lnet/minecraft/test/TestContext;killAllEntities()V
    • killAllEntities

      public void killAllEntities(Class entityClass)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Ljava/lang/Class;)V
      intermediary method_52207 Lnet/minecraft/class_4516;method_52207(Ljava/lang/Class;)V
      named killAllEntities Lnet/minecraft/test/TestContext;killAllEntities(Ljava/lang/Class;)V
    • spawnItem

      public ItemEntity spawnItem(Item item, float x, float y, float z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lcfu;FFF)Lbvh;
      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;
    • spawnItem

      public ItemEntity spawnItem(Item item, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lcfu;Lgu;)Lbvh;
      intermediary method_46225 Lnet/minecraft/class_4516;method_46225(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1542;
      named spawnItem Lnet/minecraft/test/TestContext;spawnItem(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/ItemEntity;
    • spawnEntity

      public <E extends Entity> E spawnEntity(EntityType<E> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;Lgu;)Lbfj;
      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

      public <E extends Entity> E spawnEntity(EntityType<E> type, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;Leei;)Lbfj;
      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

      public <E extends Entity> E spawnEntity(EntityType<E> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;III)Lbfj;
      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

      public <E extends Entity> E spawnEntity(EntityType<E> type, float x, float y, float z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;FFF)Lbfj;
      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

      public <E extends MobEntity> E spawnMob(EntityType<E> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfn;Lgu;)Lbgb;
      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

      public <E extends MobEntity> E spawnMob(EntityType<E> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfn;III)Lbgb;
      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

      public <E extends MobEntity> E spawnMob(EntityType<E> type, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfn;Leei;)Lbgb;
      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

      public <E extends MobEntity> E spawnMob(EntityType<E> type, float x, float y, float z)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfn;FFF)Lbgb;
      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

      public TimedTaskRunner startMovingTowards(MobEntity entity, BlockPos pos, float speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbgb;Lgu;F)Lpv;
      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 Lpq;a(III)V
      intermediary method_35945 Lnet/minecraft/class_4516;method_35945(III)V
      named pushButton Lnet/minecraft/test/TestContext;pushButton(III)V
    • pushButton

      public void pushButton(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c(Lgu;)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

      public void useBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lpq;d(Lgu;)V
      intermediary method_46229 Lnet/minecraft/class_4516;method_46229(Lnet/minecraft/class_2338;)V
      named useBlock Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;)V
    • useBlock

      public void useBlock(BlockPos pos, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lbyo;)V
      intermediary method_36034 Lnet/minecraft/class_4516;method_36034(Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)V
      named useBlock Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
    • useBlock

      public void useBlock(BlockPos pos, PlayerEntity player, BlockHitResult result)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lbyo;Leee;)V
      intermediary method_47817 Lnet/minecraft/class_4516;method_47817(Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;)V
      named useBlock Lnet/minecraft/test/TestContext;useBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/hit/BlockHitResult;)V
    • drown

      public LivingEntity drown(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfz;)Lbfz;
      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;
    • createMockSurvivalPlayer

      public PlayerEntity createMockSurvivalPlayer()
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c()Lbyo;
      intermediary method_46228 Lnet/minecraft/class_4516;method_46228()Lnet/minecraft/class_1657;
      named createMockSurvivalPlayer Lnet/minecraft/test/TestContext;createMockSurvivalPlayer()Lnet/minecraft/entity/player/PlayerEntity;
    • setHealthLow

      public LivingEntity setHealthLow(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfz;)Lbfz;
      intermediary method_51821 Lnet/minecraft/class_4516;method_51821(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
      named setHealthLow Lnet/minecraft/test/TestContext;setHealthLow(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/LivingEntity;
    • createMockCreativePlayer

      public PlayerEntity createMockCreativePlayer()
      Mappings:
      Namespace Name Mixin selector
      official d Lpq;d()Lbyo;
      intermediary method_36021 Lnet/minecraft/class_4516;method_36021()Lnet/minecraft/class_1657;
      named createMockCreativePlayer Lnet/minecraft/test/TestContext;createMockCreativePlayer()Lnet/minecraft/entity/player/PlayerEntity;
    • createMockCreativeServerPlayerInWorld

      public ServerPlayerEntity createMockCreativeServerPlayerInWorld()
      Mappings:
      Namespace Name Mixin selector
      official e Lpq;e()Laig;
      intermediary method_51891 Lnet/minecraft/class_4516;method_51891()Lnet/minecraft/class_3222;
      named createMockCreativeServerPlayerInWorld Lnet/minecraft/test/TestContext;createMockCreativeServerPlayerInWorld()Lnet/minecraft/server/network/ServerPlayerEntity;
    • toggleLever

      public void toggleLever(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(III)V
      intermediary method_36002 Lnet/minecraft/class_4516;method_36002(III)V
      named toggleLever Lnet/minecraft/test/TestContext;toggleLever(III)V
    • toggleLever

      public void toggleLever(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official e Lpq;e(Lgu;)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

      public void putAndRemoveRedstoneBlock(BlockPos pos, long delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;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

      public void removeBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official f Lpq;f(Lgu;)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

      public void setBlockState(int x, int y, int z, Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(IIILcpn;)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

      public void setBlockState(int x, int y, int z, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(IIILdcb;)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

      public void setBlockState(BlockPos pos, Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lcpn;)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

      public void setBlockState(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Ldcb;)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 f Lpq;f()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 Lpq;a(I)V
      intermediary method_35944 Lnet/minecraft/class_4516;method_35944(I)V
      named setTime Lnet/minecraft/test/TestContext;setTime(I)V
    • expectBlock

      public void expectBlock(Block block, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lcpn;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

      public void expectBlock(Block block, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lcpn;Lgu;)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

      public void dontExpectBlock(Block block, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lcpn;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

      public void dontExpectBlock(Block block, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lcpn;Lgu;)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

      public void expectBlockAtEnd(Block block, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c(Lcpn;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

      public void expectBlockAtEnd(Block block, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c(Lcpn;Lgu;)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

      public void checkBlock(BlockPos pos, Predicate<Block> predicate, String errorMessage)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;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 Lpq;a(Lgu;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 Lpq;a(Lgu;Ldde;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 Lpq;a(Lgu;Ldde;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 Lpq;b(Lgu;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
    • expectRedstonePower

      public void expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lha;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
      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
    • expectEntity

      public void expectEntity(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;)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

      public void expectEntityAt(EntityType<?> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c(Lbfn;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

      public void expectEntityAt(EntityType<?> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;c(Lbfn;Lgu;)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
    • expectEntityInside

      public void expectEntityInside(EntityType<?> type, Vec3d pos1, Vec3d pos2)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;Leei;Leei;)V
      intermediary method_46224 Lnet/minecraft/class_4516;method_46224(Lnet/minecraft/class_1299;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)V
      named expectEntityInside Lnet/minecraft/test/TestContext;expectEntityInside(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)V
    • expectEntitiesAround

      public void expectEntitiesAround(EntityType<?> type, BlockPos pos, int amount, double radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;Lgu;ID)V
      intermediary method_44606 Lnet/minecraft/class_4516;method_44606(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;ID)V
      named expectEntitiesAround Lnet/minecraft/test/TestContext;expectEntitiesAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;ID)V
    • expectEntityAround

      public void expectEntityAround(EntityType<?> type, BlockPos pos, double radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;Lgu;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 Lpq;b(Lbfn;Lgu;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

      public void expectEntityAt(Entity entity, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfj;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

      public void expectEntityAt(Entity entity, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfj;Lgu;)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

      public void expectItemsAt(Item item, BlockPos pos, double radius, int amount)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lcfu;Lgu;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

      public void expectItemAt(Item item, BlockPos pos, double radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lcfu;Lgu;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

      public void dontExpectItemAt(Item item, BlockPos pos, double radius)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lcfu;Lgu;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

      public void dontExpectEntity(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfn;)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

      public void dontExpectEntityAt(EntityType<?> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official d Lpq;d(Lbfn;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

      public void dontExpectEntityAt(EntityType<?> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lpq;d(Lbfn;Lgu;)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

      public void expectEntityToTouch(EntityType<?> type, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfn;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

      public void dontExpectEntityToTouch(EntityType<?> type, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lbfn;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 Lpq;a(Lgu;Lbfn;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
    • expectEntityHoldingItem

      public <E extends LivingEntity> void expectEntityHoldingItem(BlockPos pos, EntityType<E> entityType, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lbfn;Lcfu;)V
      intermediary method_48001 Lnet/minecraft/class_4516;method_48001(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Lnet/minecraft/class_1792;)V
      named expectEntityHoldingItem Lnet/minecraft/test/TestContext;expectEntityHoldingItem(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)V
    • expectEntityWithItem

      public <E extends Entity & InventoryOwner> void expectEntityWithItem(BlockPos pos, EntityType<E> entityType, Item item)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Lgu;Lbfn;Lcfu;)V
      intermediary method_48003 Lnet/minecraft/class_4516;method_48003(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Lnet/minecraft/class_1792;)V
      named expectEntityWithItem Lnet/minecraft/test/TestContext;expectEntityWithItem(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)V
    • expectEmptyContainer

      public void expectEmptyContainer(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official g Lpq;g(Lgu;)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

      public void expectContainerWith(BlockPos pos, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lcfu;)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

      public void expectSameStates(BlockBox checkedBlockBox, BlockPos correctStatePos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Ldrs;Lgu;)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

      public void expectSameStates(BlockPos checkedPos, BlockPos correctStatePos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lgu;Lgu;)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

      public void expectContainerWith(long delay, BlockPos pos, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(JLgu;Lcfu;)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

      public void expectEmptyContainer(long delay, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(JLgu;)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 Lpq;b(Lgu;Lbfn;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

      public <E extends Entity> void testEntity(E entity, Predicate<E> predicate, String testName)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbfj;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 Lpq;a(Lbfj;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

      public void expectEntityAtEnd(EntityType<?> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official e Lpq;e(Lbfn;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

      public void expectEntityAtEnd(EntityType<?> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official e Lpq;e(Lbfn;Lgu;)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

      public void dontExpectEntityAtEnd(EntityType<?> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official f Lpq;f(Lbfn;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

      public void dontExpectEntityAtEnd(EntityType<?> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official f Lpq;f(Lbfn;Lgu;)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 g Lpq;g()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 j Lpq;j()V
      intermediary method_36048 Lnet/minecraft/class_4516;method_36048()V
      named markFinalCause Lnet/minecraft/test/TestContext;markFinalCause()V
    • addFinalTask

      public void addFinalTask(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;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

      public void addInstantFinalTask(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;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

      public void addFinalTaskWithDuration(int duration, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;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

      public void runAtTick(long tick, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;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

      public void waitAndRun(long ticks, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;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

      public void forceRandomTick(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official h Lpq;h(Lgu;)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

      public int getRelativeTopY(Heightmap.Type heightmap, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Ldhk$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

      public void throwPositionedException(String message, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Ljava/lang/String;Lgu;)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

      public void throwPositionedException(String message, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Ljava/lang/String;Lbfj;)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

      public void throwGameTestException(String message)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;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

      public void addTask(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official c Lpq;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

      public void runAtEveryTick(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official d Lpq;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

      public TimedTaskRunner createTimedTaskRunner()
      Mappings:
      Namespace Name Mixin selector
      official h Lpq;h()Lpv;
      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

      public BlockPos getAbsolutePos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official i Lpq;i(Lgu;)Lgu;
      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

      public BlockPos getRelativePos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official j Lpq;j(Lgu;)Lgu;
      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

      public Vec3d getAbsolute(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Leei;)Leei;
      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;
    • getRelative

      public Vec3d getRelative(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(Leei;)Leei;
      intermediary method_46227 Lnet/minecraft/class_4516;method_46227(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named getRelative Lnet/minecraft/test/TestContext;getRelative(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • assertTrue

      public void assertTrue(boolean condition, String message)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(ZLjava/lang/String;)V
      intermediary method_46226 Lnet/minecraft/class_4516;method_46226(ZLjava/lang/String;)V
      named assertTrue Lnet/minecraft/test/TestContext;assertTrue(ZLjava/lang/String;)V
    • assertFalse

      public void assertFalse(boolean condition, String message)
      Mappings:
      Namespace Name Mixin selector
      official b Lpq;b(ZLjava/lang/String;)V
      intermediary method_49994 Lnet/minecraft/class_4516;method_49994(ZLjava/lang/String;)V
      named assertFalse Lnet/minecraft/test/TestContext;assertFalse(ZLjava/lang/String;)V
    • getTick

      public long getTick()
      Mappings:
      Namespace Name Mixin selector
      official i Lpq;i()J
      intermediary method_36045 Lnet/minecraft/class_4516;method_36045()J
      named getTick Lnet/minecraft/test/TestContext;getTick()J
    • getTestBox

      private Box getTestBox()
      Mappings:
      Namespace Name Mixin selector
      official k Lpq;k()Leed;
      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

      private Box getRelativeTestBox()
      Mappings:
      Namespace Name Mixin selector
      official l Lpq;l()Leed;
      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

      public void forEachRelativePos(Consumer<BlockPos> posConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;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

      public void forEachRemainingTick(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official e Lpq;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
    • useStackOnBlock

      public void useStackOnBlock(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lpq;a(Lbyo;Lcfz;Lgu;Lha;)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
      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