diff --git a/mappings/net/minecraft/BlockEntityProvider.mapping b/mappings/net/minecraft/BlockEntityProvider.mapping new file mode 100644 index 0000000000..21bfb782b0 --- /dev/null +++ b/mappings/net/minecraft/BlockEntityProvider.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_0_206 net/minecraft/BlockEntityProvider + METHOD method_10123 createBlockEntity (Lnet/minecraft/class_1937;I)Lnet/minecraft/class_2586; diff --git a/mappings/net/minecraft/block/Block.mapping b/mappings/net/minecraft/block/Block.mapping index a057cc6b96..cd7e7717e6 100644 --- a/mappings/net/minecraft/block/Block.mapping +++ b/mappings/net/minecraft/block/Block.mapping @@ -306,6 +306,7 @@ CLASS net/minecraft/class_2248 net/minecraft/block/Block ARG 6 maxX ARG 8 maxY ARG 10 maxZ + METHOD method_9542 hasRandomTicks ()Z METHOD method_9542 hasRandomTicks (Lnet/minecraft/class_2680;)Z ARG 1 state METHOD method_9543 hasDynamicBounds ()Z diff --git a/mappings/net/minecraft/world/WorldView.mapping b/mappings/net/minecraft/world/WorldView.mapping index 2866b5918a..15d35f965b 100644 --- a/mappings/net/minecraft/world/WorldView.mapping +++ b/mappings/net/minecraft/world/WorldView.mapping @@ -1,3 +1,12 @@ +CLASS net/minecraft/class_0_105 net/minecraft/world/WorldView + METHOD method_0_481 getBiome (Lnet/minecraft/class_2338;)Lnet/minecraft/class_1959; + METHOD method_0_484 getBlockState (Lnet/minecraft/class_2338;)Lnet/minecraft/class_0_378; + ARG 1 pos + METHOD method_8321 getBlockEntity (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586; + ARG 1 pos + METHOD method_8527 getGeneratorType ()Lnet/minecraft/class_1942; + METHOD method_8623 isAir (Lnet/minecraft/class_2338;)Z + ARG 1 pos CLASS net/minecraft/class_4538 net/minecraft/world/WorldView COMMENT Represents a scoped, read-only view of a world like structure that contains biomes, chunks and is bound to a dimension. METHOD method_22339 getLightLevel (Lnet/minecraft/class_2338;)I diff --git a/mappings/net/minecraft/world/chunk/ChunkSection.mapping b/mappings/net/minecraft/world/chunk/ChunkSection.mapping index babf6b895f..a1203705e8 100644 --- a/mappings/net/minecraft/world/chunk/ChunkSection.mapping +++ b/mappings/net/minecraft/world/chunk/ChunkSection.mapping @@ -1,8 +1,10 @@ CLASS net/minecraft/class_2826 net/minecraft/world/chunk/ChunkSection + FIELD field_12877 nonEmptyBlockCount I FIELD field_12877 nonEmptyBlockCount S FIELD field_12878 blockStateContainer Lnet/minecraft/class_2841; FIELD field_12879 PALETTE Lnet/minecraft/class_2837; FIELD field_12880 yOffset I + FIELD field_12881 randomTickableBlockCount I FIELD field_12881 nonEmptyFluidCount S FIELD field_12882 randomTickableBlockCount S FIELD field_34556 biomeContainer Lnet/minecraft/class_2841; @@ -14,7 +16,13 @@ CLASS net/minecraft/class_2826 net/minecraft/world/chunk/ChunkSection ARG 1 chunkPos ARG 2 blockStateContainer ARG 3 biomeContainer + METHOD method_0_1426 getBlock (III)Lnet/minecraft/class_2248; + ARG 1 x + ARG 2 y + ARG 3 z + METHOD method_0_1429 getFluidState (III)I METHOD method_12253 calculateCounts ()V + METHOD method_12254 getBlockState (III)Lnet/minecraft/class_0_378; METHOD method_12254 getBlockState (III)Lnet/minecraft/class_2680; ARG 1 x ARG 2 y @@ -23,6 +31,11 @@ CLASS net/minecraft/class_2826 net/minecraft/world/chunk/ChunkSection ARG 1 x ARG 2 y ARG 3 z + METHOD method_12256 setBlockState (IIILnet/minecraft/class_0_378;)V + ARG 1 x + ARG 2 y + ARG 3 z + ARG 4 state METHOD method_12256 setBlockState (IIILnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680; ARG 1 x ARG 2 y diff --git a/mappings/net/minecraft/world/chunk/WorldChunk.mapping b/mappings/net/minecraft/world/chunk/WorldChunk.mapping index ad2282999c..5c52fe0d1d 100644 --- a/mappings/net/minecraft/world/chunk/WorldChunk.mapping +++ b/mappings/net/minecraft/world/chunk/WorldChunk.mapping @@ -6,7 +6,7 @@ CLASS net/minecraft/class_2818 net/minecraft/world/chunk/WorldChunk FIELD field_12838 structureStarts Ljava/util/Map; FIELD field_12839 LOGGER Lorg/apache/logging/log4j/Logger; FIELD field_12839 LOGGER Lorg/slf4j/Logger; - FIELD field_12840 sections [Lnet/minecraft/class_2826; + FIELD field_12840 sectionArray [Lnet/minecraft/class_2826; FIELD field_12841 blockTickScheduler Lnet/minecraft/class_1951; FIELD field_12842 biomeArray [Lnet/minecraft/class_1959; FIELD field_12843 inhabitedTime J @@ -49,6 +49,25 @@ CLASS net/minecraft/class_2818 net/minecraft/world/chunk/WorldChunk ARG 1 world ARG 2 protoChunk ARG 3 entityLoader + METHOD method_0_1350 getBlock (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2248; + ARG 1 pos + METHOD method_0_1376 getFluidState (Lnet/minecraft/class_2338;)I + ARG 1 pos + METHOD method_0_1389 getBlock (III)Lnet/minecraft/class_2248; + ARG 1 x + ARG 2 y + ARG 3 z + METHOD method_0_1392 getHighestNonEmptySectionYOffset ()I + METHOD method_0_1393 getFluidState (III)I + ARG 1 x + ARG 2 y + ARG 3 z + METHOD method_0_1394 getBlockState (Lnet/minecraft/class_2338;)Lnet/minecraft/class_0_378; + ARG 1 pos + METHOD method_12006 getSectionArray ()[Lnet/minecraft/class_2826; + METHOD method_12010 setBlockState (Lnet/minecraft/class_2338;Lnet/minecraft/class_0_378;)Lnet/minecraft/class_0_378; + ARG 1 pos + ARG 2 state METHOD method_12023 getLightingProvider ()Lnet/minecraft/class_3568; METHOD method_12200 getWorld ()Lnet/minecraft/class_1937; METHOD method_12201 getBlockEntity (Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586; diff --git a/mappings/net/minecraft/world/gen/chunk/DebugChunkGenerator.mapping b/mappings/net/minecraft/world/gen/chunk/DebugChunkGenerator.mapping index 2521477cd4..796dbf2db7 100644 --- a/mappings/net/minecraft/world/gen/chunk/DebugChunkGenerator.mapping +++ b/mappings/net/minecraft/world/gen/chunk/DebugChunkGenerator.mapping @@ -9,6 +9,7 @@ CLASS net/minecraft/class_2891 net/minecraft/world/gen/chunk/DebugChunkGenerator FIELD field_26747 biomeRegistry Lnet/minecraft/class_2378; METHOD (Lnet/minecraft/class_6880$class_6883;)V ARG 1 biomeEntry + METHOD method_12578 getBlockState (II)Lnet/minecraft/class_0_378; METHOD method_12578 getBlockState (II)Lnet/minecraft/class_2680; ARG 0 x ARG 1 z