Interface TestableWorld

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

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

    • testBlockState

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

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

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

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