Skip to content

Instantly share code, notes, and snippets.

View jojoe77777's full-sized avatar
🤔

jojoe77777 jojoe77777

🤔
View GitHub Profile
@dktapps
dktapps / pm-0.16-metadata-changes.md
Created November 5, 2016 21:01
Entity metadata changes in 0.16. PocketMine only, does not account for spoon changes.
Type Constant name Status Details
Property Ageable::DATA_AGEABLE_FLAGS Removed Ageable flags (Entity::DATA_FLAG_BABY) are now set on the generic entity status (Entity::DATA_FLAGS)
Property Entity::DATA_AIR Changed Value changed (1 -> 7) and default changed (300 -> 400)
Property Entity::DATA_FLAGS Changed Type changed (byte -> long)
Property Entity::DATA_LEAD_EID Changed/Removed Value changed (23 -> 38) and renamed with clearer name (DATA_LEAD_HOLDER_EID).
Property Entity::DATA_NAMETAG Changed Value changed (2 -> 4)
Property Entity::DATA_NO_AI Changed/Removed Changed to a data flag (DATA_FLAG_NO_AI)
Property Entity::DATA_POTION_AMBIENT Changed Value changed (8 -> 9)
Property Entity::DATA_POTION_COLOR Changed Value changed (7 -> 8)
@shoghicp
shoghicp / run.php
Last active September 26, 2020 10:33
Header Extractor - Usage: php run.php --input libminecraftpe.so --output headers/ --pointer-size 4 --asm
<?php
/**
* Minecraft: Pocket Edition header extractor
*
* This tool needs objdump (and objdump-multiarch + arm variants) installed on the current system
*
*/
const VERSION = "0.0.1";
@IntergalacticApps
IntergalacticApps / make_windows10_great_again.bat
Last active May 6, 2025 17:39
Make Windows 10 Great Again - stop Windows 10 spying!
@echo off
setlocal EnableDelayedExpansion
ver | find "10." > nul
if errorlevel 1 (
echo Your Windows version is not Windows 10... yet. Brace yourself, Windows 10 is coming^^!
pause
exit
)
@jojoe77777
jojoe77777 / metadata.md
Last active February 27, 2019 03:20
Helpful metadata information
ID Description Type
1 Air Short
2 Name tag String
3 Name visibility Byte
4 Silent Byte
7 Potion bubbles Int
12 Baby zombies Byte
14 Baby animals, wolf data (angry) Byte
16 Sheep/Villager type, also slime size, and pig saddle Byte
@MineTheCube
MineTheCube / mc-authenticate.php
Created June 16, 2016 13:22
Authenticate with a Minecraft account
<?php
/**
* Authenticate with a Minecraft account
*
* After a few fails, Mojang server will deny all requests, so use a proxy to bypass that limit
*
* @example $account = authenticate('[email protected]', '123456', '107.170.58.132:3128');
*
* @param string $id Minecraft username or Mojang email
@extremeheat
extremeheat / 0001-Keep-better-track-of-inventory-changes-on-Windows-10.patch
Last active September 11, 2018 13:42
Various Minecraft: Windows 10 Edition-related patches for PocketMine-MP. Must be applied consecutively.
From ee6d6a6154ce35a4945add6aa6bd57f2144b185c Mon Sep 17 00:00:00 2001
From: extremeheat <[email protected]>
Date: Sun, 24 Apr 2016 00:46:33 -0400
Subject: [PATCH 1/4] Keep better track of inventory changes on Windows 10
Edition, fix inventory moving issues
---
src/pocketmine/Player.php | 198 ++++++++++++++++++++-
.../inventory/SimpleTransactionGroup.php | 26 ++-
2 files changed, 221 insertions(+), 3 deletions(-)

[QUOTE="TheDeibo, post: 142836, member: 16757"]correction: shoghi OR shoghicp[/QUOTE] That's not important. [QUOTE="Legoboy0215, post: 142835, member: 18294"]Hi: I am a very very inactive dev on ImagicalMine. I contributed a lot on the early days where there was a skin bug, chest bug, and etc. At start, ImagicalCorp consisted of members of… [USER=29074]@k3ithkfng[/USER]'s server's staff. We thought: "Wow, where did shogi go?" So we started. I still don't get the reason why [USER=29074]@k3ithkfng[/USER] did not fork the repo, but it's too late :)

We tried our best, and I tried my best typing this on my paperwhite XD Hope this answers your question.

TL; DR:

@Intyre
Intyre / forum-help-README.md
Last active March 19, 2016 08:51
PocketMine Help Readme

How to generate a username for MCPE players

  1. For ?% chance, add the prefix xX and suffix Xx
  2. Choose a random item/mechanism/entity name from MCPE
  3. Choose a random word from the dictionary
  4. For ?% chance, choose a random from common given names
  5. For ?% chance, add the words girl or cute or cool or kid or boy
  6. For ?% chance, add the word MCPE
  7. For ?% chance, add the word Itz or Its
  8. For 99% chance, change all occurrences of s to z to make it sound like more professional/special while it isn't at all
{
"name": "fish.pufferfish.raw",
"id": 206,
"icon": "fish_raw_puffer_fish",
"use_animation": "eat",
"use_duration": 32,
"max_damage": 0,
"stacked_by_data": true,
"food": {