Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

25w02a VoxelShapes #4086

Merged
merged 2 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/AmethystClusterBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CLASS net/minecraft/class_5542 net/minecraft/block/AmethystClusterBlock
FIELD field_46255 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_46256 height F
FIELD field_55728 width F
FIELD field_55729 shapesByDirections Ljava/util/Map;
FIELD field_55729 shapesByDirection Ljava/util/Map;
METHOD <init> (FFLnet/minecraft/class_4970$class_2251;)V
ARG 1 height
ARG 2 width
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/AnvilBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CLASS net/minecraft/class_2199 net/minecraft/block/AnvilBlock
FIELD field_30993 FALLING_BLOCK_ENTITY_DAMAGE_MULTIPLIER F
FIELD field_30994 FALLING_BLOCK_ENTITY_MAX_DAMAGE I
FIELD field_46258 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55730 SHAPES_BY_AXES Ljava/util/Map;
FIELD field_55730 SHAPES_BY_AXIS Ljava/util/Map;
FIELD field_9883 FACING Lnet/minecraft/class_2754;
METHOD method_17453 (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
ARG 2 syncId
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/AttachedStemBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CLASS net/minecraft/class_2195 net/minecraft/block/AttachedStemBlock
FIELD field_46259 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_46260 stemBlock Lnet/minecraft/class_5321;
FIELD field_9873 FACING Lnet/minecraft/class_2754;
FIELD field_9874 FACING_TO_SHAPE Ljava/util/Map;
FIELD field_9874 SHAPES_BY_DIRECTION Ljava/util/Map;
FIELD field_9875 gourdBlock Lnet/minecraft/class_5321;
METHOD <init> (Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lnet/minecraft/class_4970$class_2251;)V
ARG 1 stemBlock
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/BedBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CLASS net/minecraft/class_2244 net/minecraft/block/BedBlock
FIELD field_46273 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55732 SHAPES_BY_AXES Ljava/util/Map;
FIELD field_55732 SHAPES_BY_DIRECTION Ljava/util/Map;
FIELD field_9966 color Lnet/minecraft/class_1767;
FIELD field_9967 PART Lnet/minecraft/class_2754;
FIELD field_9968 OCCUPIED Lnet/minecraft/class_2746;
Expand Down
4 changes: 3 additions & 1 deletion mappings/net/minecraft/block/BeetrootsBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
CLASS net/minecraft/class_2242 net/minecraft/block/BeetrootsBlock
FIELD field_31013 BEETROOTS_MAX_AGE I
FIELD field_46275 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_9961 AGE_TO_SHAPE [Lnet/minecraft/class_265;
FIELD field_9961 SHAPES_BY_AGE [Lnet/minecraft/class_265;
FIELD field_9962 AGE Lnet/minecraft/class_2758;
METHOD method_66390 (I)Lnet/minecraft/class_265;
ARG 0 age
5 changes: 4 additions & 1 deletion mappings/net/minecraft/block/BellBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ CLASS net/minecraft/class_3709 net/minecraft/block/BellBlock
FIELD field_16324 FACING Lnet/minecraft/class_2754;
FIELD field_16326 ATTACHMENT Lnet/minecraft/class_2754;
FIELD field_17089 BELL_SHAPE Lnet/minecraft/class_265;
FIELD field_17094 HANGING_SHAPE Lnet/minecraft/class_265;
FIELD field_17094 CEILING_SHAPE Lnet/minecraft/class_265;
FIELD field_20648 POWERED Lnet/minecraft/class_2746;
FIELD field_46276 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55733 SINGLE_WALL_SHAPES Ljava/util/Map;
FIELD field_55734 FLOOR_SHAPES Ljava/util/Map;
FIELD field_55735 DOUBLE_WALL_SHAPES Ljava/util/Map;
METHOD method_16115 getPlacementSide (Lnet/minecraft/class_2680;)Lnet/minecraft/class_2350;
ARG 0 state
METHOD method_16116 getShape (Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
Expand Down
8 changes: 5 additions & 3 deletions mappings/net/minecraft/block/BigDripleafBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ CLASS net/minecraft/class_5801 net/minecraft/block/BigDripleafBlock
FIELD field_28661 TILT Lnet/minecraft/class_2754;
FIELD field_28662 NEXT_TILT_DELAYS Lit/unimi/dsi/fastutil/objects/Object2IntMap;
FIELD field_46277 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55736 SHAPES_BY_TILTS Ljava/util/Map;
FIELD field_55737 shapeGetter Ljava/util/function/Function;
FIELD field_55736 SHAPES_BY_TILT Ljava/util/Map;
FIELD field_55737 shapeFunction Ljava/util/function/Function;
METHOD method_33601 playTiltSound (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;)V
ARG 0 world
ARG 1 pos
Expand Down Expand Up @@ -45,4 +45,6 @@ CLASS net/minecraft/class_5801 net/minecraft/block/BigDripleafBlock
ARG 3 direction
METHOD method_33727 canGrowInto (Lnet/minecraft/class_2680;)Z
ARG 0 state
METHOD method_66392 getShapeGetter ()Ljava/util/function/Function;
METHOD method_66391 (Ljava/util/Map;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 1 state
METHOD method_66392 createShapeFunction ()Ljava/util/function/Function;
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/BigDripleafStemBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CLASS net/minecraft/class_5802 net/minecraft/block/BigDripleafStemBlock
FIELD field_28667 WATERLOGGED Lnet/minecraft/class_2746;
FIELD field_46278 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55738 SHAPES_BY_DIRECTIONS Ljava/util/Map;
FIELD field_55738 SHAPES_BY_DIRECTION Ljava/util/Map;
METHOD method_33728 placeStemAt (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_2350;)Z
ARG 0 world
ARG 1 pos
Expand Down
50 changes: 49 additions & 1 deletion mappings/net/minecraft/block/Block.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ CLASS net/minecraft/class_2248 net/minecraft/block/Block
ARG 2 player
ARG 3 pos
ARG 4 state
METHOD method_33615 getShapesForStates (Ljava/util/function/Function;)Ljava/util/function/Function;
METHOD method_33615 createShapeFunction (Ljava/util/function/Function;)Ljava/util/function/Function;
ARG 1 stateToShape
METHOD method_34724 copyProperty (Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2769;)Lnet/minecraft/class_2680;
ARG 0 source
Expand Down Expand Up @@ -121,6 +121,54 @@ CLASS net/minecraft/class_2248 net/minecraft/block/Block
ARG 3 tool
COMMENT the tool used to break the block, or {@link ItemStack#EMPTY} for explosions
ARG 4 experience
METHOD method_66393 createCubeShape (D)Lnet/minecraft/class_265;
ARG 0 size
METHOD method_66394 createCuboidShape (DDD)Lnet/minecraft/class_265;
ARG 0 sizeX
ARG 2 sizeY
ARG 4 sizeZ
METHOD method_66395 createColumnShape (DDDD)Lnet/minecraft/class_265;
ARG 0 sizeX
ARG 2 sizeZ
ARG 4 minY
ARG 6 maxY
METHOD method_66396 createCuboidZShape (DDDDD)Lnet/minecraft/class_265;
ARG 0 sizeX
ARG 2 minY
ARG 4 maxY
ARG 6 minZ
ARG 8 maxZ
METHOD method_66397 createShapeArray (ILjava/util/function/IntFunction;)[Lnet/minecraft/class_265;
ARG 0 size
ARG 1 indexToShape
METHOD method_66399 applyValueToState (Lnet/minecraft/class_2688;Lnet/minecraft/class_2769;Ljava/lang/Object;)Lnet/minecraft/class_2688;
ARG 0 state
ARG 1 property
ARG 2 value
METHOD method_66400 (Lnet/minecraft/class_2769;)Ljava/lang/Object;
ARG 0 property
METHOD method_66401 (Ljava/util/Map;Lcom/google/common/collect/ImmutableMap;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 2 state
METHOD method_66402 (Ljava/util/Map;Lnet/minecraft/class_2680;)Z
ARG 1 state
METHOD method_66403 createShapeFunction (Ljava/util/function/Function;[Lnet/minecraft/class_2769;)Ljava/util/function/Function;
ARG 1 stateToShape
ARG 2 properties
METHOD method_66404 createColumnShape (DDD)Lnet/minecraft/class_265;
ARG 0 sizeXz
ARG 2 minY
ARG 4 maxY
METHOD method_66405 createCuboidZShape (DDDD)Lnet/minecraft/class_265;
ARG 0 sizeX
ARG 2 sizeY
ARG 4 minZ
ARG 6 maxZ
METHOD method_66407 (Lnet/minecraft/class_2769;)Lnet/minecraft/class_2769;
ARG 0 property
METHOD method_66408 createCuboidZShape (DDD)Lnet/minecraft/class_265;
ARG 0 sizeXy
ARG 2 minZ
ARG 4 maxZ
METHOD method_9496 randomDisplayTick (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
COMMENT Called randomly on the client. Blocks may override this to spawn particles.
COMMENT Unlike {@link AbstractBlock#randomTick} this is not affected by a game rule.
Expand Down
8 changes: 6 additions & 2 deletions mappings/net/minecraft/block/ButtonBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CLASS net/minecraft/class_2269 net/minecraft/block/ButtonBlock
FIELD field_40298 pressTicks I
FIELD field_42753 blockSetType Lnet/minecraft/class_8177;
FIELD field_46293 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55743 shapeGetter Ljava/util/function/Function;
FIELD field_55743 shapeFunction Ljava/util/function/Function;
METHOD <init> (Lnet/minecraft/class_8177;ILnet/minecraft/class_4970$class_2251;)V
ARG 1 blockSetType
ARG 2 pressTicks
Expand All @@ -19,10 +19,14 @@ CLASS net/minecraft/class_2269 net/minecraft/block/ButtonBlock
ARG 0 block
METHOD method_53985 (Lnet/minecraft/class_2269;)Lnet/minecraft/class_8177;
ARG 0 block
METHOD method_66419 getShapeGetter ()Ljava/util/function/Function;
METHOD method_66418 (Ljava/util/Map;Lnet/minecraft/class_265;Lnet/minecraft/class_265;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 3 state
METHOD method_66419 createShapeFunction ()Ljava/util/function/Function;
METHOD method_9712 getClickSound (Z)Lnet/minecraft/class_3414;
ARG 1 powered
METHOD method_9713 updateNeighbors (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
ARG 1 state
ARG 2 world
ARG 3 pos
METHOD method_9714 playClickSound (Lnet/minecraft/class_1657;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Z)V
ARG 1 player
Expand Down
4 changes: 3 additions & 1 deletion mappings/net/minecraft/block/CakeBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
CLASS net/minecraft/class_2272 net/minecraft/block/CakeBlock
FIELD field_10738 BITES_TO_SHAPE [Lnet/minecraft/class_265;
FIELD field_10738 SHAPES_BY_BITES [Lnet/minecraft/class_265;
FIELD field_10739 BITES Lnet/minecraft/class_2758;
FIELD field_27173 DEFAULT_COMPARATOR_OUTPUT I
FIELD field_31046 MAX_BITES I
FIELD field_46295 CODEC Lcom/mojang/serialization/MapCodec;
METHOD method_31627 getComparatorOutput (I)I
ARG 0 bites
METHOD method_66420 (I)Lnet/minecraft/class_265;
ARG 0 bites
METHOD method_9719 tryEat (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1269;
ARG 0 world
ARG 1 pos
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/CandleBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CLASS net/minecraft/class_5544 net/minecraft/block/CandleBlock
FIELD field_27178 CANDLES_TO_PARTICLE_OFFSETS Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
FIELD field_31051 MAX_CANDLE_AMOUNT I
FIELD field_46298 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55744 SHAPES_BY_CANDLES [Lnet/minecraft/class_265;
METHOD method_31628 (Lnet/minecraft/class_4970$class_4971;)Z
ARG 0 statex
METHOD method_31630 canBeLit (Lnet/minecraft/class_2680;)Z
Expand Down
4 changes: 3 additions & 1 deletion mappings/net/minecraft/block/CarrotsBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS net/minecraft/class_2271 net/minecraft/block/CarrotsBlock
FIELD field_10737 AGE_TO_SHAPE [Lnet/minecraft/class_265;
FIELD field_10737 SHAPES_BY_AGE [Lnet/minecraft/class_265;
FIELD field_46302 CODEC Lcom/mojang/serialization/MapCodec;
METHOD method_66422 (I)Lnet/minecraft/class_265;
ARG 0 age
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/ChainBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_5172 net/minecraft/block/ChainBlock
FIELD field_24411 WATERLOGGED Lnet/minecraft/class_2746;
FIELD field_46309 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55746 SHAPES_BY_AXES Ljava/util/Map;
FIELD field_55746 SHAPES_BY_AXIS Ljava/util/Map;
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/ChestBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CLASS net/minecraft/class_2281 net/minecraft/block/ChestBlock
FIELD field_17357 NAME_RETRIEVER Lnet/minecraft/class_4732$class_3923;
FIELD field_46311 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55747 SINGLE_SHAPE Lnet/minecraft/class_265;
FIELD field_55748 DOUBLE_SHAPES_BY_DIRECTIONS Ljava/util/Map;
FIELD field_55748 DOUBLE_SHAPES_BY_DIRECTION Ljava/util/Map;
METHOD <init> (Ljava/util/function/Supplier;Lnet/minecraft/class_4970$class_2251;)V
ARG 1 blockEntityTypeSupplier
ARG 2 settings
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/block/CocoaBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ CLASS net/minecraft/class_2282 net/minecraft/block/CocoaBlock
FIELD field_31061 MAX_AGE I
FIELD field_46315 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55749 SHAPES Ljava/util/List;
METHOD method_66424 (I)Ljava/util/Map;
ARG 0 age
4 changes: 3 additions & 1 deletion mappings/net/minecraft/block/ComposterBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CLASS net/minecraft/class_3962 net/minecraft/block/ComposterBlock
FIELD field_17565 LEVEL Lnet/minecraft/class_2758;
FIELD field_17566 ITEM_TO_LEVEL_INCREASE_CHANCE Lit/unimi/dsi/fastutil/objects/Object2FloatMap;
FIELD field_17568 LEVEL_TO_COLLISION_SHAPE [Lnet/minecraft/class_265;
FIELD field_17568 COLLISION_SHAPES_BY_LEVEL [Lnet/minecraft/class_265;
FIELD field_31071 NUM_LEVELS I
FIELD field_31072 MIN_LEVEL I
FIELD field_31073 MAX_LEVEL I
Expand Down Expand Up @@ -36,6 +36,8 @@ CLASS net/minecraft/class_3962 net/minecraft/block/ComposterBlock
ARG 1 state
ARG 2 world
ARG 3 pos
METHOD method_66425 (I)Lnet/minecraft/class_265;
ARG 0 level
CLASS class_3925 DummyInventory
CLASS class_3963 ComposterInventory
FIELD field_17569 state Lnet/minecraft/class_2680;
Expand Down
5 changes: 4 additions & 1 deletion mappings/net/minecraft/block/ConnectingBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ CLASS net/minecraft/class_2429 net/minecraft/block/ConnectingBlock
FIELD field_11331 SOUTH Lnet/minecraft/class_2746;
FIELD field_11332 NORTH Lnet/minecraft/class_2746;
FIELD field_11335 EAST Lnet/minecraft/class_2746;
FIELD field_55782 shapeFunction Ljava/util/function/Function;
METHOD <init> (FLnet/minecraft/class_4970$class_2251;)V
ARG 1 radius
ARG 2 settings
METHOD method_10370 generateFacingsToShapeMap (F)Ljava/util/function/Function;
METHOD method_10370 createShapeFunction (F)Ljava/util/function/Function;
ARG 1 radius
METHOD method_66457 (Lnet/minecraft/class_265;Ljava/util/Map;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 2 state
4 changes: 3 additions & 1 deletion mappings/net/minecraft/block/CropBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
CLASS net/minecraft/class_2302 net/minecraft/block/CropBlock
FIELD field_10835 AGE Lnet/minecraft/class_2758;
FIELD field_10836 AGE_TO_SHAPE [Lnet/minecraft/class_265;
FIELD field_10836 SHAPES_BY_AGE [Lnet/minecraft/class_265;
FIELD field_31079 MAX_AGE I
FIELD field_46329 CODEC Lcom/mojang/serialization/MapCodec;
METHOD method_52572 hasEnoughLightAt (Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
ARG 0 world
ARG 1 pos
METHOD method_66427 (I)Lnet/minecraft/class_265;
ARG 0 age
METHOD method_9824 getAgeProperty ()Lnet/minecraft/class_2758;
METHOD method_9825 isMature (Lnet/minecraft/class_2680;)Z
ARG 1 state
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/DeadCoralWallFanBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_2222 net/minecraft/block/DeadCoralWallFanBlock
FIELD field_46269 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_9933 FACING Lnet/minecraft/class_2754;
FIELD field_9934 FACING_TO_SHAPE Ljava/util/Map;
FIELD field_9934 SHAPES_BY_DIRECTION Ljava/util/Map;
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/DoorBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CLASS net/minecraft/class_2323 net/minecraft/block/DoorBlock
FIELD field_10946 HALF Lnet/minecraft/class_2754;
FIELD field_42757 blockSetType Lnet/minecraft/class_8177;
FIELD field_46337 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55753 SHAPES_BY_DIRECTION Ljava/util/Map;
METHOD <init> (Lnet/minecraft/class_8177;Lnet/minecraft/class_4970$class_2251;)V
ARG 1 type
ARG 2 settings
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/DoubleBlockProperties.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLASS net/minecraft/class_4732 net/minecraft/block/DoubleBlockProperties
ARG 0 blockEntityType
ARG 1 typeMapper
ARG 2 directionMapper
ARG 3 facingProperty
ARG 4 state
ARG 5 world
ARG 6 pos
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/block/EnderChestBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ CLASS net/minecraft/class_2336 net/minecraft/block/EnderChestBlock
FIELD field_10968 WATERLOGGED Lnet/minecraft/class_2746;
FIELD field_17363 CONTAINER_NAME Lnet/minecraft/class_2561;
FIELD field_46347 CODEC Lcom/mojang/serialization/MapCodec;
METHOD method_55773 (Lnet/minecraft/class_1730;ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
ARG 1 syncId
ARG 2 playerInventory
ARG 3 player
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/FenceBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CLASS net/minecraft/class_2354 net/minecraft/block/FenceBlock
FIELD field_11066 cullingShapes Ljava/util/function/Function;
FIELD field_11066 cullingShapeFunction Ljava/util/function/Function;
FIELD field_46350 CODEC Lcom/mojang/serialization/MapCodec;
METHOD method_10184 canConnect (Lnet/minecraft/class_2680;ZLnet/minecraft/class_2350;)Z
ARG 1 state
Expand Down
10 changes: 10 additions & 0 deletions mappings/net/minecraft/block/FenceGateBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ CLASS net/minecraft/class_2349 net/minecraft/block/FenceGateBlock
FIELD field_11026 OPEN Lnet/minecraft/class_2746;
FIELD field_42758 type Lnet/minecraft/class_4719;
FIELD field_46351 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55754 REGULAR_CULLING_SHAPES Ljava/util/Map;
FIELD field_55755 IN_WALL_CULLING_SHAPES Ljava/util/Map;
FIELD field_55756 REGULAR_OUTLINE_SHAPES Ljava/util/Map;
FIELD field_55757 IN_WALL_OUTLINE_SHAPES Ljava/util/Map;
FIELD field_55758 CLOSED_COLLISION_SHAPES Ljava/util/Map;
FIELD field_55759 CLOSED_SIDES_SHAPES Ljava/util/Map;
METHOD <init> (Lnet/minecraft/class_4719;Lnet/minecraft/class_4970$class_2251;)V
ARG 1 type
ARG 2 settings
Expand All @@ -16,3 +22,7 @@ CLASS net/minecraft/class_2349 net/minecraft/block/FenceGateBlock
ARG 0 instance
METHOD method_54014 (Lnet/minecraft/class_2349;)Lnet/minecraft/class_4719;
ARG 0 block
METHOD method_66429 (Lnet/minecraft/class_265;)Lnet/minecraft/class_265;
ARG 0 shape
METHOD method_66430 (Lnet/minecraft/class_265;)Lnet/minecraft/class_265;
ARG 0 shape
6 changes: 4 additions & 2 deletions mappings/net/minecraft/block/FireBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CLASS net/minecraft/class_2358 net/minecraft/block/FireBlock
FIELD field_11095 burnChances Lit/unimi/dsi/fastutil/objects/Object2IntMap;
FIELD field_11096 NORTH Lnet/minecraft/class_2746;
FIELD field_46352 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55760 shapeGetter Ljava/util/function/Function;
FIELD field_55760 shapeFunction Ljava/util/function/Function;
METHOD method_10189 registerFlammableBlock (Lnet/minecraft/class_2248;II)V
ARG 1 block
ARG 2 burnChance
Expand Down Expand Up @@ -45,4 +45,6 @@ CLASS net/minecraft/class_2358 net/minecraft/block/FireBlock
ARG 3 age
METHOD method_26155 getFireTickDelay (Lnet/minecraft/class_5819;)I
ARG 0 random
METHOD method_66432 getShapeGetter ()Ljava/util/function/Function;
METHOD method_66431 (Ljava/util/Map;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 1 state
METHOD method_66432 createShapeFunction ()Ljava/util/function/Function;
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/FlowerbedBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ CLASS net/minecraft/class_10594 net/minecraft/block/FlowerbedBlock
FIELD field_55762 HORIZONTAL_FACING Lnet/minecraft/class_2754;
FIELD field_55763 FLOWER_AMOUNT Lnet/minecraft/class_2758;
FIELD field_55764 shapeFunction Ljava/util/function/Function;
METHOD method_66435 buildShapeFunction ()Ljava/util/function/Function;
METHOD method_66435 createShapeFunction ()Ljava/util/function/Function;
5 changes: 5 additions & 0 deletions mappings/net/minecraft/block/GrindstoneBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
CLASS net/minecraft/class_3713 net/minecraft/block/GrindstoneBlock
FIELD field_17364 TITLE Lnet/minecraft/class_2561;
FIELD field_46365 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55765 shapeFunction Ljava/util/function/Function;
METHOD method_16119 getShape (Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 1 state
METHOD method_17469 (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
ARG 2 syncId
ARG 3 inventory
ARG 4 player
METHOD method_66436 (Ljava/util/Map;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 1 state
METHOD method_66437 createShapeFunction ()Ljava/util/function/Function;
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/HangingSignBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLASS net/minecraft/class_7713 net/minecraft/block/HangingSignBlock
FIELD field_40301 ATTACHED Lnet/minecraft/class_2746;
FIELD field_40303 DEFAULT_SHAPE Lnet/minecraft/class_265;
FIELD field_46308 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55745 SHAPES_BY_ROTATION Ljava/util/Map;
METHOD method_50002 shouldTryAttaching (Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;Lnet/minecraft/class_2625;Lnet/minecraft/class_1799;)Z
ARG 1 player
ARG 2 hitResult
Expand Down
6 changes: 6 additions & 0 deletions mappings/net/minecraft/block/HopperBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ CLASS net/minecraft/class_2377 net/minecraft/block/HopperBlock
FIELD field_11126 ENABLED Lnet/minecraft/class_2746;
FIELD field_11129 FACING Lnet/minecraft/class_2754;
FIELD field_46370 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_55766 shapeFunction Ljava/util/function/Function;
FIELD field_55767 shapesByDirection Ljava/util/Map;
METHOD method_10217 updateEnabled (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 1 world
ARG 2 pos
ARG 3 state
METHOD method_66438 (Lnet/minecraft/class_265;Ljava/util/Map;Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
ARG 2 state
METHOD method_66439 createShapeFunction (Lnet/minecraft/class_265;)Ljava/util/function/Function;
ARG 1 shape
Loading