Package net.minecraft.world
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 caj
intermediary net/minecraft/class_3746
named net/minecraft/world/TestableWorld
-
Method Summary
Modifier and TypeMethodDescription<T extends BlockEntity>
Optional<T>getBlockEntity
(BlockPos pos, BlockEntityType<T> type) getTopPosition
(Heightmap.Type heightmap, BlockPos pos) boolean
testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
testFluidState
(BlockPos pos, Predicate<FluidState> state)
-
Method Details
-
testBlockState
- Mappings:
Namespace Name Mixin selector official a
Lcaj;a(Lgh;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
- Mappings:
Namespace Name Mixin selector official b
Lcaj;b(Lgh;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
- Mappings:
Namespace Name Mixin selector official a
Lcaj;a(Lgh;Lcmb;)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
- Mappings:
Namespace Name Mixin selector official a
Lcaj;a(Lctc$a;Lgh;)Lgh;
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;
-