Skip to content

Instantly share code, notes, and snippets.

summon FallingSand ~1 ~2 ~2 {Time:1,Block:minecraft:redstone_block,Riding:{
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:fill ~ ~1 ~ ~ ~-9 ~ air},Riding:{
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:
summon FallingSand ~-2 ~-6 ~ {Time:1,Block:minecraft:redstone_block,Riding:{
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:fill ~ ~1 ~ ~ ~-9 ~ air},Riding:{
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:
summon FallingSand ~2 ~-6 ~ {Time:1,Block:minecraft:redstone_block,Riding:{
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:fill ~ ~1 ~ ~ ~-9 ~ air},Riding:{
@Deamon5550
Deamon5550 / CustomGenerator.java
Created August 27, 2014 22:28
Custom worlg generator bukkit
import java.util.Random;
import org.bukkit.World;
import org.bukkit.generator.ChunkGenerator;
public class CustomGenerator extends ChunkGenerator
{
public byte[][] generateBlockSections(World world, Random random, int x, int z, BiomeGrid biomes)
{
byte[][] result = new byte[16][]; //this is where you would fetch from the other thread
return result;
package com.budgiehouse.minecraft.world;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.bukkit.Material;
import org.bukkit.Note;
{{Infobox Plugin
|image = Image:Voxelsniper.png
|lead = [[MikeMatrix]]
|additional = [[przerwap]]<br/>[[Gavjenks]]<br/>[[Giltwist]]<br/>''Psanker''<br/>[[Deamon5550]]<br/>[[Monofraps]]
|documentation = [[Giltwist]]<br/>[[NeutronRocks]]<br/>[[AzulCaballero]]<br/>[[thedeadlybutter]]<br/>[[ayyy]]<br/>[[Sloan]]<br/>[[Monofraps]]
|pr = [[NeutronRocks]]
|build = #1.6.4-R2.0
|issuetracker = [https://github.com/TVPT/VoxelSniper/issues BugTracker]
|devbuilds = [http://ci.thevoxelbox.com/job/VoxelSniper/ CI Server]
|bukkitdev = [http://dev.bukkit.org/server-mods/voxelsniper/ VoxelSniper on BukkitDev]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="12">
<profile kind="CodeFormatterProfile" name="BudgieHouse" version="12">
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
public void startTask(BukkitScheduler scheduler)
{
// If there is already an existing task, cancel it
if (this.task != null)
{
this.task.cancel();
}
// start the task
this.task = scheduler.runTaskTimer(PluginInstance.getPlugin(), new Runnable()
{
package com.thevoxelbox.node.util;
public class Vector
{
double[] vec;
public Vector(double x, double y, double z)
{
this.vec = new double[] { x, y, z };
@Deamon5550
Deamon5550 / Command.java
Last active August 29, 2015 14:06
Commands
package com.voxelplugineering.voxelsniper.common.command;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface Command
{
String command();
package com.thevoxelbox.node;
public class ASMClassLoader extends ClassLoader
{
public Class defineClass(String name, byte[] b)
{
return defineClass(name, b, 0, b.length);
}
}
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 The Voxel Plugineering Team
*
* 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
* copies of the Software, and to permit persons to whom the Software is