Skip to content

Instantly share code, notes, and snippets.

View inxomnyaa's full-sized avatar
🐺
Working on WolvesFortress MCBE RPG Server

inxomnyaa inxomnyaa

🐺
Working on WolvesFortress MCBE RPG Server
View GitHub Profile
<?php
declare(strict_types=1);
use pocketmine\math\AxisAlignedBB;
use pocketmine\math\Facing;
use pocketmine\math\Vector3;
use pocketmine\math\VoxelRayTrace;
use pocketmine\player\Player;
use pocketmine\scheduler\CancelTaskException;
@JustTalDevelops
JustTalDevelops / client_blob_cache_exploit.md
Last active July 15, 2024 20:26
Exploiting the Blob Cache in Bedrock Edition

Exploiting the Blob Cache in Minecraft: Bedrock Edition

...and why it matters.

Preface

You might have seen my HiveCorruptor plugin on Poggit. To be clear, I don't have a vendetta against The Hive or anything like that, the plugin was more so a comedic demonstration of how the blob cache can be exploited to crash clients. The next thing you're probably thinking is "how the hell does this work?" - and this is what this article will go over.

Introduction

#!/usr/bin/python3
# -*- coding: utf-8 -*-
import frida
import sys
import json
import argparse
import subprocess
import base64
import time
@tryashtar
tryashtar / mcstructure.md
Last active July 13, 2024 08:48
Bedrock mcstructure file format

Bedrock .mcstructure files

Saving and Loading

mcstructure files are created by the Export button in a structure block. To load them in game with a load structure block, the files must be placed in a behavior pack. The path determines the structure identifier, which is typed into the structure block to load the structure.

Examples:

@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 30, 2024 17:13
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

This file has been truncated, but you can view the full file.
// File automatically generated by MinecraftSymbols
// Address : 008da4ed
extern "C"
{
void* _Z10ImFileOpenPKcS0__ptr;
}
// Address : 008da169
extern "C"
@IanColdwater
IanColdwater / twittermute.txt
Last active July 2, 2024 02:25
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@dktapps
dktapps / README.md
Last active January 14, 2021 11:32

This tool is used to generate the data found in BedrockData.

Usage

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

Input file

@SupremeMortal
SupremeMortal / legacy_block_data_mappings.json
Last active March 19, 2021 22:50
Hardcoded legacy data map
{
"minecraft:stone": [
{"stone_type":"stone"},
{"stone_type":"granite"},
{"stone_type":"granite_smooth"},
{"stone_type":"diorite"},
{"stone_type":"diorite_smooth"},
{"stone_type":"andesite"},
{"stone_type":"andesite_smooth"},
{"stone_type":"stone"}
[
{"id":0,"meta":0,"name":"minecraft:air","states":{}},
{"id":1,"meta":0,"name":"minecraft:stone","states":{"stone_type":{"val":"stone","type":8}}},
{"id":1,"meta":1,"name":"minecraft:stone","states":{"stone_type":{"val":"granite","type":8}}},
{"id":1,"meta":2,"name":"minecraft:stone","states":{"stone_type":{"val":"granite_smooth","type":8}}},
{"id":1,"meta":3,"name":"minecraft:stone","states":{"stone_type":{"val":"diorite","type":8}}},
{"id":1,"meta":4,"name":"minecraft:stone","states":{"stone_type":{"val":"diorite_smooth","type":8}}},
{"id":1,"meta":5,"name":"minecraft:stone","states":{"stone_type":{"val":"andesite","type":8}}},
{"id":1,"meta":6,"name":"minecraft:stone","states":{"stone_type":{"val":"andesite_smooth","type":8}}},
{"id":2,"meta":0,"name":"minecraft:grass","states":{}},