This tool is used to generate the data found in BedrockData.
Place the script in the root of a PocketMine-MP source code repository. Make sure the composer autoloader has been appropriately generated.
php decoder.php input_file.txt
This tool is used to generate the data found in BedrockData.
Place the script in the root of a PocketMine-MP source code repository. Make sure the composer autoloader has been appropriately generated.
php decoder.php input_file.txt
A big oak tree is made up of a main trunk and multiple branches. A "branch" always contains leaves, but may not always contain logs.
heightLimit: The actual height of the tree, including leaf blocks at the top (between 5 and 16)trunkHeight: The height of the trunkleafDistanceLimit: The distance from a log that leaves can generate, set to 4 for sapling growth, though appears to be set to 5 for natural growth for some reason| <?php | |
| const GRID = 16;//16 * 16 icons | |
| $filename = basename("glyph_E1",".png"); | |
| $startChar = hexdec(substr($filename, strrpos($filename, "_")+1)."00"); | |
| $i=0; | |
| do{ | |
| $x = $i % GRID; | |
| $z = ($i - ($i % GRID)) / GRID; | |
| $ci = $startChar + $i;//char index | |
| $char = mb_chr($ci); |
| My folder structure: | |
| PM | |
| - virions | |
| -- virion.phar | |
| - pmmp | |
| -- <minecraft_version> i.e. 1.14 | |
| --- pmmp.phar | |
| I added the folders "1.14" and "virions" to "External Libraries" on the bottom of the "Project" list/sidebar | |
| right click "PHP" and choose "Include path" |
| // File automatically generated by MinecraftSymbols | |
| // Address : 04f42008 | |
| extern "C" | |
| { | |
| void* GImGui; | |
| } | |
| // Address : 008c6b4d | |
| extern "C" |
| # Blocks Minecraft 1.12 domains that cause the client to be stuck in the loading screen | |
| 127.0.0.1 localhost | |
| ::1 localhost | |
| # [General] | |
| 127.0.0.1 minecraftprod.rtep.msgamestudios.com | |
| 127.0.0.1 xforgeassets002.xboxlive.com | |
| 127.0.0.1 xforge.xboxlive.com |
| /* ==UserStyle== | |
| @name Poggit Dark | |
| @version 1.0.6 | |
| @description Dark theme for Poggit, a GitHub application for managing PocketMine-family plugins, and website for sharing plugins | |
| @namespace XenialDan | |
| @author XenialDan | |
| @homepageURL https://gist.github.com/thebigsmileXD/ed07c6bd4285614d2c5654c9dce76bf2 | |
| @supportURL https://gist.github.com/thebigsmileXD/ed07c6bd4285614d2c5654c9dce76bf2 | |
| @updateURL https://raw.githubusercontent.com/StylishThemes/StackOverflow-Dark/master/stackoverflow-dark.user.css | |
| ==/UserStyle== */ |
| /** @var \mysqli $db */ | |
| private $db; | |
| /** @var array */ | |
| private $settings; | |
| private $tablename = ""; | |
| private $fieldarray = []; | |
| public function __construct($settings = []){ |
| Usage: | |
| single: | |
| minecraft://?argument=value | |
| or multiple: | |
| minecraft://?argument=value&argument2=value2 | |
| private function registerUIs(){ | |
| $ui = new SimpleForm($this->getDescription()->getPrefix() . TextFormat::DARK_PURPLE . ' Commands', 'These are all ' . $this->getDescription()->getPrefix() . ' commands:'); | |
| $namespace = __NAMESPACE__. '\subcommand\\'; | |
| print $namespace; | |
| foreach (\get_declared_classes() as $class){ | |
| if (strpos($class, $namespace) === 0){ | |
| $c = substr($class, strlen($namespace)); | |
| $c = str_replace('SubCommand', '', $c); | |
| if (strlen($c) > 0){ |