Skip to content

Instantly share code, notes, and snippets.

View lukeeey's full-sized avatar

Luke lukeeey

View GitHub Profile
[CLIENT BOUND] - AvailableCommandsPacket(commands=[CommandData(
name=changesetting
description=commands.changesetting.description
flags=[]
permission=4
aliases=null
overloads=[
[
CommandParamData(name=setting, optional=false, enumData=CommandEnumData(name=BoolSettingName, values=[allow-cheats], isSoft=false), type=null, postfix=null, options=[])
CommandParamData(name=value, optional=false, enumData=CommandEnumData(name=Boolean, values=[true, false], isSoft=false), type=null, postfix=null, options=[])

Classes that reference "pack.png"

ji.class Modified: 10th November 2010, 17:24:06

ny.class Modified: 10th November 2010, 17:24:06

The date is the same for a few class files, so i can assume its the same for them all. This could be because the jar was built at this time.

However, according to the launcher.json for alpha 1.2.2, it was released on 9th November 2010 at 10pm (2010-11-09T22:00:00+00:00)?

@lukeeey
lukeeey / README.md
Created October 28, 2018 13:40
What i want in the Scripting API

Network Access

I don't care if it's limited to images and JSON and the game internally checks it for validity before passing it to the script, we need access to internet to allow for a wider array of mods. I don't care if you route it through some stupid Microsoft proxy first, but we need this.

For example, i want to create a translating mod to help the people who arent so fluent in English (or vice versa). I cant realistically do that without using an external API. Or what if i want to make a mod that allows people to create an entity with the skin of a player from Minecraft: Java Edition. I would need to use the JSON API for that, wouldnt i.

After all this, i don't see why it cant be added? I think after all these checks it is finally safe enough for us to make a single HTTP request.

@lukeeey
lukeeey / .README.md
Last active October 27, 2018 12:25
An example of what i would like to see in the Minecraft: Bedrock scripting api

An example of what i would like to be part of the Scripting API in Minecraft: Bedrock Edition.

Multi-file support as well, please. I dont want to make a 2000 line server mod, thanks.

{
"count":4,
"results":[
{
"score":1.0,
"document":{
"productId":"G009SXK652MF",
"title":"Mineplex",
"description":"Lobby Description...",
"contentType":"3PP",
https://discordapp.com/channels/302094807046684672/476049913487032320/476410743001055253
@lukeeey
lukeeey / index.html
Created August 6, 2018 23:41
SVG Effect: Outer Glow
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
<defs>
<filter id="sofGlow" height="300%" width="300%" x="-75%" y="-75%">
<!-- Thicken out the original shape -->
<feMorphology operator="dilate" radius="4" in="SourceAlpha" result="thicken" />
<!-- Use a gaussian blur to create the soft blurriness of the glow -->
<feGaussianBlur in="thicken" stdDeviation="10" result="blurred" />
package net.minecraft.server;
import java.util.Random;
public class BlockDragonEgg extends Block {
public BlockDragonEgg() {
super(Material.DRAGON_EGG);
this.a(0.0625F, 0.0F, 0.0625F, 0.9375F, 1.0F, 0.9375F);
}

Minecraft Launch Intents

Annoyingly, you can't click these links in this gist because github doesnt recognize them as actual valid links. You cant paste it into a browser address bar either, so create a bookmark with the link and then click that!

edu

Opens Minecraft in Edu Mode. This is the real Education Edition!

Link: minecraft:?edu=1

addExternalServer