Use constants for compound meta values

This commit is contained in:
Dylan K. Taylor
2022-03-23 15:58:27 +00:00
parent a9f2766a8b
commit f25beab6cb
2 changed files with 104 additions and 38 deletions

View File

@ -0,0 +1,65 @@
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* @author PocketMine Team
* @link http://www.pocketmine.net/
*
*
*/
declare(strict_types=1);
namespace pocketmine\data\bedrock;
final class CompoundTypeIds{
public const SALT = 0;
public const SODIUM_OXIDE = 1;
public const SODIUM_HYDROXIDE = 2;
public const MAGNESIUM_NITRATE = 3;
public const IRON_SULPHIDE = 4;
public const LITHIUM_HYDRIDE = 5;
public const SODIUM_HYDRIDE = 6;
public const CALCIUM_BROMIDE = 7;
public const MAGNESIUM_OXIDE = 8;
public const SODIUM_ACETATE = 9;
public const LUMINOL = 10;
public const CHARCOAL = 11;
public const SUGAR = 12;
public const ALUMINIUM_OXIDE = 13;
public const BORON_TRIOXIDE = 14;
public const SOAP = 15;
public const POLYETHYLENE = 16;
public const RUBBISH = 17;
public const MAGNESIUM_SALTS = 18;
public const SULPHATE = 19;
public const BARIUM_SULPHATE = 20;
public const POTASSIUM_CHLORIDE = 21;
public const MERCURIC_CHLORIDE = 22;
public const CERIUM_CHLORIDE = 23;
public const TUNGSTEN_CHLORIDE = 24;
public const CALCIUM_CHLORIDE = 25;
public const WATER = 26;
public const GLUE = 27;
public const HYPOCHLORITE = 28;
public const CRUDE_OIL = 29;
public const LATEX = 30;
public const POTASSIUM_IODIDE = 31;
public const SODIUM_FLUORIDE = 32;
public const BENZENE = 33;
public const INK = 34;
public const HYDROGEN_PEROXIDE = 35;
public const AMMONIA = 36;
public const SODIUM_HYPOCHLORITE = 37;
}