From 4c05c5d2d3ba000776be2084f556aa8dffb0162a Mon Sep 17 00:00:00 2001 From: Charlie Date: Thu, 31 Jul 2014 19:49:47 -0400 Subject: [PATCH] disco floor is back; fixed name --- build.xml | 73 ++++++++++++++++++++++ src/ca/gibstick/discosheep/DiscoParty.java | 12 ++-- 2 files changed, 79 insertions(+), 6 deletions(-) create mode 100644 build.xml diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..67e8850 --- /dev/null +++ b/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project DiscoSheep. + + + diff --git a/src/ca/gibstick/discosheep/DiscoParty.java b/src/ca/gibstick/discosheep/DiscoParty.java index d232505..f41ad54 100644 --- a/src/ca/gibstick/discosheep/DiscoParty.java +++ b/src/ca/gibstick/discosheep/DiscoParty.java @@ -275,8 +275,8 @@ public class DiscoParty { } } - //loc = player.getLocation(); - //this.spawnFloor(world, new Location(world, loc.getBlockX(), loc.getBlockY() - 1, loc.getBlockZ())); + loc = player.getLocation(); + this.spawnFloor(world, new Location(world, loc.getBlockX(), loc.getBlockY() - 1, loc.getBlockZ())); } void spawnSheep(World world, Location loc) { @@ -290,7 +290,7 @@ public class DiscoParty { world.strikeLightningEffect(loc); } newSheep.setCustomName("jeb_"); - newSheep.setCustomNameVisible(true); + newSheep.setCustomNameVisible(false); newSheep.setRemoveWhenFarAway(false); } @@ -434,9 +434,9 @@ public class DiscoParty { } } - /* for (Block block : this.floorBlocks) { - this.randomizeFloor(block); - }*/ + for (Block block : this.floorBlocks) { + this.randomizeFloor(block); + } } private float getPentatonicNote() {