Résolu Faire apparaitre des structure en jeu.
-
Lol ! Je l’est dit c’est un élément craftable XD, je craft une plante “génétiquement modifier” donc il se génère quand je la plante sois en attendent qu’elle pousse ou en utilisent de la bone meal x).
-
Et quand la plante pousse elle génère la structure c’est ça?
-
Yep s’est sa !
ou a tu vue la faute ? -
Dans ce cas il faut préciser, car tu dis que tu veux faire apparaître une structure en jeu, mais il faut nous dire quoi précisément, si c’est un arbre, dans ce cas inutile de parler de structure, mais… d’arbre ! xD
-
nana ! attention, je veux faire apparaître une structure COMME si c’été un arbre.
PS: oui désolé j’ai des difficulté d’expression même a l’écrit x)___
désolé double poste, bon du coup je vais faire du spoil:
:::En faite ma “fameuse” structure est un champignon extra géant.
Content ? J’ai gâchai la surprise T_T.:::
-
Dans ce cas il faut la faire générer comme un arbre, il te suffit de régler la fréquence d’apparition, puis c’est bon
-
… :(, je ne veux pas qu’il pope vous le faite exprès ? XD
C’est un crafte ! Jarrète pas de le répétait, on peu le faire apparaître SEULEMENT si on a sa pousse, donc il faut le crafter.Désolé de m’emportai, mais a force de répéter toujours la même chose sa échauffe les neurone x).
-
-
Eu … lol
tu aurai pus évitais se genre de chose quand même lol. -
Il nous faut le code de la pousse et le nom de ta classe du worldgen de ta structure
-
Ok, Je fini encor qu’elle que teste et je vous passe tout sa.
–-------
Bon … sa fonctionne toujours pas:
:::[CODE_Java]package genetical_modifier.common;
import genetical_modifier.common.structure.MGMgen;
import java.util.List;
import java.util.Random;import net.minecraft.block.BlockSapling;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;public class MGM extends BlockSapling
{
public static final String[] WOOD_TYPES = new String[] {“Mgm”};protected MGM(int i, int j)
{
super(i);
float f = 0.4F;
setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f);
this.setCreativeTab(CreativeTabs.tabDecorations);
}public void growTree(World world, int i, int j, int k, Random random)
{
int l = world.getBlockMetadata(i, j, k) & 3;
world.setBlock(i, j, k, 0);
Object obj = null;
obj = new MGMgen(false);
if(!((WorldGenerator) (obj)).generate(world, random, i, j, k))
{
world.setBlockMetadataWithNotify(i, j, k, blockID, l);
}
}@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister iconregister)
{
this.blockIcon = iconregister.registerIcon(“GeneticalModifier:Mgm”);
}@SideOnly(Side.CLIENT)
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
{
par3List.add(new ItemStack(par1, 1, 0));}
public void fertilize(World world, int x, int y, int z)
{}
}[/CODE_Java]:::
Le nom de la class de génération est MGMgen.Et sinon j’ai aussi pour la bone meal qui me mais des erreur ou c’est souligné:
Erreur:
:::[CODE_Java]package genetical_modifier.common;
import net.minecraftforge.event.Event;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.event.entity.player.BonemealEvent;public class ModBoneMeal
{@ForgeSubscribe
public void onUseBonemeal(BonemealEvent event)
{
if (event.ID == genetical_modifier.common.MGM.blockID)
{
if (!event.world.isRemote)
{
((MGM)genetical_modifier.common.MGM.blockID).growTree(event.world, event.X, event.Y, event.Z, event.world.rand);
event.setResult(Event.Result.ALLOW);
}
}
}
}[/CODE_Java]:::
Source du tuto en 1.4.7 que je suis: http://minecraft.fr/forum/index.php?threads/modding-1-5-2-créer-un-mod-avec-minecraft-forge-en-cour-dupdate.59416/
pourtant quand je regarde sa devrais fonctionnai :(.
Et quand je lance le debug SENS la bone meal, sa crash.–-------
Quand sa crash sa doit venir du niveau des texture, car quand je supprime la ligne de commande qui dit ou aller cherchai la texture, le jeux se lance sens problème, mais par contre, la pouce a la texture d’une pouce normal. -
genetical_modifier.common.MGM.blockID doit être l’id de ton bloc, MGM étant ta classe principale, ça risque pas de fonctionner … Il faut que tu mettes :
genetical_modifier.common.MGM.<nom de=“” ton=“” sapling=“”>.blockID</nom> -
Je te remercie, mais j’ai déjà testait sa et sa ne fonctionne pas x), Tu parle bien du code pour la bone meal ? Pour pas que je me goure x)
-
Cela fonctionne comme ça pour moi :
@ForgeSubscribe public void onUseBonemeal(BonemealEvent event) { if (event.ID == TaClassePrincipale.MGM.blockID) { if (!event.world.isRemote) { ((MGM)TaClassePrincipale.MGM).growTree(event.world, event.X, event.Y, event.Z, event.world.rand); event.setResult(Event.Result.ALLOW); } } }
-
Hum oui peut être parce que on ne voie plus souligné en rouge, après, ésque sa marche en jeu ? x)
–-------
Bon j’ai testai, et l’or du debug sa ne m’afiche pas d’erreur … et quand je fais un click droit avec de la bone meal sur ma pousse, sa ne fais rien … donc : sois j’avais reson, ou soit sa doit vennir de mon fichier de generation … :
:::
[CODE_Java]package genetical_modifier.common.structure;
import java.util.Random;import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;public class MGMgen extends WorldGenerator
{
public MGMgen(boolean par1)
{
super(par1);
}
public boolean generate(World world, Random rand, int i, int j, int k)
{
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 18, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 19, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 20, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 21, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 22, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 23, k + 8, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 23, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 23, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 23, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 23, k + 12, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 0, j + 24, k + 9, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 24, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 24, k + 11, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 17, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 17, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 17, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 17, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 18, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 18, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 18, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 18, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 19, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 19, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 19, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 19, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 20, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 20, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 20, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 20, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 21, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 21, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 21, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 21, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 22, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 22, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 22, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 22, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 23, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 23, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 23, k + 7, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 23, k + 13, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 23, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 23, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 24, k + 6, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 24, k + 7, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 24, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 24, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 24, k + 13, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 24, k + 14, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 25, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 1, j + 26, k + 8, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 1, j + 26, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 26, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 26, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 1, j + 26, k + 12, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 17, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 17, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 18, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 18, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 19, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 19, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 20, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 20, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 21, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 21, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 22, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 22, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 23, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 23, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 24, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 24, k + 5, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 24, k + 15, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 24, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 25, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 25, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 25, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 25, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 26, k + 6, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 26, k + 7, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 26, k + 13, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 26, k + 14, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 2, j + 27, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 17, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 17, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 18, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 18, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 19, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 19, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 20, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 20, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 21, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 21, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 22, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 22, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 23, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 23, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 24, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 24, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 25, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 25, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 26, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 26, k + 5, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 26, k + 15, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 26, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 27, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 27, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 27, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 27, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 3, j + 28, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 17, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 17, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 18, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 18, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 19, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 19, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 20, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 20, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 21, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 21, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 22, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 22, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 23, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 23, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 24, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 24, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 25, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 25, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 26, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 26, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 27, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 27, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 28, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 28, k + 6, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 28, k + 14, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 28, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 12, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 4, j + 29, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 17, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 17, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 18, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 18, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 19, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 19, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 20, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 20, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 21, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 21, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 22, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 22, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 23, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 23, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 24, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 5, j + 24, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 5, j + 25, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 25, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 26, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 5, j + 26, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 5, j + 27, k + 3, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 27, k + 17, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 28, k + 4, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 28, k + 5, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 5, j + 28, k + 15, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 5, j + 28, k + 16, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 29, k + 6, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 29, k + 7, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 5, j + 29, k + 13, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 5, j + 29, k + 14, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 5, j + 30, k + 8, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 5, j + 30, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 5, j + 30, k + 10, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 5, j + 30, k + 11, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 5, j + 30, k + 12, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 6, j + 17, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 17, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 18, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 18, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 19, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 19, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 20, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 20, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 21, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 21, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 22, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 22, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 23, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 23, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 24, k + 1, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 6, j + 24, k + 19, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 6, j + 25, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 25, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 26, k + 2, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 6, j + 26, k + 18, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 6, j + 27, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 27, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 28, k + 4, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 6, j + 28, k + 16, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 6, j + 29, k + 5, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 6, j + 29, k + 6, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 29, k + 14, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 29, k + 15, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 8, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 9, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 10, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 11, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 12, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 6, j + 30, k + 13, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 7, j + 17, k + 0, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 7, j + 17, k + 20, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 7, j + 18, k + 0, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 7, j + 18, k + 20, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 7, j + 19, k + 0, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 7, j + 19, k + 20, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 7, j + 20, k + 0, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 7, j + 20, k + 20, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 7, j + 21, k + 0, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 7, j + 21, k + 20, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 7, j + 22, k + 0, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 7, j + 22, k + 20, Block.cloth.blockID, 4);
world.setBlockMetadataWithNotify(i + 10, j + 21, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 21, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 22, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 22, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 22, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 22, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 22, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 23, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 23, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 23, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 23, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 23, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 24, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 24, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 24, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 24, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 24, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 25, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 25, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 25, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 25, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 25, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 26, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 26, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 26, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 26, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 26, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 27, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 27, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 27, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 27, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 27, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 28, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 28, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 28, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 28, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 28, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 29, k + 4, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 29, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 29, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 29, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 29, k + 16, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 5, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 6, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 9, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 11, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 14, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 30, k + 15, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 7, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 8, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 9, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 10, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 11, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 12, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 10, j + 31, k + 13, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 0, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 1, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 2, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 3, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 4, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 5, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 6, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 7, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 8, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 9, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 10, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 11, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 12, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 13, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 14, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 15, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 16, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 17, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 17, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 17, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 18, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 18, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 18, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 19, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 19, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 19, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 20, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 20, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 20, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 21, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 21, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 21, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 22, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 22, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 22, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 23, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 23, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 23, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 24, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 11, j + 24, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 24, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 11, j + 25, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 25, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 25, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 26, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 26, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 26, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 27, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 27, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 27, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 28, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 28, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 28, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 29, k + 4, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 29, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 29, k + 16, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 30, k + 5, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 11, j + 30, k + 6, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 30, k + 10, Block.cloth.blockID, 10);
world.setBlockMetadataWithNotify(i + 11, j + 30, k + 14, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 30, k + 15, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 7, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 8, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 9, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 10, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 11, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 12, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 11, j + 31, k + 13, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 12, j + 17, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 17, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 18, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 18, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 19, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 19, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 20, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 20, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 21, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 21, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 22, k + 0, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 22, k + 20, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 23, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 12, j + 23, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 12, j + 24, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 24, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 25, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 25, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 26, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 12, j + 26, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 12, j + 27, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 27, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 28, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 28, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 29, k + 4, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 12, j + 29, k + 16, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 12, j + 30, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 12, j + 30, k + 6, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 30, k + 7, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 30, k + 13, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 30, k + 14, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 30, k + 15, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 12, j + 31, k + 8, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 12, j + 31, k + 9, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 31, k + 10, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 31, k + 11, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 12, j + 31, k + 12, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 17, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 17, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 18, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 18, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 19, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 19, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 20, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 20, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 21, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 21, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 22, k + 0, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 22, k + 20, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 23, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 13, j + 23, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 13, j + 24, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 13, j + 24, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 13, j + 25, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 25, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 26, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 13, j + 26, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 13, j + 27, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 27, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 28, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 28, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 29, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 29, k + 5, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 13, j + 29, k + 15, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 13, j + 29, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 30, k + 6, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 30, k + 7, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 13, j + 30, k + 8, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 13, j + 30, k + 12, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 13, j + 30, k + 13, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 13, j + 30, k + 14, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 13, j + 31, k + 9, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 13, j + 31, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 13, j + 31, k + 11, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 14, j + 17, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 17, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 18, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 18, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 19, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 19, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 20, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 20, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 21, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 21, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 22, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 22, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 23, k + 1, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 23, k + 19, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 24, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 14, j + 24, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 14, j + 25, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 25, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 26, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 14, j + 26, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 14, j + 27, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 27, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 28, k + 4, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 14, j + 28, k + 16, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 14, j + 29, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 14, j + 29, k + 6, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 29, k + 14, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 29, k + 15, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 7, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 8, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 9, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 10, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 11, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 12, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 14, j + 30, k + 13, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 17, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 17, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 18, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 18, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 19, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 19, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 20, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 20, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 21, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 21, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 22, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 22, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 23, k + 1, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 23, k + 19, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 24, k + 2, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 15, j + 24, k + 18, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 15, j + 25, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 25, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 26, k + 3, Block.cloth.blockID, 1);
world.setBlockMetadataWithNotify(i + 15, j + 26, k + 17, Block.cloth.blockID, 5);
world.setBlockMetadataWithNotify(i + 15, j + 27, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 27, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 28, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 28, k + 5, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 15, j + 28, k + 15, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 15, j + 28, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 29, k + 6, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 29, k + 7, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 15, j + 29, k + 13, Block.cloth.blockID, 9);
world.setBlockMetadataWithNotify(i + 15, j + 29, k + 14, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 15, j + 30, k + 8, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 15, j + 30, k + 9, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 15, j + 30, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 15, j + 30, k + 11, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 15, j + 30, k + 12, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 17, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 17, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 18, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 18, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 19, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 19, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 20, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 20, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 21, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 21, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 22, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 22, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 23, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 23, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 24, k + 2, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 24, k + 18, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 25, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 25, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 26, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 26, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 27, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 27, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 28, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 28, k + 6, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 28, k + 14, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 28, k + 15, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 7, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 8, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 9, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 11, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 12, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 16, j + 29, k + 13, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 17, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 17, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 18, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 18, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 19, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 19, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 20, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 20, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 21, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 21, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 22, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 22, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 23, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 23, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 24, k + 3, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 24, k + 17, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 25, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 25, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 26, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 26, k + 5, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 26, k + 15, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 26, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 27, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 27, k + 6, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 27, k + 14, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 27, k + 15, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 7, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 8, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 9, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 11, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 12, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 17, j + 28, k + 13, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 17, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 17, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 18, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 18, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 19, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 19, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 20, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 20, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 21, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 21, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 22, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 22, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 23, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 23, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 24, k + 4, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 24, k + 5, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 24, k + 15, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 24, k + 16, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 25, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 25, k + 6, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 25, k + 14, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 25, k + 15, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 26, k + 6, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 26, k + 7, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 26, k + 13, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 26, k + 14, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 7, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 8, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 9, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 11, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 12, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 18, j + 27, k + 13, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 19, j + 17, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 19, j + 17, k + 6, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 19, j + 17, k + 14, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 19, j + 17, k + 15, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 19, j + 18, k + 5, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 19, j + 18, k + 6, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 19, j + 18, k + 14, Block.cloth.blockID, 7);return true;
}public int getRenderType()
{
return 1;
}
}[/CODE_Java]
::: -
Oui ça devrait fonctionner… Normalement ;D
-
up
Je up car je viens d’éditer mon précédent message.
–-------Bon en faite sa faisés rien parce que j’avais oublier d’enlevé des “//” devant un ligne de code XD, mais sinon quand je clique dessus, ma pousse disparais comme sa O_O.
-
Dans ta classe principale dans la partie @Init tu as ajouter :
MinecraftForge.EVENT_BUS.register(new ModBoneMeal());
-
… Tu crois que je t’ai attendue pour le faire ? x)
Nan la je voie pas d’ou viens le problème.
Bon voila :
class principale “les code de la pouce avec le petit boue de code pour la bone meal”
:::[CODE_Java]
@Init
public void load(FMLInitializationEvent event)
{
MinecraftForge.EVENT_BUS.register(new ModBoneMeal());
}
–
@PostInit
public void modloaded(FMLPostInitializationEvent event)Mgm = new MGM(515, 0).setStepSound(Block.soundGrassFootstep).setHardness(0.1F).setUnlocalizedName(“Mgm”);
GameRegistry.registerBlock(Mgm, “Mgm”);
LanguageRegistry.addName(Mgm, “Mushroom genetically modified”);
[/CODE_Java]:::
la class de la pousse
:::[CODE_Java]
package genetical_modifier.common;import genetical_modifier.common.structure.MGMgen;
import java.util.List;
import java.util.Random;import net.minecraft.block.BlockSapling;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;public class MGM extends BlockSapling
{
public static final String[] WOOD_TYPES = new String[] {“Mgm”};protected MGM(int i, int j)
{
super(i);
float f = 0.4F;
setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f);
this.setCreativeTab(CreativeTabs.tabDecorations);
}public void growTree(World world, int i, int j, int k, Random random)
{
int l = world.getBlockMetadata(i, j, k) & 3;
world.setBlock(i, j, k, 0);
Object obj = null;
obj = new MGMgen(false);
if(!((WorldGenerator) (obj)).generate(world, random, i, j, k))
{
world.setBlockMetadataWithNotify(i, j, k, blockID, l);
}
}/* public void registerIcons(IconRegister iconregister)
{
this.blockIcon = iconregister.registerIcon(“GeneticalModifier:Mgm”);
}*/@SideOnly(Side.CLIENT)
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
{
par3List.add(new ItemStack(par1, 1, 0));}
public void fertilize(World world, int x, int y, int z)
{}
}
[/CODE_Java]:::
Le gen de ma structure, j’enlève certaine ligne de la génération vue qu’il y a beaucoup de ligne, mais s’est très répétitif:
:::[CODE_Java]
package genetical_modifier.common.structure;
import java.util.Random;import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;public class MGMgen extends WorldGenerator
{
public MGMgen(boolean par1)
{
super(par1);
}
public boolean generate(World world, Random rand, int i, int j, int k)
{
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 7, Block.cloth.blockID, 2);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 8, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 9, Block.cloth.blockID, 3);
world.setBlockMetadataWithNotify(i + 0, j + 17, k + 10, Block.cloth.blockID, 3);//–-----------Beaucoup de ligne du même genre-----------------
world.setBlockMetadataWithNotify(i + 20, j + 22, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 22, k + 11, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 22, k + 12, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 22, k + 13, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 20, j + 23, k + 8, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 20, j + 23, k + 9, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 23, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 23, k + 11, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 23, k + 12, Block.cloth.blockID, 6);
world.setBlockMetadataWithNotify(i + 20, j + 24, k + 9, Block.cloth.blockID, 8);
world.setBlockMetadataWithNotify(i + 20, j + 24, k + 10, Block.cloth.blockID, 7);
world.setBlockMetadataWithNotify(i + 20, j + 24, k + 11, Block.cloth.blockID, 6);return true;
}public int getRenderType()
{
return 1;
}
}
[/CODE_Java]:::
La classe pour la bonne meal
:::[CODE_Java]
package genetical_modifier.common;import net.minecraftforge.event.Event;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.event.entity.player.BonemealEvent;public class ModBoneMeal
{@ForgeSubscribe
public void onUseBonemeal(BonemealEvent event)
{
if (event.ID == Genetical_modifier.Mgm.blockID)
{
if (!event.world.isRemote)
{
((MGM)Genetical_modifier.Mgm).growTree(event.world, event.X, event.Y, event.Z, event.world.rand);
event.setResult(Event.Result.ALLOW);
}
}
}
}
[/CODE_Java]:::
et les logs :
:::[CODE_Java]
2013-06-29 23:12:52 [Infos] [ForgeModLoader] Forge Mod Loader version 5.2.23.738 for Minecraft 1.5.2 loading
2013-06-29 23:12:52 [Infos] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.8.0-ea, running on Windows Vista:amd64:6.0, installed at C:\Program Files\Java\jre8
2013-06-29 23:12:52 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-06-29 23:12:52 [Infos] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar
2013-06-29 23:12:53 [Infos] [ForgeModLoader] Download complete
2013-06-29 23:12:53 [Infos] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar
2013-06-29 23:12:58 [Infos] [ForgeModLoader] Download complete
2013-06-29 23:12:58 [Infos] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar
2013-06-29 23:12:58 [Infos] [ForgeModLoader] Download complete
2013-06-29 23:12:58 [Infos] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar
2013-06-29 23:13:03 [Infos] [ForgeModLoader] Download complete
2013-06-29 23:13:03 [Infos] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.2.zip
2013-06-29 23:13:06 [Infos] [ForgeModLoader] Download complete
2013-06-29 23:13:06 [Infos] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/scala-library.jar
2013-06-29 23:13:22 [Infos] [ForgeModLoader] Download complete
2013-06-29 23:13:27 [Infos] [STDOUT] 229 recipes
2013-06-29 23:13:27 [Infos] [STDOUT] 27 achievements
2013-06-29 23:13:27 [Infos] [Minecraft-Client] Setting user: Player734
2013-06-29 23:13:27 [Infos] [STDOUT] (Session ID is -)
2013-06-29 23:13:27 [Infos] [STDERR] Client asked for parameter: server
2013-06-29 23:13:27 [Infos] [Minecraft-Client] LWJGL Version: 2.4.2
2013-06-29 23:13:28 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
2013-06-29 23:13:28 [Infos] [STDOUT] MinecraftForge v7.8.1.738 Initialized
2013-06-29 23:13:28 [Infos] [ForgeModLoader] MinecraftForge v7.8.1.738 Initialized
2013-06-29 23:13:28 [Infos] [STDOUT] Replaced 85 ore recipies
2013-06-29 23:13:28 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
2013-06-29 23:13:28 [Infos] [ForgeModLoader] No mod directory found, creating one: C:\Users\sevenno07\Desktop\Moding Minecraft 1.5.2[moding]\forge\mcp\jars\mods
2013-06-29 23:13:28 [Infos] [ForgeModLoader] Mod directory created successfully
2013-06-29 23:13:28 [Infos] [ForgeModLoader] Config directory created successfully
2013-06-29 23:13:28 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Users\sevenno07\Desktop\Moding Minecraft 1.5.2[moding]\forge\mcp\jars\config\logging.properties
2013-06-29 23:13:28 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-06-29 23:13:29 [Infos] [ForgeModLoader] Searching C:\Users\sevenno07\Desktop\Moding Minecraft 1.5.2[moding]\forge\mcp\jars\mods for mods
2013-06-29 23:13:32 [Infos] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-06-29 23:13:32 [Infos] [mcp] Activating mod mcp
2013-06-29 23:13:32 [Infos] [FML] Activating mod FML
2013-06-29 23:13:32 [Infos] [Forge] Activating mod Forge
2013-06-29 23:13:32 [Infos] [GeneticalModifier] Activating mod GeneticalModifier
2013-06-29 23:13:32 [Infos] [ForgeModLoader] Registering Forge Packet Handler
2013-06-29 23:13:32 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-06-29 23:13:32 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-06-29 23:13:33 [Infos] [STDOUT]
2013-06-29 23:13:33 [Infos] [STDOUT] Starting up SoundSystem…
2013-06-29 23:13:33 [Infos] [STDOUT] Initializing LWJGL OpenAL
2013-06-29 23:13:33 [Infos] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
2013-06-29 23:13:34 [Infos] [STDOUT] OpenAL initialized.
2013-06-29 23:13:34 [Infos] [STDOUT]
2013-06-29 23:13:35 [Infos] [ForgeModLoader] Forge Mod Loader has detected an older LWJGL version, new advanced texture animation features are disabled
2013-06-29 23:13:35 [Infos] [ForgeModLoader] Not using advanced OpenGL 4.3 advanced capability for animations : OpenGL 4.3 is not available
2013-06-29 23:13:35 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/lava_flow.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/water_flow.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/fire_0.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/fire_1.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/lava.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/portal.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/water.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/items/clock.txt
2013-06-29 23:13:36 [Infos] [Minecraft-Client] Found animation info for: textures/items/compass.txt
2013-06-29 23:13:36 [Infos] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2013-06-29 23:13:37 [Avertissement] [Minecraft-Client] TextureManager.createTexture called for file textures/blocks/light_quartzblock_side.png, but that file does not exist. Ignoring.
2013-06-29 23:13:37 [Avertissement] [Minecraft-Client] TextureManager.createTexture called for file textures/blocks/light_quartzblock_lines.png, but that file does not exist. Ignoring.
2013-06-29 23:13:37 [Avertissement] [Minecraft-Client] TextureManager.createTexture called for file textures/blocks/light_quartzblock_chiseled.png, but that file does not exist. Ignoring.
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/lava_flow.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/water_flow.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: mods/GeneticalModifier/textures/blocks/spReedBooster.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/fire_0.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/fire_1.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/lava.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/portal.txt
2013-06-29 23:13:37 [Infos] [Minecraft-Client] Found animation info for: textures/blocks/water.txt
2013-06-29 23:13:38 [Infos] [Minecraft-Client] Found animation info for: textures/items/clock.txt
2013-06-29 23:13:38 [Infos] [Minecraft-Client] Found animation info for: textures/items/compass.txt
2013-06-29 23:14:00 [Infos] [Minecraft-Server] Starting integrated minecraft server version 1.5.2
2013-06-29 23:14:00 [Infos] [Minecraft-Server] Generating keypair
2013-06-29 23:14:01 [Infos] [Minecraft-Server] Converting map!
2013-06-29 23:14:01 [Infos] [Minecraft-Server] Scanning folders…
2013-06-29 23:14:01 [Infos] [Minecraft-Server] Total conversion count is 0
2013-06-29 23:14:02 [Infos] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@773fbd1e)
2013-06-29 23:14:02 [Infos] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@773fbd1e)
2013-06-29 23:14:02 [Infos] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@773fbd1e)
2013-06-29 23:14:02 [Infos] [Minecraft-Server] Preparing start region for level 0
2013-06-29 23:14:03 [Infos] [Minecraft-Server] Preparing spawn area: 4%
2013-06-29 23:14:04 [Infos] [Minecraft-Server] Preparing spawn area: 5%
2013-06-29 23:14:05 [Infos] [Minecraft-Server] Preparing spawn area: 8%
2013-06-29 23:14:06 [Infos] [Minecraft-Server] Preparing spawn area: 13%
2013-06-29 23:14:07 [Infos] [Minecraft-Server] Preparing spawn area: 24%
2013-06-29 23:14:08 [Infos] [Minecraft-Server] Preparing spawn area: 35%
2013-06-29 23:14:09 [Infos] [Minecraft-Server] Preparing spawn area: 47%
2013-06-29 23:14:10 [Infos] [Minecraft-Server] Preparing spawn area: 58%
2013-06-29 23:14:11 [Infos] [Minecraft-Server] Preparing spawn area: 68%
2013-06-29 23:14:12 [Infos] [Minecraft-Server] Preparing spawn area: 78%
2013-06-29 23:14:13 [Infos] [Minecraft-Server] Preparing spawn area: 92%
2013-06-29 23:14:14 [Infos] [Minecraft-Server] Player734[/127.0.0.1:0] logged in with entity id 117 at (-203.5, 63.0, 209.5)
2013-06-29 23:14:16 [Infos] [Minecraft-Server] Saving and pausing game…
2013-06-29 23:14:16 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/Overworld
2013-06-29 23:14:45 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/Nether
2013-06-29 23:14:45 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/The End
2013-06-29 23:14:45 [Avertissement] [Minecraft-Server] Can’t keep up! Did the system time change, or is the server overloaded?
2013-06-29 23:14:52 [Infos] [Minecraft-Server] Saving and pausing game…
2013-06-29 23:14:52 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/Overworld
2013-06-29 23:14:57 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/Nether
2013-06-29 23:14:57 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/The End
2013-06-29 23:14:57 [Infos] [Minecraft-Server] Player734 lost connection: disconnect.quitting
2013-06-29 23:14:57 [Infos] [Minecraft-Server] Stopping singleplayer server as player logged out
2013-06-29 23:15:04 [Infos] [Minecraft-Server] Stopping server
2013-06-29 23:15:04 [Infos] [Minecraft-Server] Saving players
2013-06-29 23:15:04 [Infos] [Minecraft-Server] Saving worlds
2013-06-29 23:15:04 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/Overworld
2013-06-29 23:15:08 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/Nether
2013-06-29 23:15:08 [Infos] [Minecraft-Server] Saving chunks for level ‘New World’/The End
2013-06-29 23:15:16 [Infos] [ForgeModLoader] Unloading dimension 0
2013-06-29 23:15:16 [Infos] [ForgeModLoader] Unloading dimension -1
2013-06-29 23:15:16 [Infos] [ForgeModLoader] Unloading dimension 1
2013-06-29 23:16:44 [Infos] [Minecraft-Client] Stopping!
2013-06-29 23:16:45 [Infos] [STDOUT]
2013-06-29 23:16:45 [Infos] [STDOUT] SoundSystem shutting down…
2013-06-29 23:16:45 [Infos] [STDOUT] Author: Paul Lamb, www.paulscode.com
2013-06-29 23:16:45 [Infos] [STDOUT]
Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[/CODE_Java]:::
Faite pas gaffe au texture “light_quartz” je l’est est pas remise c’est pour sa ^^
Voila, j’espère que vous pourrez m’aidai ‘-’
Cordialement.
-
c’est bizarre, normallement ça devrait être bon
Heu par contre, ton bloc tu dois le preInit, pas le postInit …Au pire, envoie moi toute tes sources, je regarderai de mon côté