Class TestContext

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

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

    • test

      private final GameTestState test
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a:Loj;
      intermediary field_20558 Lnet/minecraft/class_4516;field_20558:Lnet/minecraft/class_4517;
      named test Lnet/minecraft/test/TestContext;test:Lnet/minecraft/test/GameTestState;
    • hasFinalClause

      private boolean hasFinalClause
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b:Z
      intermediary field_33146 Lnet/minecraft/class_4516;field_33146:Z
      named hasFinalClause Lnet/minecraft/test/TestContext;hasFinalClause:Z
  • Constructor Details

    • TestContext

      public TestContext(GameTestState test)
      Mappings:
      Namespace Name Mixin selector
      official <init> Loi;<init>(Loj;)V
      intermediary <init> Lnet/minecraft/class_4516;<init>(Lnet/minecraft/class_4517;)V
      named <init> Lnet/minecraft/test/TestContext;<init>(Lnet/minecraft/test/GameTestState;)V
  • Method Details

    • getWorld

      public ServerWorld getWorld()
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a()Lagg;
      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 Loi;a(Lgt;)Lcvo;
      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 Loi;b(Lgt;)Lcti;
      intermediary method_36014 Lnet/minecraft/class_4516;method_36014(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
      named getBlockEntity Lnet/minecraft/test/TestContext;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • killAllEntities

      public void killAllEntities()
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b()V
      intermediary method_36001 Lnet/minecraft/class_4516;method_36001()V
      named killAllEntities Lnet/minecraft/test/TestContext;killAllEntities()V
    • spawnItem

      public ItemEntity spawnItem(Item item, float x, float y, float z)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lcat;FFF)Lbqv;
      intermediary method_35968 Lnet/minecraft/class_4516;method_35968(Lnet/minecraft/class_1792;FFF)Lnet/minecraft/class_1542;
      named spawnItem Lnet/minecraft/test/TestContext;spawnItem(Lnet/minecraft/item/Item;FFF)Lnet/minecraft/entity/ItemEntity;
    • spawnEntity

      public <E extends Entity> E spawnEntity(EntityType<E> type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbbr;Lgt;)Lbbn;
      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 Loi;a(Lbbr;Ldwq;)Lbbn;
      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 Loi;a(Lbbr;III)Lbbn;
      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 Loi;a(Lbbr;FFF)Lbbn;
      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 Loi;b(Lbbr;Lgt;)Lbce;
      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 Loi;b(Lbbr;III)Lbce;
      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 Loi;b(Lbbr;Ldwq;)Lbce;
      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 Loi;b(Lbbr;FFF)Lbce;
      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 Loi;a(Lbce;Lgt;F)Lon;
      intermediary method_35967 Lnet/minecraft/class_4516;method_35967(Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;F)Lnet/minecraft/class_4693;
      named startMovingTowards Lnet/minecraft/test/TestContext;startMovingTowards(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/BlockPos;F)Lnet/minecraft/test/TimedTaskRunner;
    • pushButton

      public void pushButton(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(III)V
      intermediary method_35945 Lnet/minecraft/class_4516;method_35945(III)V
      named pushButton Lnet/minecraft/test/TestContext;pushButton(III)V
    • pushButton

      public void pushButton(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c(Lgt;)V
      intermediary method_36026 Lnet/minecraft/class_4516;method_36026(Lnet/minecraft/class_2338;)V
      named pushButton Lnet/minecraft/test/TestContext;pushButton(Lnet/minecraft/util/math/BlockPos;)V
    • useBlock

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

      public LivingEntity drown(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbcc;)Lbcc;
      intermediary method_35966 Lnet/minecraft/class_4516;method_35966(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
      named drown Lnet/minecraft/test/TestContext;drown(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/LivingEntity;
    • createMockPlayer

      public PlayerEntity createMockPlayer()
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c()Lbuc;
      intermediary method_36021 Lnet/minecraft/class_4516;method_36021()Lnet/minecraft/class_1657;
      named createMockPlayer Lnet/minecraft/test/TestContext;createMockPlayer()Lnet/minecraft/entity/player/PlayerEntity;
    • toggleLever

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

      public void toggleLever(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official e Loi;e(Lgt;)V
      intermediary method_36039 Lnet/minecraft/class_4516;method_36039(Lnet/minecraft/class_2338;)V
      named toggleLever Lnet/minecraft/test/TestContext;toggleLever(Lnet/minecraft/util/math/BlockPos;)V
    • putAndRemoveRedstoneBlock

      public void putAndRemoveRedstoneBlock(BlockPos pos, long delay)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;J)V
      intermediary method_35981 Lnet/minecraft/class_4516;method_35981(Lnet/minecraft/class_2338;J)V
      named putAndRemoveRedstoneBlock Lnet/minecraft/test/TestContext;putAndRemoveRedstoneBlock(Lnet/minecraft/util/math/BlockPos;J)V
    • removeBlock

      public void removeBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official f Loi;f(Lgt;)V
      intermediary method_36044 Lnet/minecraft/class_4516;method_36044(Lnet/minecraft/class_2338;)V
      named removeBlock Lnet/minecraft/test/TestContext;removeBlock(Lnet/minecraft/util/math/BlockPos;)V
    • setBlockState

      public void setBlockState(int x, int y, int z, Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(IIILcjt;)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 Loi;a(IIILcvo;)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 Loi;a(Lgt;Lcjt;)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 Loi;a(Lgt;Lcvo;)V
      intermediary method_35986 Lnet/minecraft/class_4516;method_35986(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named setBlockState Lnet/minecraft/test/TestContext;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • useNightTime

      public void useNightTime()
      Mappings:
      Namespace Name Mixin selector
      official d Loi;d()V
      intermediary method_36030 Lnet/minecraft/class_4516;method_36030()V
      named useNightTime Lnet/minecraft/test/TestContext;useNightTime()V
    • setTime

      public void setTime(int timeOfDay)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(I)V
      intermediary method_35944 Lnet/minecraft/class_4516;method_35944(I)V
      named setTime Lnet/minecraft/test/TestContext;setTime(I)V
    • expectBlock

      public void expectBlock(Block block, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lcjt;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 Loi;a(Lcjt;Lgt;)V
      intermediary method_35972 Lnet/minecraft/class_4516;method_35972(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
      named expectBlock Lnet/minecraft/test/TestContext;expectBlock(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • dontExpectBlock

      public void dontExpectBlock(Block block, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Lcjt;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 Loi;b(Lcjt;Lgt;)V
      intermediary method_36012 Lnet/minecraft/class_4516;method_36012(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
      named dontExpectBlock Lnet/minecraft/test/TestContext;dontExpectBlock(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • expectBlockAtEnd

      public void expectBlockAtEnd(Block block, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c(Lcjt;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 Loi;c(Lcjt;Lgt;)V
      intermediary method_36025 Lnet/minecraft/class_4516;method_36025(Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
      named expectBlockAtEnd Lnet/minecraft/test/TestContext;expectBlockAtEnd(Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • checkBlock

      public void checkBlock(BlockPos pos, Predicate<Block> predicate, String errorMessage)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Ljava/util/function/Predicate;Ljava/lang/String;)V
      intermediary method_35991 Lnet/minecraft/class_4516;method_35991(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/lang/String;)V
      named checkBlock Lnet/minecraft/test/TestContext;checkBlock(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/lang/String;)V
    • checkBlock

      public void checkBlock(BlockPos pos, Predicate<Block> predicate, Supplier<String> errorMessageSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
      intermediary method_35992 Lnet/minecraft/class_4516;method_35992(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
      named checkBlock Lnet/minecraft/test/TestContext;checkBlock(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
    • expectBlockProperty

      public <T extends Comparable<T>> void expectBlockProperty(BlockPos pos, Property<T> property, T value)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Lcwr;Ljava/lang/Comparable;)V
      intermediary method_35987 Lnet/minecraft/class_4516;method_35987(Lnet/minecraft/class_2338;Lnet/minecraft/class_2769;Ljava/lang/Comparable;)V
      named expectBlockProperty Lnet/minecraft/test/TestContext;expectBlockProperty(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)V
    • checkBlockProperty

      public <T extends Comparable<T>> void checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Lcwr;Ljava/util/function/Predicate;Ljava/lang/String;)V
      intermediary method_35988 Lnet/minecraft/class_4516;method_35988(Lnet/minecraft/class_2338;Lnet/minecraft/class_2769;Ljava/util/function/Predicate;Ljava/lang/String;)V
      named checkBlockProperty Lnet/minecraft/test/TestContext;checkBlockProperty(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/Property;Ljava/util/function/Predicate;Ljava/lang/String;)V
    • checkBlockState

      public void checkBlockState(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Lgt;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
      intermediary method_36017 Lnet/minecraft/class_4516;method_36017(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
      named checkBlockState Lnet/minecraft/test/TestContext;checkBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Ljava/util/function/Supplier;)V
    • expectEntity

      public void expectEntity(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbbr;)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 Loi;c(Lbbr;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 Loi;c(Lbbr;Lgt;)V
      intermediary method_36023 Lnet/minecraft/class_4516;method_36023(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
      named expectEntityAt Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
    • expectEntitiesAround

      public void expectEntitiesAround(EntityType<?> type, BlockPos pos, int amount, double radius)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbbr;Lgt;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 Loi;a(Lbbr;Lgt;D)V
      intermediary method_35965 Lnet/minecraft/class_4516;method_35965(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;D)V
      named expectEntityAround Lnet/minecraft/test/TestContext;expectEntityAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;D)V
    • getEntitiesAround

      public <T extends Entity> List<T> getEntitiesAround(EntityType<T> type, BlockPos pos, double radius)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Lbbr;Lgt;D)Ljava/util/List;
      intermediary method_44335 Lnet/minecraft/class_4516;method_44335(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;D)Ljava/util/List;
      named getEntitiesAround Lnet/minecraft/test/TestContext;getEntitiesAround(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;D)Ljava/util/List;
    • expectEntityAt

      public void expectEntityAt(Entity entity, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbbn;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 Loi;a(Lbbn;Lgt;)V
      intermediary method_35955 Lnet/minecraft/class_4516;method_35955(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)V
      named expectEntityAt Lnet/minecraft/test/TestContext;expectEntityAt(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)V
    • expectItemsAt

      public void expectItemsAt(Item item, BlockPos pos, double radius, int amount)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lcat;Lgt;DI)V
      intermediary method_35970 Lnet/minecraft/class_4516;method_35970(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;DI)V
      named expectItemsAt Lnet/minecraft/test/TestContext;expectItemsAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;DI)V
    • expectItemAt

      public void expectItemAt(Item item, BlockPos pos, double radius)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lcat;Lgt;D)V
      intermediary method_35969 Lnet/minecraft/class_4516;method_35969(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;D)V
      named expectItemAt Lnet/minecraft/test/TestContext;expectItemAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;D)V
    • dontExpectItemAt

      public void dontExpectItemAt(Item item, BlockPos pos, double radius)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Lcat;Lgt;D)V
      intermediary method_42762 Lnet/minecraft/class_4516;method_42762(Lnet/minecraft/class_1792;Lnet/minecraft/class_2338;D)V
      named dontExpectItemAt Lnet/minecraft/test/TestContext;dontExpectItemAt(Lnet/minecraft/item/Item;Lnet/minecraft/util/math/BlockPos;D)V
    • dontExpectEntity

      public void dontExpectEntity(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Lbbr;)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 Loi;d(Lbbr;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 Loi;d(Lbbr;Lgt;)V
      intermediary method_36032 Lnet/minecraft/class_4516;method_36032(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
      named dontExpectEntityAt Lnet/minecraft/test/TestContext;dontExpectEntityAt(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
    • expectEntityToTouch

      public void expectEntityToTouch(EntityType<?> type, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbbr;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 Loi;b(Lbbr;DDD)V
      intermediary method_36005 Lnet/minecraft/class_4516;method_36005(Lnet/minecraft/class_1299;DDD)V
      named dontExpectEntityToTouch Lnet/minecraft/test/TestContext;dontExpectEntityToTouch(Lnet/minecraft/entity/EntityType;DDD)V
    • expectEntityWithData

      public <E extends Entity, T> void expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E,T> entityDataGetter, @Nullable T data)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Lbbr;Ljava/util/function/Function;Ljava/lang/Object;)V
      intermediary method_35982 Lnet/minecraft/class_4516;method_35982(Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Ljava/util/function/Function;Ljava/lang/Object;)V
      named expectEntityWithData Lnet/minecraft/test/TestContext;expectEntityWithData(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;Ljava/util/function/Function;Ljava/lang/Object;)V
    • expectEmptyContainer

      public void expectEmptyContainer(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official g Loi;g(Lgt;)V
      intermediary method_36047 Lnet/minecraft/class_4516;method_36047(Lnet/minecraft/class_2338;)V
      named expectEmptyContainer Lnet/minecraft/test/TestContext;expectEmptyContainer(Lnet/minecraft/util/math/BlockPos;)V
    • expectContainerWith

      public void expectContainerWith(BlockPos pos, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Lcat;)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 Loi;a(Ldkt;Lgt;)V
      intermediary method_35977 Lnet/minecraft/class_4516;method_35977(Lnet/minecraft/class_3341;Lnet/minecraft/class_2338;)V
      named expectSameStates Lnet/minecraft/test/TestContext;expectSameStates(Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockPos;)V
    • expectSameStates

      public void expectSameStates(BlockPos checkedPos, BlockPos correctStatePos)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lgt;Lgt;)V
      intermediary method_35990 Lnet/minecraft/class_4516;method_35990(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
      named expectSameStates Lnet/minecraft/test/TestContext;expectSameStates(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
    • expectContainerWith

      public void expectContainerWith(long delay, BlockPos pos, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(JLgt;Lcat;)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 Loi;a(JLgt;)V
      intermediary method_35949 Lnet/minecraft/class_4516;method_35949(JLnet/minecraft/class_2338;)V
      named expectEmptyContainer Lnet/minecraft/test/TestContext;expectEmptyContainer(JLnet/minecraft/util/math/BlockPos;)V
    • expectEntityWithDataEnd

      public <E extends Entity, T> void expectEntityWithDataEnd(BlockPos pos, EntityType<E> type, Function<E,T> entityDataGetter, T data)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Lgt;Lbbr;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 Loi;a(Lbbn;Ljava/util/function/Predicate;Ljava/lang/String;)V
      intermediary method_35958 Lnet/minecraft/class_4516;method_35958(Lnet/minecraft/class_1297;Ljava/util/function/Predicate;Ljava/lang/String;)V
      named testEntity Lnet/minecraft/test/TestContext;testEntity(Lnet/minecraft/entity/Entity;Ljava/util/function/Predicate;Ljava/lang/String;)V
    • testEntityProperty

      public <E extends Entity, T> void testEntityProperty(E entity, Function<E,T> propertyGetter, String propertyName, T expectedValue)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Lbbn;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 Loi;e(Lbbr;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 Loi;e(Lbbr;Lgt;)V
      intermediary method_36038 Lnet/minecraft/class_4516;method_36038(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
      named expectEntityAtEnd Lnet/minecraft/test/TestContext;expectEntityAtEnd(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
    • dontExpectEntityAtEnd

      public void dontExpectEntityAtEnd(EntityType<?> type, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official f Loi;f(Lbbr;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 Loi;f(Lbbr;Lgt;)V
      intermediary method_36043 Lnet/minecraft/class_4516;method_36043(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;)V
      named dontExpectEntityAtEnd Lnet/minecraft/test/TestContext;dontExpectEntityAtEnd(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;)V
    • complete

      public void complete()
      Mappings:
      Namespace Name Mixin selector
      official e Loi;e()V
      intermediary method_36036 Lnet/minecraft/class_4516;method_36036()V
      named complete Lnet/minecraft/test/TestContext;complete()V
    • markFinalCause

      private void markFinalCause()
      Mappings:
      Namespace Name Mixin selector
      official h Loi;h()V
      intermediary method_36048 Lnet/minecraft/class_4516;method_36048()V
      named markFinalCause Lnet/minecraft/test/TestContext;markFinalCause()V
    • addFinalTask

      public void addFinalTask(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Ljava/lang/Runnable;)V
      intermediary method_35993 Lnet/minecraft/class_4516;method_35993(Ljava/lang/Runnable;)V
      named addFinalTask Lnet/minecraft/test/TestContext;addFinalTask(Ljava/lang/Runnable;)V
    • addInstantFinalTask

      public void addInstantFinalTask(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(Ljava/lang/Runnable;)V
      intermediary method_36018 Lnet/minecraft/class_4516;method_36018(Ljava/lang/Runnable;)V
      named addInstantFinalTask Lnet/minecraft/test/TestContext;addInstantFinalTask(Ljava/lang/Runnable;)V
    • addFinalTaskWithDuration

      public void addFinalTaskWithDuration(int duration, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(ILjava/lang/Runnable;)V
      intermediary method_35948 Lnet/minecraft/class_4516;method_35948(ILjava/lang/Runnable;)V
      named addFinalTaskWithDuration Lnet/minecraft/test/TestContext;addFinalTaskWithDuration(ILjava/lang/Runnable;)V
    • runAtTick

      public void runAtTick(long tick, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(JLjava/lang/Runnable;)V
      intermediary method_35951 Lnet/minecraft/class_4516;method_35951(JLjava/lang/Runnable;)V
      named runAtTick Lnet/minecraft/test/TestContext;runAtTick(JLjava/lang/Runnable;)V
    • waitAndRun

      public void waitAndRun(long ticks, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(JLjava/lang/Runnable;)V
      intermediary method_36003 Lnet/minecraft/class_4516;method_36003(JLjava/lang/Runnable;)V
      named waitAndRun Lnet/minecraft/test/TestContext;waitAndRun(JLjava/lang/Runnable;)V
    • forceRandomTick

      public void forceRandomTick(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official h Loi;h(Lgt;)V
      intermediary method_36050 Lnet/minecraft/class_4516;method_36050(Lnet/minecraft/class_2338;)V
      named forceRandomTick Lnet/minecraft/test/TestContext;forceRandomTick(Lnet/minecraft/util/math/BlockPos;)V
    • getRelativeTopY

      public int getRelativeTopY(Heightmap.Type heightmap, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Ldar$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 Loi;a(Ljava/lang/String;Lgt;)V
      intermediary method_35997 Lnet/minecraft/class_4516;method_35997(Ljava/lang/String;Lnet/minecraft/class_2338;)V
      named throwPositionedException Lnet/minecraft/test/TestContext;throwPositionedException(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)V
    • throwPositionedException

      public void throwPositionedException(String message, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Ljava/lang/String;Lbbn;)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 Loi;a(Ljava/lang/String;)V
      intermediary method_35995 Lnet/minecraft/class_4516;method_35995(Ljava/lang/String;)V
      named throwGameTestException Lnet/minecraft/test/TestContext;throwGameTestException(Ljava/lang/String;)V
    • addTask

      public void addTask(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c(Ljava/lang/Runnable;)V
      intermediary method_36028 Lnet/minecraft/class_4516;method_36028(Ljava/lang/Runnable;)V
      named addTask Lnet/minecraft/test/TestContext;addTask(Ljava/lang/Runnable;)V
    • runAtEveryTick

      public void runAtEveryTick(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official d Loi;d(Ljava/lang/Runnable;)V
      intermediary method_36035 Lnet/minecraft/class_4516;method_36035(Ljava/lang/Runnable;)V
      named runAtEveryTick Lnet/minecraft/test/TestContext;runAtEveryTick(Ljava/lang/Runnable;)V
    • createTimedTaskRunner

      public TimedTaskRunner createTimedTaskRunner()
      Mappings:
      Namespace Name Mixin selector
      official f Loi;f()Lon;
      intermediary method_36041 Lnet/minecraft/class_4516;method_36041()Lnet/minecraft/class_4693;
      named createTimedTaskRunner Lnet/minecraft/test/TestContext;createTimedTaskRunner()Lnet/minecraft/test/TimedTaskRunner;
    • getAbsolutePos

      public BlockPos getAbsolutePos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official i Loi;i(Lgt;)Lgt;
      intermediary method_36052 Lnet/minecraft/class_4516;method_36052(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named getAbsolutePos Lnet/minecraft/test/TestContext;getAbsolutePos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • getRelativePos

      public BlockPos getRelativePos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official j Loi;j(Lgt;)Lgt;
      intermediary method_36054 Lnet/minecraft/class_4516;method_36054(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named getRelativePos Lnet/minecraft/test/TestContext;getRelativePos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • getAbsolute

      public Vec3d getAbsolute(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(Ldwq;)Ldwq;
      intermediary method_35978 Lnet/minecraft/class_4516;method_35978(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named getAbsolute Lnet/minecraft/test/TestContext;getAbsolute(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • getTick

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

      private Box getTestBox()
      Mappings:
      Namespace Name Mixin selector
      official i Loi;i()Ldwl;
      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 j Loi;j()Ldwl;
      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 Loi;a(Ljava/util/function/Consumer;)V
      intermediary method_35998 Lnet/minecraft/class_4516;method_35998(Ljava/util/function/Consumer;)V
      named forEachRelativePos Lnet/minecraft/test/TestContext;forEachRelativePos(Ljava/util/function/Consumer;)V
    • forEachRemainingTick

      public void forEachRemainingTick(Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official e Loi;e(Ljava/lang/Runnable;)V
      intermediary method_36040 Lnet/minecraft/class_4516;method_36040(Ljava/lang/Runnable;)V
      named forEachRemainingTick Lnet/minecraft/test/TestContext;forEachRemainingTick(Ljava/lang/Runnable;)V