Interface TestableWorld

All Known Subinterfaces:
ModifiableTestableWorld, RegistryWorldView, ServerWorldAccess, StructureWorldAccess, WorldAccess
All Known Implementing Classes:
ChunkRegion, ClientWorld, ServerWorld, World

public interface TestableWorld
Mappings:
Namespace Name
official cqb
intermediary net/minecraft/class_3746
named net/minecraft/world/TestableWorld
  • Method Details

    • testBlockState

      boolean testBlockState(BlockPos pos, Predicate<BlockState> state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcqb;a(Lgw;Ljava/util/function/Predicate;)Z
      intermediary method_16358 Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
      named testBlockState Lnet/minecraft/world/TestableWorld;testBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
    • testFluidState

      boolean testFluidState(BlockPos pos, Predicate<FluidState> state)
      Mappings:
      Namespace Name Mixin selector
      official b Lcqb;b(Lgw;Ljava/util/function/Predicate;)Z
      intermediary method_35237 Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
      named testFluidState Lnet/minecraft/world/TestableWorld;testFluidState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
    • getBlockEntity

      <T extends BlockEntity> Optional<T> getBlockEntity(BlockPos pos, BlockEntityType<T> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lcqb;a(Lgw;Ldcx;)Ljava/util/Optional;
      intermediary method_35230 Lnet/minecraft/class_3746;method_35230(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;)Ljava/util/Optional;
      named getBlockEntity Lnet/minecraft/world/TestableWorld;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntityType;)Ljava/util/Optional;
    • getTopPosition

      BlockPos getTopPosition(Heightmap.Type heightmap, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcqb;a(Ldks$a;Lgw;)Lgw;
      intermediary method_8598 Lnet/minecraft/class_3746;method_8598(Lnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named getTopPosition Lnet/minecraft/world/TestableWorld;getTopPosition(Lnet/minecraft/world/Heightmap$Type;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;