MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
{ | |
"textures": { | |
"bucket": "blocks/iron_block", | |
"liquid": "blocks/water_still" | |
}, | |
"elements": [ | |
{ "comment": "top outer - west", | |
"from": [ 0, 9, 2 ], | |
"to": [ 1, 16, 14 ], | |
"faces": { |
package de.zh32.slp; | |
import com.google.gson.Gson; | |
import java.io.ByteArrayOutputStream; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; |
{ | |
"//comment": "All metainfo files will be ORIGINAL_FILE.mcmeta. For example, textures/blocks/portal.png.mcmeta. The format is, of course, JSON.", | |
"animation": { | |
"//comment": "This block will be required for animated textures. It can be an empty block, but it will be needed to detect an animation.", | |
"frames": [ | |
1, | |
{"index": 2, "time": 4}, | |
3, | |
4 | |
], |
package net.minecraftforge.lex.rendering; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Modifier; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Map.Entry; |
All target selectors start with @
. The following character is the selector type. For example, @p
means 'closest player'.
Target selectors may have additional, optional arguments. You can specify these in [ ]
, using the syntax a=0
. For example, @p[a=0,b=5,c=-500]
.
There is a special short syntax for just specifying x
, y
, z
and r
arguments; simply list their values separated by a comma, without x=
. For example: @p[100,64,-100,5]
for 5 range, x=100
, y=64
and z=-100
. Each of these are optional and skippable by leaving them empty. For example, to just specify y
coordinate: @p[,64]
.
x
- X coordinate for search center. Default is senders coordinate, or 0.y
- Y coordinate for search center. Default is senders coordinate, or 0.package com.md_5; | |
import java.io.IOException; | |
import java.net.DatagramPacket; | |
import java.net.DatagramSocket; | |
import java.net.InetSocketAddress; | |
import java.util.logging.Level; | |
import org.bukkit.plugin.java.JavaPlugin; | |
public class LanBukkit extends JavaPlugin implements Runnable { |
This gist assumes: