This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.voxelplugineering.voxelsniper.common.command; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
@Retention(RetentionPolicy.RUNTIME) | |
public @interface Command | |
{ | |
String command(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.thevoxelbox.node; | |
public class ASMClassLoader extends ClassLoader | |
{ | |
public Class defineClass(String name, byte[] b) | |
{ | |
return defineClass(name, b, 0, b.length); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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 |