diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2014-04-14 11:58:43 +0300 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2014-04-14 11:58:43 +0300 |
| commit | 1a692ab45df3d88a6cc247cc9f4c0a41c7715264 (patch) | |
| tree | 1854960d78be20ef09c9f098f5e2eb92837019dd /common/darkknight/jewelrycraft/worldGen/village/VillageJewelryHandler.java | |
| parent | f965cf88704f1e5e674d98308cbe0f4451d7edeb (diff) | |
Updating to 1.7
Diffstat (limited to 'common/darkknight/jewelrycraft/worldGen/village/VillageJewelryHandler.java')
| -rw-r--r-- | common/darkknight/jewelrycraft/worldGen/village/VillageJewelryHandler.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/common/darkknight/jewelrycraft/worldGen/village/VillageJewelryHandler.java b/common/darkknight/jewelrycraft/worldGen/village/VillageJewelryHandler.java deleted file mode 100644 index e53b4d7..0000000 --- a/common/darkknight/jewelrycraft/worldGen/village/VillageJewelryHandler.java +++ /dev/null @@ -1,29 +0,0 @@ -package darkknight.jewelrycraft.worldGen.village; - -import java.util.List; -import java.util.Random; - -import net.minecraft.world.gen.structure.ComponentVillageStartPiece; -import net.minecraft.world.gen.structure.StructureVillagePieceWeight; -import cpw.mods.fml.common.registry.VillagerRegistry.IVillageCreationHandler; - -public class VillageJewelryHandler implements IVillageCreationHandler -{ - @Override - public StructureVillagePieceWeight getVillagePieceWeight (Random random, int i) - { - return new StructureVillagePieceWeight(ComponentJewelry.class, 30, i + random.nextInt(4)); - } - - @Override - public Class<?> getComponentClass () - { - return ComponentJewelry.class; - } - - @Override - public Object buildComponent (StructureVillagePieceWeight villagePiece, ComponentVillageStartPiece startPiece, @SuppressWarnings("rawtypes") List pieces, Random random, int p1, int p2, int p3, int p4, int p5) - { - return ComponentJewelry.buildComponent(startPiece, pieces, random, p1, p2, p3, p4, p5); - } -}
\ No newline at end of file |
