Skip to content

Commit e82cc18

Browse files
committed
Fixes
1 parent 9436970 commit e82cc18

16 files changed

Lines changed: 35 additions & 13 deletions

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/data/bedrock/BedrockDataFiles.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ private function __construct(){
5252
public const BLOCK_ID_TO_ITEM_ID_MAP_1_21_93_JSON = BEDROCK_DATA_PATH . '/block_id_to_item_id_map-1.21.93.json';
5353
public const BLOCK_ID_TO_ITEM_ID_MAP_1_26_0_JSON = BEDROCK_DATA_PATH . '/block_id_to_item_id_map-1.26.0.json';
5454
public const BLOCK_ID_TO_ITEM_ID_MAP_1_26_10_JSON = BEDROCK_DATA_PATH . '/block_id_to_item_id_map-1.26.10.json';
55+
public const BLOCK_ID_TO_ITEM_ID_MAP_1_26_20_JSON = BEDROCK_DATA_PATH . '/block_id_to_item_id_map-1.26.20.json';
5556
public const BLOCK_ID_TO_ITEM_ID_MAP_JSON = BEDROCK_DATA_PATH . '/block_id_to_item_id_map.json';
5657
public const BLOCK_PROPERTIES_TABLE_JSON = BEDROCK_DATA_PATH . '/block_properties_table.json';
5758
public const BLOCK_STATE_META_MAP_1_20_0_JSON = BEDROCK_DATA_PATH . '/block_state_meta_map-1.20.0.json';
@@ -73,6 +74,7 @@ private function __construct(){
7374
public const BLOCK_STATE_META_MAP_1_21_93_JSON = BEDROCK_DATA_PATH . '/block_state_meta_map-1.21.93.json';
7475
public const BLOCK_STATE_META_MAP_1_26_0_JSON = BEDROCK_DATA_PATH . '/block_state_meta_map-1.26.0.json';
7576
public const BLOCK_STATE_META_MAP_1_26_10_JSON = BEDROCK_DATA_PATH . '/block_state_meta_map-1.26.10.json';
77+
public const BLOCK_STATE_META_MAP_1_26_20_JSON = BEDROCK_DATA_PATH . '/block_state_meta_map-1.26.20.json';
7678
public const BLOCK_STATE_META_MAP_JSON = BEDROCK_DATA_PATH . '/block_state_meta_map.json';
7779
public const CANONICAL_BLOCK_STATES_1_20_0_NBT = BEDROCK_DATA_PATH . '/canonical_block_states-1.20.0.nbt';
7880
public const CANONICAL_BLOCK_STATES_1_20_10_NBT = BEDROCK_DATA_PATH . '/canonical_block_states-1.20.10.nbt';
@@ -93,6 +95,7 @@ private function __construct(){
9395
public const CANONICAL_BLOCK_STATES_1_21_93_NBT = BEDROCK_DATA_PATH . '/canonical_block_states-1.21.93.nbt';
9496
public const CANONICAL_BLOCK_STATES_1_26_0_NBT = BEDROCK_DATA_PATH . '/canonical_block_states-1.26.0.nbt';
9597
public const CANONICAL_BLOCK_STATES_1_26_10_NBT = BEDROCK_DATA_PATH . '/canonical_block_states-1.26.10.nbt';
98+
public const CANONICAL_BLOCK_STATES_1_26_20_NBT = BEDROCK_DATA_PATH . '/canonical_block_states-1.26.20.nbt';
9699
public const CANONICAL_BLOCK_STATES_NBT = BEDROCK_DATA_PATH . '/canonical_block_states.nbt';
97100
public const COMMAND_ARG_TYPES_JSON = BEDROCK_DATA_PATH . '/command_arg_types.json';
98101
public const CREATIVE = BEDROCK_DATA_PATH . '/creative';
@@ -143,5 +146,6 @@ private function __construct(){
143146
public const REQUIRED_ITEM_LIST_1_21_93_JSON = BEDROCK_DATA_PATH . '/required_item_list-1.21.93.json';
144147
public const REQUIRED_ITEM_LIST_1_26_0_JSON = BEDROCK_DATA_PATH . '/required_item_list-1.26.0.json';
145148
public const REQUIRED_ITEM_LIST_1_26_10_JSON = BEDROCK_DATA_PATH . '/required_item_list-1.26.10.json';
149+
public const REQUIRED_ITEM_LIST_1_26_20_JSON = BEDROCK_DATA_PATH . '/required_item_list-1.26.20.json';
146150
public const REQUIRED_ITEM_LIST_JSON = BEDROCK_DATA_PATH . '/required_item_list.json';
147151
}

generated/data/bedrock/BiomeIds.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,5 @@ private function __construct(){
123123
public const MANGROVE_SWAMP = 191;
124124
public const CHERRY_GROVE = 192;
125125
public const PALE_GARDEN = 193;
126+
public const SULFUR_CAVES = 194;
126127
}

generated/data/bedrock/block/BlockStateNames.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ private function __construct(){
108108
public const PERSISTENT_BIT = "persistent_bit";
109109
public const PILLAR_AXIS = "pillar_axis";
110110
public const PORTAL_AXIS = "portal_axis";
111+
public const POTENT_SULFUR_STATE = "potent_sulfur_state";
111112
public const POWERED_BIT = "powered_bit";
112113
public const POWERED_SHELF_TYPE = "powered_shelf_type";
113114
public const PROPAGULE_STAGE = "propagule_stage";

generated/data/bedrock/block/BlockStateStringValues.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ private function __construct(){
134134
public const PORTAL_AXIS_X = "x";
135135
public const PORTAL_AXIS_Z = "z";
136136

137+
public const POTENT_SULFUR_STATE_CONTINUOUS = "continuous";
138+
public const POTENT_SULFUR_STATE_DORMANT = "dormant";
139+
public const POTENT_SULFUR_STATE_DRY = "dry";
140+
public const POTENT_SULFUR_STATE_ERUPTING = "erupting";
141+
public const POTENT_SULFUR_STATE_WET = "wet";
142+
137143
public const SEA_GRASS_TYPE_DEFAULT = "default";
138144
public const SEA_GRASS_TYPE_DOUBLE_BOT = "double_bot";
139145
public const SEA_GRASS_TYPE_DOUBLE_TOP = "double_top";

generated/data/bedrock/block/BlockTypeNames.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,7 @@ private function __construct(){
12031203
public const SULFUR_BRICKS = "minecraft:sulfur_bricks";
12041204
public const SULFUR_DOUBLE_SLAB = "minecraft:sulfur_double_slab";
12051205
public const SULFUR_SLAB = "minecraft:sulfur_slab";
1206+
public const SULFUR_SPIKE = "minecraft:sulfur_spike";
12061207
public const SULFUR_STAIRS = "minecraft:sulfur_stairs";
12071208
public const SULFUR_WALL = "minecraft:sulfur_wall";
12081209
public const SUNFLOWER = "minecraft:sunflower";

generated/data/bedrock/item/ItemTypeNames.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ final class ItemTypeNames{
387387
public const MUSIC_DISC_13 = "minecraft:music_disc_13";
388388
public const MUSIC_DISC_5 = "minecraft:music_disc_5";
389389
public const MUSIC_DISC_BLOCKS = "minecraft:music_disc_blocks";
390+
public const MUSIC_DISC_BOUNCE = "minecraft:music_disc_bounce";
390391
public const MUSIC_DISC_CAT = "minecraft:music_disc_cat";
391392
public const MUSIC_DISC_CHIRP = "minecraft:music_disc_chirp";
392393
public const MUSIC_DISC_CREATOR = "minecraft:music_disc_creator";

src/block/utils/RecordType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function getSoundName() : string{
110110
return $this->getMetadata()[0];
111111
}
112112

113-
public function getSoundId() : int{
113+
public function getSoundId() : string{
114114
return $this->getMetadata()[1];
115115
}
116116

src/data/bedrock/ItemTagToIdMap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ final class ItemTagToIdMap{
4646

4747
private const PATHS = [
4848
ProtocolInfo::CURRENT_PROTOCOL => "",
49+
ProtocolInfo::PROTOCOL_1_26_20 => "",
4950
ProtocolInfo::PROTOCOL_1_26_10 => "",
5051
ProtocolInfo::PROTOCOL_1_26_0 => "",
5152
ProtocolInfo::PROTOCOL_1_21_130 => "",

src/network/mcpe/InventoryManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ private function sendInventoryContentPackets(int $windowId, array $itemStackWrap
554554
$this->session->sendDataPacket(InventoryContentPacket::create(
555555
$windowId,
556556
array_fill_keys(array_keys($itemStackWrappers), new ItemStackWrapper(0, ItemStack::null())),
557-
$this->session->getProtocolId() >= ProtocolInfo::PROTOCOL_1_26_20 ? null : new FullContainerName($this->lastInventoryNetworkId),
557+
new FullContainerName($this->session->getProtocolId() >= ProtocolInfo::PROTOCOL_1_26_20 ? 0 : $this->lastInventoryNetworkId, null),
558558
0,
559559
new ItemStackWrapper(0, ItemStack::null())
560560
));

0 commit comments

Comments
 (0)