Implement cauldrons (#5163)

the following things are currently not implemented:

- particle/sound effects when an entity extinguishes itself
- particle/sound effects when mixing different stuff in a cauldron
- powder snow cauldron

both of these things are contingent on #5169, but for the time being, the PR is functionally complete and I want to move on to something else without being stalled by the particle+sound problem (which I haven't yet decided how to solve).
This commit is contained in:
Dylan T
2022-07-20 16:12:58 +01:00
committed by GitHub
parent 466307a43f
commit c1acf44337
29 changed files with 1231 additions and 4 deletions

View File

@@ -294,6 +294,8 @@ final class ItemTypeIds{
public const RAW_GOLD = 20255;
public const SPYGLASS = 20256;
public const NETHERITE_SCRAP = 20257;
public const POWDER_SNOW_BUCKET = 20258;
public const LINGERING_POTION = 20259;
public const FIRST_UNUSED_ITEM_ID = 20258;
public const FIRST_UNUSED_ITEM_ID = 20260;
}

View File

@@ -197,6 +197,7 @@ final class StringToItemParser extends StringToTParser{
$result->registerBlock("carrot_block", fn() => Blocks::CARROTS());
$result->registerBlock("carrots", fn() => Blocks::CARROTS());
$result->registerBlock("carved_pumpkin", fn() => Blocks::CARVED_PUMPKIN());
$result->registerBlock("cauldron", fn() => Blocks::CAULDRON());
$result->registerBlock("chemical_heat", fn() => Blocks::CHEMICAL_HEAT());
$result->registerBlock("chemistry_table", fn() => Blocks::COMPOUND_CREATOR());
$result->registerBlock("chest", fn() => Blocks::CHEST());