help me tree in biome

Started by HEroBrinEkill1 on

Topic category: Help with MCreator software

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help me tree in biome

help me i still dont know how make tree even use mcedit it give me errors message 

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
package mod.mcreator;
Sat, 07/01/2017 - 18:48
package mod.mcreator;   import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.common.BiomeManager; import net.minecraftforge.common.BiomeDictionary;   import net.minecraft.world.gen.feature.WorldGenAbstractTree; import net.minecraft.world.biome.Biome; import net.minecraft.world.World; import net.minecraft.util.math.BlockPos; import net.minecraft.util.ResourceLocation; import net.minecraft.item.ItemStack; import net.minecraft.init.Blocks; import net.minecraft.entity.passive.EntityWolf; import net.minecraft.entity.passive.EntityCow; import net.minecraft.block.state.IBlockState; import net.minecraft.block.Block;   import java.util.Random;   public class mcreator_darkbiome {   static Biome.BiomeProperties customProps = null; public static BiomeGendarkbiome biome = null;   static { customProps = new Biome.BiomeProperties("darkbiome"); customProps.setRainfall(0.19999999999999998F); customProps.setBaseHeight(0.1F); customProps.setHeightVariation(0.19999999999999998F); customProps.setWaterColor(0x000000); biome = new BiomeGendarkbiome(customProps); }   public static Object instance;   public mcreator_darkbiome() { }   public void load(FMLInitializationEvent event) { Biome.REGISTRY.register(41, new ResourceLocation("darkbiome"), biome); BiomeDictionary.addTypes(biome, BiomeDictionary.Type.FOREST); BiomeManager.addSpawnBiome(biome); BiomeManager.addBiome(BiomeManager.BiomeType.WARM, new BiomeManager.BiomeEntry(biome, 10)); }   public void generateNether(World world, Random random, int chunkX, int chunkZ) { }   public void generateSurface(World world, Random random, int chunkX, int chunkZ) { }   public void registerRenderers() { }   public int addFuel(ItemStack fuel) { return 0; }   public void serverLoad(FMLServerStartingEvent event) { }   public void preInit(FMLPreInitializationEvent event) { }   static class BiomeGendarkbiome extends Biome { @SuppressWarnings("unchecked") public BiomeGendarkbiome(Biome.BiomeProperties mycustomProps) { super(mycustomProps); topBlock = mcreator_darkgress.block.getDefaultState(); fillerBlock = mcreator_darkdirt.block.getDefaultState(); theBiomeDecorator.generateLakes = true; theBiomeDecorator.treesPerChunk = 110; theBiomeDecorator.flowersPerChunk = 0; theBiomeDecorator.grassPerChunk = 80; theBiomeDecorator.deadBushPerChunk = 0; theBiomeDecorator.mushroomsPerChunk = 0; theBiomeDecorator.reedsPerChunk = 0; theBiomeDecorator.cactiPerChunk = 0; theBiomeDecorator.sandPerChunk = 0;   this.spawnableMonsterList.clear(); this.spawnableCreatureList.clear(); this.spawnableWaterCreatureList.clear(); this.spawnableCaveCreatureList.clear(); this.spawnableMonsterList.add(new SpawnListEntry(mcreator_darkcreeper.Entitydarkcreeper.class, 5, 1, 5)); this.spawnableMonsterList.add(new SpawnListEntry(mcreator_darksider.Entitydarksider.class, 5, 1, 5)); this.spawnableMonsterList.add(new SpawnListEntry(EntityCow.class, 5, 1, 5)); this.spawnableMonsterList.add(new SpawnListEntry(EntityWolf.class, 5, 1, 5));   }   @Override public WorldGenAbstractTree genBigTreeChance(Random rand) { return new Tree(); }   class Tree extends WorldGenAbstractTree {   public Tree() { super(false); }   public boolean generate(World world, Random par2Random, BlockPos pos) { int i = pos.getX(); int j2 = pos.getY(); int k = pos.getZ();   int chunkX = i >> 4; int chunkZ = k >> 4; int j = world.getChunkFromChunkCoords(chunkX, chunkZ).getHeight(new BlockPos(i & 15, 0, k & 15));   boolean place = true;   for (int y = 0; y < 9; y++) for (int z = 0; z < 9; z++) for (int x = 0; x < 9; x++) if (world.getBlockState(new BlockPos(i + x, j + y + 1, k + z)).getBlock() != Blocks.AIR) place = false;   if (place) { world.setBlockState(new BlockPos(i + 4, j + 0, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 4, j + 1, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 4, j + 2, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 1), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 3, k + 1), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 1), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 3, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 3, k + 2), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 3, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 3, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 3, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 3, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 3, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 3, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 2, j + 3, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 3, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 3, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 7, j + 3, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 1, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 3, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 3, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 3, k + 6), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 3, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 3, k + 7), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 3, k + 7), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 3, k + 7), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 0), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 1), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 1), Block.getBlockById(17).getStateFromMeta(8), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 1), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 4, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 2), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 4, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 4, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 0, j + 4, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 1, j + 4, k + 4), Block.getBlockById(17).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 2, j + 4, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 4, k + 4), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 4, k + 4), Block.getBlockById(17).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 8, j + 4, k + 4), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 4, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 4, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 4, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 4, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 4, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 4, k + 7), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 7), Block.getBlockById(17).getStateFromMeta(8), 3); world.setBlockState(new BlockPos(i + 5, j + 4, k + 7), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 4, k + 8), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 1), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 1), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 1), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 5, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 2), Block.getBlockById(17).getStateFromMeta(8), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 5, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 5, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 5, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 2, j + 5, k + 4), Block.getBlockById(17).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 5, k + 4), Block.getBlockById(17).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 7, j + 5, k + 4), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 1, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 7, j + 5, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 2, j + 5, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 6), Block.getBlockById(17).getStateFromMeta(8), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 5, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 5, k + 7), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 5, k + 7), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 5, j + 5, k + 7), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 6, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 6, k + 2), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 6, k + 2), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 6, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 6, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 6, k + 3), Block.getBlockById(17).getStateFromMeta(8), 3); world.setBlockState(new BlockPos(i + 5, j + 6, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 6, k + 3), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 6, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 3, j + 6, k + 4), Block.getBlockById(17).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 6, k + 4), Block.getBlockById(17).getStateFromMeta(0), 3); world.setBlockState(new BlockPos(i + 5, j + 6, k + 4), Block.getBlockById(17).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 6, j + 6, k + 4), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 2, j + 6, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 6, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 6, k + 5), Block.getBlockById(17).getStateFromMeta(8), 3); world.setBlockState(new BlockPos(i + 5, j + 6, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 6, j + 6, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 6, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 4, j + 6, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 5, j + 6, k + 6), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 7, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 7, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 7, k + 3), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 3, j + 7, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 7, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 5, j + 7, k + 4), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 3, j + 7, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 7, k + 5), Block.getBlockById(18).getStateFromMeta(12), 3); world.setBlockState(new BlockPos(i + 5, j + 7, k + 5), Block.getBlockById(18).getStateFromMeta(4), 3); world.setBlockState(new BlockPos(i + 4, j + 8, k + 4), Block.getBlockById(18).getStateFromMeta(4), 3); }   return true; }   protected boolean canGrowInto(Block blockType) { return true; }   public void generateSaplings(World worldIn, Random random, BlockPos pos) { }   /** * sets dirt at a specific location if it isn't already dirt */ protected void setDirtAt(World worldIn, BlockPos pos) { if (worldIn.getBlockState(pos).getBlock() != Blocks.DIRT) { this.setBlockAndNotifyAdequately(worldIn, pos, Blocks.DIRT.getDefaultState()); } }   public boolean isReplaceable(World world, BlockPos pos) { net.minecraft.block.state.IBlockState state = world.getBlockState(pos); return state.getBlock().isAir(state, world, pos) || state.getBlock().isLeaves(state, world, pos) || state.getBlock().isWood(world, pos) || canGrowInto(state.getBlock()); }   }   @SideOnly(Side.CLIENT) @Override public int getGrassColorAtPos(BlockPos pos) { return 0xffffff; }   @SideOnly(Side.CLIENT) @Override public int getFoliageColorAtPos(BlockPos pos) { return 0xffffff; }   @SideOnly(Side.CLIENT) @Override public int getSkyColorByTemp(float currentTemperature) { return 0x000000; }   }   }
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i stay alone for it 
Mon, 07/03/2017 - 13:45

i stay alone for it