mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
1.0.19 III
This commit is contained in:
parent
428417c06f
commit
2e9ad7f9c3
@ -590,6 +590,7 @@ item.thruster_medium.name=Mittleres Raketentriebwerk
|
||||
item.thruster_large.name=Großes Raketentriebwerk
|
||||
|
||||
item.wand.name=Konstruktions-Zauberstab
|
||||
item.wand_s.name=Struktur-Zauberstab
|
||||
|
||||
item.steel_helmet.name=Stahlhelm
|
||||
item.steel_plate.name=Stahlbrustpanzer
|
||||
|
||||
@ -591,6 +591,7 @@ item.thruster_medium.name=Medium Thruster
|
||||
item.thruster_large.name=Large Thruster
|
||||
|
||||
item.wand.name=Construction Wand
|
||||
item.wand_s.name=Structure Wand
|
||||
|
||||
item.steel_helmet.name=Steel Helmet
|
||||
item.steel_plate.name=Steel Chestplate
|
||||
|
||||
BIN
assets/hbm/textures/items/wand_s.png
Normal file
BIN
assets/hbm/textures/items/wand_s.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 251 B |
BIN
assets/hbm/textures/models/CapeShield.png
Normal file
BIN
assets/hbm/textures/models/CapeShield.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 562 B |
@ -5,6 +5,7 @@ import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
@ -119,5 +120,67 @@ public class DecoBlock extends BlockContainer {
|
||||
|
||||
//this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
|
||||
}
|
||||
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) {
|
||||
|
||||
int te = world.getBlockMetadata(x, y, z);
|
||||
float f = 0.0625F;
|
||||
|
||||
if(this == ModBlocks.steel_wall)
|
||||
{
|
||||
switch(te)
|
||||
{
|
||||
case 4:
|
||||
this.setBlockBounds(14*f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
|
||||
break;
|
||||
case 2:
|
||||
this.setBlockBounds(0.0F, 0.0F, 14*f, 1.0F, 1.0F, 1.0F);
|
||||
break;
|
||||
case 5:
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 2*f, 1.0F, 1.0F);
|
||||
break;
|
||||
case 3:
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 2*f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(this == ModBlocks.steel_corner)
|
||||
{
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
|
||||
}
|
||||
|
||||
if(this == ModBlocks.steel_roof)
|
||||
{
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1*f, 1.0F);
|
||||
}
|
||||
|
||||
if(this == ModBlocks.steel_beam)
|
||||
{
|
||||
this.setBlockBounds(7*f, 0.0F, 7*f, 9*f, 1.0F, 9*f);
|
||||
}
|
||||
|
||||
if(this == ModBlocks.steel_scaffold)
|
||||
{
|
||||
this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f);
|
||||
switch(te)
|
||||
{
|
||||
case 4:
|
||||
this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F);
|
||||
break;
|
||||
case 2:
|
||||
this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f);
|
||||
break;
|
||||
case 5:
|
||||
this.setBlockBounds(2*f, 0.0F, 0.0F, 14*f, 1.0F, 1.0F);
|
||||
break;
|
||||
case 3:
|
||||
this.setBlockBounds(0.0F, 0.0F, 2*f, 1.0F, 1.0F, 14*f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -15,6 +15,7 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
@ -158,5 +159,11 @@ public class DecoBlockAlt extends BlockContainer {
|
||||
float f = 0.0625F;
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F);
|
||||
}
|
||||
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) {
|
||||
float f = 0.0625F;
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F);
|
||||
return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -35,6 +35,7 @@ import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
@ -394,6 +395,12 @@ public class LaunchPad extends BlockContainer {
|
||||
float f = 0.0625F;
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F);
|
||||
}
|
||||
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) {
|
||||
float f = 0.0625F;
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 8*f, 1.0F);
|
||||
return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
||||
@ -83,6 +83,8 @@ public class MachineRecipes {
|
||||
ItemStack[] euphemium = new ItemStack[] {new ItemStack(ModItems.nugget_euphemium, 1), new ItemStack(ModItems.nugget_euphemium, 1), new ItemStack(ModItems.nugget_euphemium, 1), new ItemStack(ModItems.rod_quad_empty, 1)};
|
||||
ItemStack[] schrabidium = new ItemStack[] {new ItemStack(ModItems.ingot_schrabidium, 1), new ItemStack(ModItems.sulfur, 1), new ItemStack(ModItems.sulfur, 1), new ItemStack(ModItems.cell_empty, 1)};
|
||||
ItemStack[] lithium = new ItemStack[] {new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1), new ItemStack(Item.getItemFromBlock(Blocks.gravel))};
|
||||
ItemStack[] lithium2 = new ItemStack[] {new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1), new ItemStack(ModItems.lithium, 1)};
|
||||
ItemStack[] lithium3 = new ItemStack[] {new ItemStack(ModItems.lithium, 4), new ItemStack(ModItems.lithium, 4), new ItemStack(ModItems.lithium, 4), new ItemStack(ModItems.lithium, 4)};
|
||||
|
||||
ItemStack[] uran1 = new ItemStack[] {new ItemStack(ModItems.nugget_u235, 1), new ItemStack(ModItems.nugget_u238, 3), new ItemStack(ModItems.nugget_pu239, 2), new ItemStack(ModItems.rod_waste, 1)};
|
||||
ItemStack[] uran2 = new ItemStack[] {new ItemStack(ModItems.nugget_u235, 2), new ItemStack(ModItems.nugget_u238, 6), new ItemStack(ModItems.nugget_pu239, 4), new ItemStack(ModItems.rod_dual_waste, 1)};
|
||||
@ -187,6 +189,16 @@ public class MachineRecipes {
|
||||
return lithium;
|
||||
}
|
||||
|
||||
if(item == item.getItemFromBlock(Blocks.quartz_block) || item == item.getItemFromBlock(Blocks.quartz_stairs))
|
||||
{
|
||||
return lithium3;
|
||||
}
|
||||
|
||||
if(item == Items.quartz)
|
||||
{
|
||||
return lithium2;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -386,6 +398,8 @@ public class MachineRecipes {
|
||||
recipes.put(new ItemStack(ModItems.rod_schrabidium_fuel_depleted), getCentrifugeOutput(ModItems.rod_schrabidium_fuel_depleted));
|
||||
recipes.put(new ItemStack(ModItems.rod_dual_schrabidium_fuel_depleted), getCentrifugeOutput(ModItems.rod_dual_schrabidium_fuel_depleted));
|
||||
recipes.put(new ItemStack(ModItems.rod_quad_schrabidium_fuel_depleted), getCentrifugeOutput(ModItems.rod_quad_schrabidium_fuel_depleted));
|
||||
recipes.put(new ItemStack(Item.getItemFromBlock(Blocks.quartz_block)), getCentrifugeOutput(Item.getItemFromBlock(Blocks.quartz_block)));
|
||||
recipes.put(new ItemStack(Items.quartz), getCentrifugeOutput(Items.quartz));
|
||||
return recipes;
|
||||
}
|
||||
|
||||
|
||||
@ -52,6 +52,9 @@ public class ArmorModel extends ItemArmor {
|
||||
if (this == ModItems.cape_dafnik) {
|
||||
return armorType == 1;
|
||||
}
|
||||
if (this == ModItems.cape_lpkukin) {
|
||||
return armorType == 1;
|
||||
}
|
||||
return armorType == 0;
|
||||
}
|
||||
|
||||
@ -82,7 +85,7 @@ public class ArmorModel extends ItemArmor {
|
||||
return this.modelCloak;
|
||||
}
|
||||
}
|
||||
if (this == ModItems.cape_hbm || this == ModItems.cape_dafnik) {
|
||||
if (this == ModItems.cape_hbm || this == ModItems.cape_dafnik || this == ModItems.cape_lpkukin) {
|
||||
if (armorSlot == 1) {
|
||||
if (this.modelCloak == null) {
|
||||
this.modelCloak = new ModelCloak();
|
||||
@ -116,6 +119,9 @@ public class ArmorModel extends ItemArmor {
|
||||
if (stack.getItem() == ModItems.cape_dafnik && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.Dafnik)) {
|
||||
return "hbm:textures/models/CapeDafnik.png";
|
||||
}
|
||||
if (stack.getItem() == ModItems.cape_lpkukin && entity instanceof EntityPlayer && ((EntityPlayer)entity).getUniqueID().toString().equals(Library.LPkukin)) {
|
||||
return "hbm:textures/models/CapeShield.png";
|
||||
}
|
||||
return "hbm:textures/models/CapeUnknown.png";
|
||||
}
|
||||
|
||||
@ -137,5 +143,8 @@ public class ArmorModel extends ItemArmor {
|
||||
if (itemstack.getItem() == ModItems.cape_dafnik) {
|
||||
list.add("Only works for Dafnik");
|
||||
}
|
||||
if (itemstack.getItem() == ModItems.cape_lpkukin) {
|
||||
list.add("Only works for LPkukin");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
127
com/hbm/items/ItemWandS.java
Normal file
127
com/hbm/items/ItemWandS.java
Normal file
@ -0,0 +1,127 @@
|
||||
package com.hbm.items;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.world.FactoryAdvanced;
|
||||
import com.hbm.world.FactoryTitanium;
|
||||
import com.hbm.world.FusionReactor;
|
||||
import com.hbm.world.NuclearReactor;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.ChatComponentText;
|
||||
import net.minecraft.world.World;
|
||||
import scala.Int;
|
||||
|
||||
public class ItemWandS extends Item {
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool)
|
||||
{
|
||||
list.add("Creative-only item");
|
||||
list.add("\"Instant structures for everyone!\"");
|
||||
list.add("(Cycle with shift-right click,");
|
||||
list.add("spawn structures with right click!)");
|
||||
if(itemstack.stackTagCompound != null)
|
||||
{
|
||||
switch(itemstack.stackTagCompound.getInteger("building"))
|
||||
{
|
||||
case 0:
|
||||
list.add("Structure: Titanium Factory");
|
||||
break;
|
||||
case 1:
|
||||
list.add("Structure: Advanced Factory");
|
||||
break;
|
||||
case 2:
|
||||
list.add("Structure: Nuclear Reactor");
|
||||
break;
|
||||
case 3:
|
||||
list.add("Structure: Fusion Reactor");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_)
|
||||
{
|
||||
if(stack.stackTagCompound == null)
|
||||
{
|
||||
stack.stackTagCompound = new NBTTagCompound();
|
||||
stack.stackTagCompound.setInteger("building", 0);
|
||||
}
|
||||
|
||||
boolean up = player.rotationPitch <= 0.5F;
|
||||
|
||||
if(!world.isRemote)
|
||||
{
|
||||
Random rand = new Random();
|
||||
|
||||
switch(stack.stackTagCompound.getInteger("building"))
|
||||
{
|
||||
case 0:
|
||||
new FactoryTitanium().generate(world, rand, x, up ? y : y - 2, z);
|
||||
break;
|
||||
case 1:
|
||||
new FactoryAdvanced().generate(world, rand, x, up ? y : y - 2, z);
|
||||
break;
|
||||
case 2:
|
||||
new NuclearReactor().generate(world, rand, x, up ? y : y - 4, z);
|
||||
break;
|
||||
case 3:
|
||||
new FusionReactor().generate(world, rand, x, up ? y : y - 4, z);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
|
||||
if(player.isSneaking())
|
||||
{
|
||||
if(stack.stackTagCompound == null)
|
||||
{
|
||||
stack.stackTagCompound = new NBTTagCompound();
|
||||
stack.stackTagCompound.setInteger("building", 0);
|
||||
} else {
|
||||
int i = stack.stackTagCompound.getInteger("building");
|
||||
i++;
|
||||
stack.stackTagCompound.setInteger("building", i);
|
||||
if(i >= 4) {
|
||||
stack.stackTagCompound.setInteger("building", 0);
|
||||
}
|
||||
|
||||
if(world.isRemote)
|
||||
{
|
||||
switch(i)
|
||||
{
|
||||
case 0:
|
||||
player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory"));
|
||||
break;
|
||||
case 1:
|
||||
player.addChatMessage(new ChatComponentText("Set Structure: Advanced Factory"));
|
||||
break;
|
||||
case 2:
|
||||
player.addChatMessage(new ChatComponentText("Set Structure: Nuclear Reactor"));
|
||||
break;
|
||||
case 3:
|
||||
player.addChatMessage(new ChatComponentText("Set Structure: Fusion Reactor"));
|
||||
break;
|
||||
default:
|
||||
player.addChatMessage(new ChatComponentText("Set Structure: Titanium Factory"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return stack;
|
||||
}
|
||||
}
|
||||
@ -447,8 +447,9 @@ public class ModItems {
|
||||
public static Item hazmat_plate;
|
||||
public static Item hazmat_legs;
|
||||
public static Item hazmat_boots;
|
||||
|
||||
|
||||
public static Item wand;
|
||||
public static Item wand_s;
|
||||
|
||||
public static Item cape_test;
|
||||
public static Item cape_radiation;
|
||||
@ -456,6 +457,7 @@ public class ModItems {
|
||||
public static Item cape_schrabidium;
|
||||
public static Item cape_hbm;
|
||||
public static Item cape_dafnik;
|
||||
public static Item cape_lpkukin;
|
||||
|
||||
public static Item nuke_starter_kit;
|
||||
public static Item nuke_advanced_kit;
|
||||
@ -856,8 +858,9 @@ public class ModItems {
|
||||
|
||||
factory_core_titanium = new ItemBattery(70400).setUnlocalizedName("factory_core_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":factory_core_titanium");
|
||||
factory_core_advanced = new ItemBattery(41600).setUnlocalizedName("factory_core_advanced").setMaxStackSize(1).setCreativeTab(MainRegistry.tabParts).setTextureName(RefStrings.MODID + ":factory_core_advanced");
|
||||
|
||||
|
||||
wand = new ItemWand().setUnlocalizedName("wand").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand");
|
||||
wand_s = new ItemWandS().setUnlocalizedName("wand_s").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setFull3D().setTextureName(RefStrings.MODID + ":wand_s");
|
||||
|
||||
nuke_starter_kit = new ItemStarterKit().setUnlocalizedName("nuke_starter_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_starter_kit");
|
||||
nuke_advanced_kit = new ItemStarterKit().setUnlocalizedName("nuke_advanced_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.tabNuke).setTextureName(RefStrings.MODID + ":nuke_advanced_kit");
|
||||
@ -949,6 +952,7 @@ public class ModItems {
|
||||
cape_schrabidium = new ArmorModel(MainRegistry.enumArmorMaterialSchrabidium, 9, 1).setUnlocalizedName("cape_schrabidium").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_schrabidium");
|
||||
cape_hbm = new ArmorModel(MainRegistry.enumArmorMaterialEuphemium, 9, 1).setUnlocalizedName("cape_hbm").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown");
|
||||
cape_dafnik = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_dafnik").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown");
|
||||
cape_lpkukin = new ArmorModel(MainRegistry.enumArmorMaterialEmerald, 9, 1).setUnlocalizedName("cape_lpkukin").setCreativeTab(MainRegistry.tabNuke).setMaxStackSize(1).setTextureName(RefStrings.MODID + ":cape_unknown");
|
||||
|
||||
schrabidium_hammer = new WeaponSpecial(MainRegistry.enumToolMaterialHammer).setUnlocalizedName("schrabidium_hammer").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":schrabidium_hammer");
|
||||
euphemium_stopper = new ItemSyringe().setUnlocalizedName("euphemium_stopper").setMaxStackSize(1).setFull3D().setTextureName(RefStrings.MODID + ":euphemium_stopper");
|
||||
@ -1333,6 +1337,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(cape_schrabidium, cape_schrabidium.getUnlocalizedName());
|
||||
GameRegistry.registerItem(cape_hbm, cape_hbm.getUnlocalizedName());
|
||||
GameRegistry.registerItem(cape_dafnik, cape_dafnik.getUnlocalizedName());
|
||||
GameRegistry.registerItem(cape_lpkukin, cape_lpkukin.getUnlocalizedName());
|
||||
|
||||
//Tools
|
||||
GameRegistry.registerItem(schrabidium_sword, schrabidium_sword.getUnlocalizedName());
|
||||
@ -1455,6 +1460,7 @@ public class ModItems {
|
||||
|
||||
//OP Tools
|
||||
GameRegistry.registerItem(wand, wand.getUnlocalizedName());
|
||||
GameRegistry.registerItem(wand_s, wand_s.getUnlocalizedName());
|
||||
GameRegistry.registerItem(euphemium_stopper, euphemium_stopper.getUnlocalizedName());
|
||||
|
||||
//Kits
|
||||
|
||||
@ -3,6 +3,7 @@ package com.hbm.lib;
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.main.MainRegistry;
|
||||
import com.hbm.world.Antenna;
|
||||
import com.hbm.world.Bunker;
|
||||
import com.hbm.world.CrashedVertibird;
|
||||
@ -131,7 +132,7 @@ public class HbmWorldGen implements IWorldGenerator {
|
||||
(new WorldGenMinable(ModBlocks.ore_beryllium, 4)).generate(world, rand, randPosX, randPosY, randPosZ);
|
||||
}
|
||||
|
||||
|
||||
if(MainRegistry.enableDungeons) {
|
||||
|
||||
BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(i, j);
|
||||
|
||||
@ -282,6 +283,8 @@ public class HbmWorldGen implements IWorldGenerator {
|
||||
|
||||
new Spaceship().generate(world, rand, x, y, z);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -451,6 +451,7 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SSS", "PMP", "SSS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.reeds });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.syringe_antidote, 6), new Object[] { "SPS", "SMS", "SPS", 'S', ModItems.syringe_empty, 'P', Items.pumpkin_seeds, 'M', Items.reeds });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_poison, 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.syringe_empty, 'S', Items.spider_eye, 'L', "dustLead" }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.syringe_poison, 1), new Object[] { "SLS", "LCL", "SLS", 'C', ModItems.syringe_empty, 'S', Items.spider_eye, 'L', ModItems.powder_poison });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SPS", "NCN", "SPS", 'C', ModItems.syringe_empty, 'S', "sulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SNS", "PCP", "SNS", 'C', ModItems.syringe_empty, 'S', "sulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.syringe_awesome, 1), new Object[] { "SPS", "NCN", "SPS", 'C', ModItems.syringe_empty, 'S', "dustSulfur", 'P', ModItems.nugget_pu239, 'N', ModItems.nugget_pu238 }));
|
||||
|
||||
@ -157,7 +157,9 @@ public class MainRegistry
|
||||
public static CreativeTabs tabNuke = new NukeTab(CreativeTabs.getNextID(), "tabNuke");
|
||||
|
||||
public static boolean enableDebugMode = true;
|
||||
public static boolean enableMycelium = true;
|
||||
public static boolean enableMycelium = false;
|
||||
public static boolean enableDungeons = true;
|
||||
public static boolean enableMDOres = true;
|
||||
public static int gadgetRadius = 150;
|
||||
public static int boyRadius = 120;
|
||||
public static int manRadius = 175;
|
||||
@ -370,7 +372,9 @@ public class MainRegistry
|
||||
Configuration config = new Configuration(event.getSuggestedConfigurationFile());
|
||||
config.load();
|
||||
enableDebugMode = config.get(Configuration.CATEGORY_GENERAL, "_enableDebugMode", false).getBoolean(true);
|
||||
enableMycelium = config.get(Configuration.CATEGORY_GENERAL, "_enableMyceliumSpread", true).getBoolean(true);
|
||||
enableMycelium = config.get(Configuration.CATEGORY_GENERAL, "_enableMyceliumSpread", false).getBoolean(false);
|
||||
enableDungeons = config.get(Configuration.CATEGORY_GENERAL, "_enableDungeonSpawn", true).getBoolean(true);
|
||||
enableMDOres = config.get(Configuration.CATEGORY_GENERAL, "_enableOresInModdedDimensions", true).getBoolean(true);
|
||||
|
||||
Property propGadget = config.get(Configuration.CATEGORY_GENERAL, "gadgetRadius", 150);
|
||||
propGadget.comment = "Radius of the Gadget";
|
||||
|
||||
71
com/hbm/world/FactoryAdvanced.java
Normal file
71
com/hbm/world/FactoryAdvanced.java
Normal file
@ -0,0 +1,71 @@
|
||||
//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL"
|
||||
|
||||
package com.hbm.world;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.gen.feature.WorldGenerator;
|
||||
|
||||
public class FactoryAdvanced extends WorldGenerator
|
||||
{
|
||||
Block Block1 = ModBlocks.factory_advanced_hull;
|
||||
Block Block2 = ModBlocks.factory_advanced_conductor;
|
||||
Block Block3 = ModBlocks.factory_advanced_furnace;
|
||||
Block Block4 = ModBlocks.factory_advanced_core;
|
||||
|
||||
public boolean generate(World world, Random rand, int x, int y, int z)
|
||||
{
|
||||
int i = rand.nextInt(1);
|
||||
|
||||
if(i == 0)
|
||||
{
|
||||
generate_r0(world, rand, x, y, z);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
public boolean generate_r0(World world, Random rand, int x, int y, int z)
|
||||
{
|
||||
x -= 1;
|
||||
z -= 1;
|
||||
|
||||
world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 0, Block3, 2, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 1, Block3, 4, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 1, Block4, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 1, Block3, 5, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 2, Block3, 3, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 2, Block1, 0, 3);
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
72
com/hbm/world/FactoryTitanium.java
Normal file
72
com/hbm/world/FactoryTitanium.java
Normal file
@ -0,0 +1,72 @@
|
||||
//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL"
|
||||
|
||||
package com.hbm.world;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.gen.feature.WorldGenerator;
|
||||
|
||||
|
||||
public class FactoryTitanium extends WorldGenerator
|
||||
{
|
||||
Block Block1 = ModBlocks.factory_titanium_hull;
|
||||
Block Block2 = ModBlocks.factory_titanium_conductor;
|
||||
Block Block3 = ModBlocks.factory_titanium_furnace;
|
||||
Block Block4 = ModBlocks.factory_titanium_core;
|
||||
|
||||
public boolean generate(World world, Random rand, int x, int y, int z)
|
||||
{
|
||||
int i = rand.nextInt(1);
|
||||
|
||||
if(i == 0)
|
||||
{
|
||||
generate_r0(world, rand, x, y, z);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
public boolean generate_r0(World world, Random rand, int x, int y, int z)
|
||||
{
|
||||
x -= 1;
|
||||
z -= 1;
|
||||
|
||||
world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 0, Block3, 2, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 1, Block3, 4, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 1, Block4, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 1, Block3, 5, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 2, Block3, 3, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 2, Block1, 0, 3);
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
1492
com/hbm/world/FusionReactor.java
Normal file
1492
com/hbm/world/FusionReactor.java
Normal file
File diff suppressed because it is too large
Load Diff
171
com/hbm/world/NuclearReactor.java
Normal file
171
com/hbm/world/NuclearReactor.java
Normal file
@ -0,0 +1,171 @@
|
||||
//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL"
|
||||
|
||||
package com.hbm.world;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.gen.feature.WorldGenerator;
|
||||
|
||||
public class NuclearReactor extends WorldGenerator
|
||||
{
|
||||
Block Block1 = ModBlocks.brick_concrete;
|
||||
Block Block2 = ModBlocks.reactor_element;
|
||||
Block Block3 = ModBlocks.reactor_control;
|
||||
Block Block4 = ModBlocks.reactor_conductor;
|
||||
Block Block5 = ModBlocks.reactor_hatch;
|
||||
Block Block6 = ModBlocks.reactor_computer;
|
||||
|
||||
public boolean generate(World world, Random rand, int x, int y, int z)
|
||||
{
|
||||
int i = rand.nextInt(1);
|
||||
|
||||
if(i == 0)
|
||||
{
|
||||
generate_r0(world, rand, x, y, z);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
public boolean generate_r0(World world, Random rand, int x, int y, int z)
|
||||
{
|
||||
x -= 2;
|
||||
z -= 2;
|
||||
|
||||
world.setBlock(x + 0, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 0, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 0, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 2, ModBlocks.red_wire_coated, 0, 3);
|
||||
world.setBlock(x + 3, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 0, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 0, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 0, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 0, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 0, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 0, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 0, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 0, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 1, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 1, Block3, 0, 3);
|
||||
world.setBlock(x + 3, y + 1, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 4, y + 1, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 2, Block3, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 2, Block4, 0, 3);
|
||||
world.setBlock(x + 3, y + 1, z + 2, Block3, 0, 3);
|
||||
world.setBlock(x + 4, y + 1, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 3, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 3, Block3, 0, 3);
|
||||
world.setBlock(x + 3, y + 1, z + 3, Block2, 0, 3);
|
||||
world.setBlock(x + 4, y + 1, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 1, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 1, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 1, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 1, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 1, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 0, Block5, 2, 3);
|
||||
world.setBlock(x + 3, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 2, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 1, Block3, 0, 3);
|
||||
world.setBlock(x + 3, y + 2, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 4, y + 2, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 2, Block5, 4, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 2, Block3, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 2, Block6, 0, 3);
|
||||
world.setBlock(x + 3, y + 2, z + 2, Block3, 0, 3);
|
||||
world.setBlock(x + 4, y + 2, z + 2, Block5, 5, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 3, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 3, Block3, 0, 3);
|
||||
world.setBlock(x + 3, y + 2, z + 3, Block2, 0, 3);
|
||||
world.setBlock(x + 4, y + 2, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 2, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 2, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 2, z + 4, Block5, 3, 3);
|
||||
world.setBlock(x + 3, y + 2, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 2, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 3, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 3, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 3, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 3, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 3, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 3, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 3, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 3, z + 1, Block3, 0, 3);
|
||||
world.setBlock(x + 3, y + 3, z + 1, Block2, 0, 3);
|
||||
world.setBlock(x + 4, y + 3, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 3, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 3, z + 2, Block3, 0, 3);
|
||||
world.setBlock(x + 2, y + 3, z + 2, Block4, 0, 3);
|
||||
world.setBlock(x + 3, y + 3, z + 2, Block3, 0, 3);
|
||||
world.setBlock(x + 4, y + 3, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 3, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 3, z + 3, Block2, 0, 3);
|
||||
world.setBlock(x + 2, y + 3, z + 3, Block3, 0, 3);
|
||||
world.setBlock(x + 3, y + 3, z + 3, Block2, 0, 3);
|
||||
world.setBlock(x + 4, y + 3, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 3, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 3, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 3, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 3, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 3, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 4, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 4, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 4, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 4, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 4, z + 0, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 4, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 4, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 4, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 4, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 4, z + 1, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 4, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 4, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 4, z + 2, ModBlocks.red_wire_coated, 0, 3);
|
||||
world.setBlock(x + 3, y + 4, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 4, z + 2, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 4, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 4, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 4, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 4, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 4, z + 3, Block1, 0, 3);
|
||||
world.setBlock(x + 0, y + 4, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 1, y + 4, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 2, y + 4, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 3, y + 4, z + 4, Block1, 0, 3);
|
||||
world.setBlock(x + 4, y + 4, z + 4, Block1, 0, 3);
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user