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 ca.deamon.dungeon; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Random; | |
public class MazeGen { | |
int w, h; | |
byte[] region; |
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; | |
public class Main { | |
public static void main(String[] args) { | |
Random rand = new Random(-229985452); | |
StringBuilder sb = new StringBuilder(); | |
int k=1; | |
for (;;) | |
{ | |
k = rand.nextInt(27); |
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
standest | |
ealenosoretha | |
ono | |
poneabered | |
hededainstaty | |
tytofatwnox | |
sereamshamal | |
ales | |
plitheullere | |
wilytchwiedo |
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
+++++ +++++ +++++ +++++ +++++ + number of inputs | |
> | |
>+++++ ++++ | |
[ | |
<+++++ +++++ | |
>- | |
] | |
<+++++ ++ set array(1) to 97 to shift letters to be 0 based | |
< | |
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
++++++++++++++++++++ | |
++++++>>+++++++++[<+ | |
+++++++++>-]<+++++++ | |
>>>>>>>>>>>+++++++++ | |
+++++++>++++++++>+++ | |
+>++>+>>>++++[<<++++ | |
++++++>++++++++++>-] | |
<+++++<++<<<<<<<<<<< | |
<<<<<<[>>>>,<[-]<[-] | |
<[->+>+<<]>[-<+>]>[- |
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.voxelsniper.util.schematic; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import org.bukkit.Material; | |
import org.bukkit.Note; | |
import org.bukkit.SkullType; |
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
Stencil Brush: | |
Notes: | |
-If you have better names for the types, that would be great | |
-The type is the selection method, which all fall into one of 4 shapes (cuboid, ellipsoid, ellipse_extruded, and poly_2d) | |
-The _d suffix on selections is to denote that it is defined based on additional clicks and not brush settings (set, ellipse, ellipsoid | |
and poly_2d are defined by default) | |
Commands: |
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
Stencil List rework: | |
Notes: | |
Commands: | |
/b sl (full|fill|replace|list) [name] (-rotate|r (#)) (-flip|f (NSEWUD)) (+|-[stencil_name])... | |
Same command as before but with added arguements on the end to modify the stencil lists or create new ones in-game | |
the list arguement will print out the currently included stencils in the specified (or your current) stencil list |
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.voxelsniper.util; | |
public class Rot3d | |
{ | |
double[][] r = new double[3][3]; | |
public Rot3d(double u, double v, double w) | |
{ | |
double cos1 = Math.cos(u); | |
double sin1 = Math.sin(u); |
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 ~ ~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:say 12},Riding:{ | |
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:say 11},Riding:{ | |
id:FallingSand,Time:1,Block:minecraft:redstone_block,Riding:{ | |
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:say 10},Riding:{ | |
id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:say 9},Riding:{ |
OlderNewer