Skip to content

Instantly share code, notes, and snippets.

View gabizou's full-sized avatar

Gabriel Harris-Rouquette gabizou

View GitHub Profile
@gabizou
gabizou / answers.md
Last active June 2, 2019 21:24 — forked from JTK222/answers.md
Forge annual Parley - 2019 questions

Most important Question

Q: What's the story of the Squirrel?
A: ?

General

Q: Will the support for 1.12.2 end? And will we get another recommended build for 1.12?
A: The support will end once 1.14 gets a recommendet build. And there should be another Recommended build.

Q: Will 1.13.2 be left as it is, or be continued parallel to 1.14?
A: It will propably be left as it is, as 1.13 is to unstable in the first place.

@gabizou
gabizou / 0_reuse_code.js
Created November 4, 2015 00:30
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@gabizou
gabizou / ChangeBlockEvent.java
Last active September 23, 2015 07:06 — forked from bloodmc/ChangeBlockEvent.java
ChangeBlockEvent
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
interface ItemType
{
int getMaxDamage();
}
class net.minecraft.src.Item
{
...
allprojects {
afterEvaluate {
def versions = [
'1.6' : "/opt/java6/jre/lib/"
]
// convert map to classpaths
versions = versions.collectEntries { key, value ->
def path = new File(value)
value = path.listFiles().findAll { it.getPath().endsWith(".jar") }