diff --git a/src/constants/BlockIDs.php b/src/constants/BlockIDs.php index 8246f4656..eab6e62e5 100644 --- a/src/constants/BlockIDs.php +++ b/src/constants/BlockIDs.php @@ -45,7 +45,7 @@ define("WOOD", 17); define("TRUNK", 17); define("LEAVES", 18); define("LEAVE", 18); - +define("SPONGE", 19); define("GLASS", 20); define("LAPIS_ORE", 21); define("LAPIS_BLOCK", 22); diff --git a/src/material/Block.php b/src/material/Block.php index 7bff673a1..2bd7b3f9b 100644 --- a/src/material/Block.php +++ b/src/material/Block.php @@ -40,6 +40,7 @@ abstract class Block extends Position{ COAL_ORE => "CoalOreBlock", WOOD => "WoodBlock", LEAVES => "LeavesBlock", + SPONGE => "SpongeBlock", GLASS => "GlassBlock", LAPIS_ORE => "LapisOreBlock", LAPIS_BLOCK => "LapisBlock", diff --git a/src/material/block/solid/Sponge.php b/src/material/block/solid/Sponge.php new file mode 100644 index 000000000..1a671d43f --- /dev/null +++ b/src/material/block/solid/Sponge.php @@ -0,0 +1,28 @@ +hardness = 3; + } + +} \ No newline at end of file