Jump to content

The_SlayerMC

Members
  • Posts

    209
  • Joined

  • Last visited

Everything posted by The_SlayerMC

  1. Hi, I have a mana that's not syncing to client, it has registries and packets, I'm stumped that the mana value is not calling on the client The essence files The rendering The overlay registry Capability registrys network registry I am able to call the value fine with an item right clicking but not with the client rendering Can someone please tell me what im doing wrong
  2. Hi I have a custom chest that is lockable and unlockable, I have found how to change the explosion resistance depending if its locked or not: @Override public float getExplosionResistance(BlockState state, BlockGetter world, BlockPos pos, Explosion explosion) { return state.getValue(IS_LOCKED) ? 1000000F : super.getExplosionResistance(state, world, pos, explosion); } But can't find a method like there used to be to adjust the block hardness (i believe it was called getBlockHardnessLevel or something) which has obviously been removed in 1.18 Is there anything that has replaced it?
  3. I believe your tick method should be calling a super
  4. Hi, with the JSON files for the dimensions, I've become aware that the seeds dont change as they're already preset, looking through vanilla code the seeds are set to 0 (which i assume is to make the dim seeds the same as the world seed) but it's still not randomising the seeds with the world seed, it continues to be the same terrain gen between worlds { "type": "jitl:boil", "generator": { "seed": 0, "type": "minecraft:noise", "settings": "jitl:boil_generation", "biome_source": { "type": "minecraft:multi_noise", "biomes": [ { "biome": "jitl:boil/boil", "parameters": { "temperature": [ -0.45, -0.15 ], "humidity": [ -1, -0.35 ], "continentalness": [ 0.3, 1 ], "erosion": [ -0.7799, -0.375 ], "weirdness": [ -1, -0.9333 ], "depth": 0.4, "offset": 0 } }, { "biome": "jitl:boil/boiling_sands", "parameters": { "temperature": [ -0.45, -0.15 ], "humidity": [ -1, -0.35 ], "continentalness": [ -0.11, 0.03 ], "erosion": [ -0.375, -0.2225 ], "weirdness": [ -1, -0.9333 ], "depth": 0.5, "offset": 0 } }, { "biome": "jitl:boil/charred_fields", "parameters": { "temperature": [ 0.55, 1 ], "humidity": [ -1.3, 1 ], "continentalness": [ 0.03, 1 ], "erosion": [ 0.45, 0.55 ], "weirdness": [ 0.9333, 1 ], "depth": 0.7, "offset": 0 } }, { "biome": "jitl:boil/scorched_wastelands", "parameters": { "temperature": [ 0, 1 ], "humidity": [ 0, 1 ], "continentalness": [ -0.19, -0.11 ], "erosion": [ 0.55, 1 ], "weirdness": [ 0.9333, 1 ], "depth": 0.8, "offset": 0 } } ] } } }
  5. Hi, using FogDensity event in 1.18 seems to have issues, keep in mind the exact code worked fine in 1.16 public static void onFogDensityEvent(EntityViewRenderEvent.FogDensity event) { Player player = ClientProxy.player(); if (player != null) { if (player.level.dimension() == Dimensions.FROZEN_LANDS) { event.setDensity(0.05F); event.setCanceled(true); } } } If the event is cancelled then it looks like this: https://prnt.sc/26dv3bo I don't know if I'm missing something real simple or if its currently broken, the density doesn't change when you change the value
  6. Hi I'm trying to stay with events for my auto smelt tools, everything is done and works but it drops the normal block drop as well as the recipe output Previously I could cancel the drop and add my own but it looks like that event has gone away and now I'm using this: @SubscribeEvent public void smeltDrop(final BlockEvent.BreakEvent event) { Random r = new Random(); Player player = event.getPlayer(); Optional<SmeltingRecipe> output = player.level.getRecipeManager().getRecipeFor(RecipeType.SMELTING, new SimpleContainer((new ItemStack(event.getState().getBlock()))), player.level); if(event.getPlayer() != null && player.getMainHandItem() != null && !player.isCreative() && output != null) { ItemStack stackdrop = output.get().getResultItem(); if(stackdrop != null) { if(player.getMainHandItem().getItem() == ModItems.FLAME_PICK.get() || player.getMainHandItem().getItem() == ModItems.FLAME_AXE.get() || player.getMainHandItem().getItem() == ModItems.FLAME_SHOVEL.get()) { player.level.addFreshEntity(new ItemEntity(player.level, event.getPos().getX() + 0.5F, event.getPos().getY() + 0.1F, event.getPos().getZ() + 0.5F, stackdrop)); } } ItemStack stack = new ItemStack(ModItems.DRY_CRYSTAL.get()); if(stack != null && player.getMainHandItem().getItem() instanceof PickaxeItem && event.getState().getBlock() == Blocks.STONE){ if(r.nextInt(100) == 0) { player.level.addFreshEntity(new ItemEntity(player.level, event.getPos().getX() + 0.5F, event.getPos().getY() + 0.1F, event.getPos().getZ() + 0.5F, stack)); } } } }
  7. Hi, ive almost been successful with this Here But im not sure at all why this doesnt want to spawn properly, and sometimes where the unrendered blocks are it still says the other biome even though the world generator has placed the blocks according to the biome top block Chunk Provider Biome Provider World Provider Ive gone through the vanilla code and i cant seem to find a fix
  8. Not sure why this is happening now when i try to render my slots Also code is updated on git, and when i remove my slots the player inventory still does the same thing
  9. Hi ive been trying for the life of me to get this to work properly but something is really wrong, This block is like a crafting table that detects whats in the slots and replaces them if all conditions are met, however the slots are so glitchy and i dont know why Container Block Tile Entity
  10. Okay im a little lost, i have no clue how this 1.14.4 works, little more info?
  11. okay so where do i get the instances from now?
  12. Okay so how should i go about this? I havent used 1.14.4 yet
  13. Hi i'm trying to register a throwable entity, looking at normal mc code:
  14. Im using (as i always have) Item.getItemFromBlock(BLOCK) for the tab https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/JourneyTabs.java
  15. I know that you have to set the X and Z in a specific boundry to prevent trying to generate into chunks that dont exist yet upon generation but what do people generally use? I was always under the impression of ChunkX/Z * 16 + this.rand.nextInt(16) + 8 being acceptable but it clearly isn't if i'm getting log telling me that its causing problems as well as slow generation because of it Log output [19:48:45] [Server thread/WARN] [FML]: Journey Into the Light loaded a new chunk [-17, -8] in dimension 0 (overworld) while populating chunk [-18, -9], causing cascading worldgen lag. [19:48:45] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. int x1 = chunkX * 16, z1 = chunkZ * 16; if(rand.nextInt(9) == 0) { x = x1 + this.rand.nextInt(16) + 8; z = z1 + this.rand.nextInt(16) + 8; int yCoord = rand.nextInt(128) + 1; new WorldGenSmeltery().generate(worldObj, rand, new BlockPos(x, yCoord, z)); } Generation file @Override public boolean generate(World w, Random r, BlockPos pos) { int x = pos.getX(), y = pos.getY() - 1, z = pos.getZ(); if(locationIsValidSpawn(w, x, y, z)) return true; w.setBlockState(new BlockPos(x, y + 5, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x, y + 5, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 4), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 5), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 4), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 5), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); //w.setBlockState(new BlockPos(x + 2, y + 1, z + 5), JourneyBlocks.eucaChest.getStateFromMeta(3)); /* TileEntityJourneyChest te = (TileEntityJourneyChest)w.getTileEntity(new BlockPos(x + 2, y + 1, z + 5)); if(te != null) { //WeightedRandomChestContent.generateChestContents(r, Lists.newArrayList(loot), te, 4); } */ w.setBlockState(new BlockPos(x + 2, y + 1, z + 6), JourneyBlocks.eucaChest.getStateFromMeta(3)); w.setBlockState(new BlockPos(x + 2, y + 1, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 1, z + 9), JourneyBlocks.eucaChest.getStateFromMeta(3)); /* TileEntityJourneyChest te2 = (TileEntityJourneyChest)w.getTileEntity(new BlockPos(x + 2, y + 1, z + 9)); if(te2 != null) { //WeightedRandomChestContent.generateChestContents(r, Lists.newArrayList(loot), te2, 12); } */ w.setBlockState(new BlockPos(x + 2, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 3, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 1, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 2, z + 2), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 2, z + 10), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 3, z + 2), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 3, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 3, z + 10), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 2, z + 2), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 2, z + 10), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 3, z + 2), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 3, z + 10), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 6), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 2, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 2, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 2, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 6), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 3, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 3, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 3, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); if(!w.isRemote) { EntityAlloyMender smith = new EntityAlloyMender(w); smith.setLocationAndAngles(x + 4, y + 2, z + 4, 0.0F, 0.0F); w.spawnEntity(smith); } return false; }
  16. Next question, i cant use a block as a custom tab icon, items no worries but blocks dont register as a tab icon but show up fine in the tab?
  17. Dont ask me how, but i just removed the item and block repetitive registry and now the lang file is working. And also to answer I didnt register the blocks and items, that part wasnt my code it was the other dev so couldnt even begin to tell you why haha
  18. Well what would be the cause of something like that
  19. https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/resources/pack.mcmeta still hasnt fixed the problem
  20. Is there any reason that a mod wont read a lang file? path is correct and file is formatted properly https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/resources/assets/journey/lang/en_us.lang it comes up ingame like a lang file doesn't exist and no items or anything are named which doesnt make any sense at all, so i dare say it will be something so simple to fix because it shouldnt be this hard. I just cant figure it out
  21. yes i do but thats just normal generation too like this: public boolean locationIsValidSpawn(World w, int x, int y, int z) { for(int i = 0; i < 11; i++) { for(int l = 0; l < 11; l++) { if(w.getBlockState(new BlockPos(x + i, y, z + l)) != JourneyBlocks.eucaGrass) { return false; } } } return true; } @Override public boolean generate(World w, Random r, BlockPos pos) { int x = pos.getX(), y = pos.getY() - 1, z = pos.getZ(); if(locationIsValidSpawn(w, x, y, z)) return true; w.setBlockState(new BlockPos(x + 0, y + 5, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 0, y + 5, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 0, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 4), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 5), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 2, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 4), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 5), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 1, y + 3, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 1, y + 6, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 0, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); //w.setBlockState(new BlockPos(x + 2, y + 1, z + 5), JourneyBlocks.eucaChest.getStateFromMeta(3)); /* TileEntityJourneyChest te = (TileEntityJourneyChest)w.getTileEntity(new BlockPos(x + 2, y + 1, z + 5)); if(te != null) { //WeightedRandomChestContent.generateChestContents(r, Lists.newArrayList(loot), te, 4); } */ w.setBlockState(new BlockPos(x + 2, y + 1, z + 6), JourneyBlocks.eucaChest.getStateFromMeta(3)); w.setBlockState(new BlockPos(x + 2, y + 1, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 1, z + 9), JourneyBlocks.eucaChest.getStateFromMeta(3)); /* TileEntityJourneyChest te2 = (TileEntityJourneyChest)w.getTileEntity(new BlockPos(x + 2, y + 1, z + 9)); if(te2 != null) { //WeightedRandomChestContent.generateChestContents(r, Lists.newArrayList(loot), te2, 12); } */ w.setBlockState(new BlockPos(x + 2, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 3, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 0), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 2, y + 7, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 0, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 1, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 2, z + 2), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 2, z + 10), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 3, z + 2), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 3, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 3, z + 10), JourneyBlocks.eucaBricks.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 3, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 0), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 3, y + 8, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 0, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 2, z + 2), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 2, z + 10), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 3, z + 2), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 3, z + 10), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 4, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 0), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 4, y + 8, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 4), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 5), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 6), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 7), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 8), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 9), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 0, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 0), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 5, y + 7, z + 12), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 3), JourneyBlocks.goldEucaPlank.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 0, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 1, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 6), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 2, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 2, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 2, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 2, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 6), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 3, z + 7), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 3, z + 8), Blocks.STAINED_GLASS_PANE.getStateFromMeta(1)); w.setBlockState(new BlockPos(x + 6, y + 3, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 3, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 4, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 6, y + 6, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 1), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 2), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 3), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 4), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 5), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 6), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 7), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 8), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 9), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 10), JourneyBlocks.eucaBricks.getDefaultState()); w.setBlockState(new BlockPos(x + 7, y + 5, z + 11), JourneyBlocks.eucaBricks.getDefaultState()); if(!w.isRemote) { EntityAlloyMender smith = new EntityAlloyMender(w); smith.setLocationAndAngles(x + 4, y + 2, z + 4, 0.0F, 0.0F); w.spawnEntity(smith); } return false; } but most generations ive coded my self @Override public boolean generate(World w, Random r, BlockPos pos) { int x = pos.getX() - 3, y = pos.getY() -1, z = pos.getZ() - 1; int height = r.nextInt(10) + 10; WorldGenAPI.addRectangle(1, 1, 1, w, x + 3, y + height + 2, z + 1, JourneyBlocks.goldbotSpawner); WorldGenAPI.addRectangle(1, 1, 1, w, x + 3, y + height + 3, z + 1, JourneyBlocks.silverbotSpawner); WorldGenAPI.addRectangle(1, 1, height + 1, w, x + 3, y + 1, z + 1, JourneyBlocks.eucaBricks); WorldGenAPI.addRectangle(3, 1, height, w, x + 2, y + 1, z + 1, JourneyBlocks.eucaBricks); WorldGenAPI.addRectangle(1, 3, height, w, x + 3, y + 1, z, JourneyBlocks.eucaBricks); WorldGenAPI.addRectangle(7, 3, 1, w, x, y + height, z, JourneyBlocks.eucaTile); WorldGenAPI.addRectangle(3, 7, 1, w, x + 2, y + height, z - 2, JourneyBlocks.eucaTile); WorldGenAPI.addRectangle(5, 5, 1, w, x + 1, y + height, z - 1, JourneyBlocks.eucaTile); return false; } https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/slayer/api/worldgen/WorldGenAPI.java
  22. Hi the log keeps out putting this [09:24:31] [Server thread/WARN] [FML]: Journey Into the Light loaded a new chunk [21, 16] in dimension 20 (Euca) while populating chunk [21, 15], causing cascading worldgen lag. [09:24:31] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. And also, why wont mobs spawn in my custom dimensions? It makes no sense, its the same code as its always been until the update EntityRegistry.addSpawn(EntityEucaCharger.class, 20, 1, 1, EnumCreatureType.MONSTER, euca); dimension generator public class ChunkProviderEuca implements IChunkGenerator { private Random rand; private NoiseGeneratorOctaves noiseGen1, noiseGen2, noiseGen3, noiseGen5, noiseGen6; private World worldObj; private double[] noiseArray; private Biome[] biomesForGeneration; private double[] noise3, noise1, noise2, noise5, noise6; private ArrayList<WorldGenerator> trees; public ChunkProviderEuca(World var1, long var2){ this.worldObj = var1; this.rand = new Random(var2); this.noiseGen1 = new NoiseGeneratorOctaves(this.rand, 16); this.noiseGen2 = new NoiseGeneratorOctaves(this.rand, 16); this.noiseGen3 = new NoiseGeneratorOctaves(this.rand, 8); new NoiseGeneratorOctaves(this.rand, 4); new NoiseGeneratorOctaves(this.rand, 4); this.noiseGen5 = new NoiseGeneratorOctaves(this.rand, 10); this.noiseGen6 = new NoiseGeneratorOctaves(this.rand, 16); new WorldGenEucaWater(Blocks.FLOWING_WATER, true); new WorldGenEucaWater(Blocks.FLOWING_WATER, false); trees = new ArrayList<WorldGenerator>(3); trees.add(new WorldGenEucaTree()); trees.add(new WorldGenEucaTree2()); trees.add(new WorldGenEucaTree3()); trees.add(new WorldGenEucaTree4()); trees.add(new WorldGenEucaTree5()); } @Override public Chunk generateChunk(int par1, int par2) { this.rand.setSeed(par1 * 391279512714L + par2 * 132894987741L); ChunkPrimer primer = new ChunkPrimer(); this.biomesForGeneration = this.worldObj.getBiomeProvider().getBiomesForGeneration(this.biomesForGeneration, par1 * 16, par2 * 16, 16, 16); this.generateTerrain(par1, par2, primer); this.replaceBlocksForBiome(primer); Chunk chunk = new Chunk(this.worldObj, primer, par1, par2); chunk.generateSkylightMap(); return chunk; } public void generateTerrain(int var1, int var2, ChunkPrimer primer) { byte b0 = 2; int k = b0 + 1; byte b1 = 33; int l = b0 + 1; this.noiseArray = this.initializeNoiseField(this.noiseArray, var1 * b0, 0, var2 * b0, k, b1, l); for (int i1 = 0; i1 < b0; ++i1) { for (int j1 = 0; j1 < b0; ++j1) { for (int k1 = 0; k1 < 32; ++k1) { double d0 = 0.25D; double d1 = this.noiseArray[((i1 + 0) * l + j1 + 0) * b1 + k1 + 0]; double d2 = this.noiseArray[((i1 + 0) * l + j1 + 1) * b1 + k1 + 0]; double d3 = this.noiseArray[((i1 + 1) * l + j1 + 0) * b1 + k1 + 0]; double d4 = this.noiseArray[((i1 + 1) * l + j1 + 1) * b1 + k1 + 0]; double d5 = (this.noiseArray[((i1 + 0) * l + j1 + 0) * b1 + k1 + 1] - d1) * d0; double d6 = (this.noiseArray[((i1 + 0) * l + j1 + 1) * b1 + k1 + 1] - d2) * d0; double d7 = (this.noiseArray[((i1 + 1) * l + j1 + 0) * b1 + k1 + 1] - d3) * d0; double d8 = (this.noiseArray[((i1 + 1) * l + j1 + 1) * b1 + k1 + 1] - d4) * d0; for (int l1 = 0; l1 < 4; ++l1) { double d9 = 0.125D; double d10 = d1; double d11 = d2; double d12 = (d3 - d1) * d9; double d13 = (d4 - d2) * d9; for (int i2 = 0; i2 < 8; ++i2) { double d14 = 0.125D; double d15 = d10; double d16 = (d11 - d10) * d14; for (int j2 = 0; j2 < 8; ++j2) { IBlockState iblockstate = null; if(d15 > 0.0D) iblockstate = JourneyBlocks.eucaStone.getDefaultState(); int k2 = i2 + i1 * 8; int l2 = l1 + k1 * 4; int i3 = j2 + j1 * 8; primer.setBlockState(k2, l2, i3, iblockstate); d15 += d16; } d10 += d12; d11 += d13; } d1 += d5; d2 += d6; d3 += d7; d4 += d8; } } } } } public final void replaceBlocksForBiome(ChunkPrimer c) { for (int i = 0; i < 16; ++i) { for (int j = 0; j < 16; ++j) { byte b0 = 1; int k = -1; IBlockState iblockstate = JourneyBlocks.eucaGrass.getDefaultState(); IBlockState iblockstate1 = JourneyBlocks.eucaStone.getDefaultState(); for (int l = 127; l >= 0; --l) { IBlockState iblockstate2 = c.getBlockState(i, l, j); if (iblockstate2.getBlock().getMaterial(iblockstate2) == Material.AIR) k = -1; else if (iblockstate2.getBlock() == JourneyBlocks.eucaStone) { if (k == -1) { if (b0 <= 0) { iblockstate = Blocks.AIR.getDefaultState(); iblockstate1 = JourneyBlocks.eucaGrass.getDefaultState(); } k = b0; if(l >= 0) { c.setBlockState(i, l, j, iblockstate); } else { c.setBlockState(i, l, j, iblockstate1); if(c.getBlockState(i, l - 1, j) == JourneyBlocks.eucaStone.getDefaultState()) c.setBlockState(i, l - 1, j, iblockstate1); //if(c.getBlockState(i, l - 2, j) == EssenceBlocks.eucaStone.getDefaultState() && rand.nextInt(2) == 0) c.setBlockState(i, l - 2, j, iblockstate1); } } else if (k > 0) { --k; c.setBlockState(i, l, j, iblockstate1); if(c.getBlockState(i, l - 1, j) == JourneyBlocks.eucaStone.getDefaultState()) c.setBlockState(i, l - 1, j, iblockstate1); //if(c.getBlockState(i, l - 2, j) == EssenceBlocks.eucaStone.getDefaultState() && rand.nextInt(2) == 0) c.setBlockState(i, l - 2, j, iblockstate1); } } } } } } private double[] initializeNoiseField(double[] var1, int var2, int var3, int var4, int var5, int var6, int var7) { if(var1 == null) var1 = new double[var5 * var6 * var7]; double var8 = 684.412D; double var10 = 684.412D; this.noise5 = this.noiseGen5.generateNoiseOctaves(this.noise5, var2, var4, var5, var7, 1.121D, 1.121D, 0.5D); this.noise6 = this.noiseGen6.generateNoiseOctaves(this.noise6, var2, var4, var5, var7, 1.0D, 1.0D, 0.5D); var8 *= 2.0D; this.noise3 = this.noiseGen3.generateNoiseOctaves(this.noise3, var2, var3, var4, var5, var6, var7, var8 / 80.0D, var8 / 160.0D, var8 / 80.0D); this.noise1 = this.noiseGen1.generateNoiseOctaves(this.noise1, var2, var3, var4, var5, var6, var7, var8, var10, var8); this.noise2 = this.noiseGen2.generateNoiseOctaves(this.noise2, var2, var3, var4, var5, var6, var7, var8, var10, var8); int var12 = 0; int var13 = 0; for(int var15 = 0; var15 < var5; var15++) { for(int var17 = 0; var17 < var7; var17++) { double var19 = (this.noise5[var13] + 64.0D) / 64.0D; double var21 = this.noise6[var13] / 6000.0D; if(var21 < 0.0D) var21 = -var21 * 0.3D; var21 = var21 * 3.0D - 2.0D; if(var21 > 1.0D) var21 = 1.0D; var21 /= 8.0D; var21 = 0.0D; if(var19 < 0.0D) var19 = 0.0D; var19 += 0.5D; var21 = var21 * var6 / 8.0D; var13++; double var23 = var6 / 2.0D; for(int var25 = 0; var25 < var6; var25++) { double var26 = 0.0D; double var28 = (var25 - var23) * 8.0D / var19; if(var28 < 0.0D) var28 *= -1.0D; double var30 = this.noise1[var12] / 128.0D / 1.5D; double var32 = this.noise2[var12] / 128.0D; double var34 = (this.noise3[var12] / 10.0D + 1.0D); if(var34 < 0.0D) var26 = var30; else if(var34 > 1.0D) var26 = var32; else var26 = var30 + (var32 - var30) * var34; var26 -= 8.0D; byte var36 = 32; double var37; if(var25 > var6 - var36) { var37 = (var25 - (var6 - var36)) / (var36 - 1.0F); var26 = var26 * (1.0D - var37) + -30.0D * var37; } var36 = 8; if(var25 < var36) { var37 = (var36 - var25) / (var36 - 1.0F); var26 = var26 * (1.0D - var37) + -30.0D * var37; } var1[var12] = var26; ++var12; } } } return var1; } @Override public void populate(int i, int j) { int x1 = i * 16; int z1 = j * 16; int x, z, times; x = x1 + this.rand.nextInt(16) + 8; z = z1 + this.rand.nextInt(16) + 8; if(rand.nextInt(9)==0) { x = x1 + this.rand.nextInt(16) + 8; z = z1 + this.rand.nextInt(16) + 8; int yCoord = rand.nextInt(128) + 1; if(isBlockTop(x, yCoord - 1, z, JourneyBlocks.eucaGrass)) { new WorldGenSmeltery().generate(worldObj, rand, new BlockPos(x, yCoord, z)); } } if(rand.nextInt(10)==0) { x = x1 + this.rand.nextInt(16) + 8; z = z1 + this.rand.nextInt(16) + 8; int yCoord = rand.nextInt(128) + 1; if(isBlockTop(x, yCoord - 1, z, JourneyBlocks.eucaGrass)) new WorldGenBotSpawner().generate(worldObj, rand, new BlockPos(x, yCoord, z)); } for(times = 0; times < 210; times++) { x = x1 + this.rand.nextInt(16) + 8; z = z1 + this.rand.nextInt(16) + 8; int yCoord = rand.nextInt(128) + 1; if(isBlockTop(x, yCoord - 1, z, JourneyBlocks.eucaGrass)) { trees.get(rand.nextInt(trees.size())).generate(worldObj, rand, new BlockPos(x, yCoord, z)); } } } public boolean isBlockTop(int x, int y, int z, Block grass) { return worldObj.getBlockState(new BlockPos(x, y, z)) == grass.getDefaultState() && worldObj.getBlockState(new BlockPos(x, y + 1, z)) == Blocks.AIR.getDefaultState() && worldObj.getBlockState(new BlockPos(x, y + 2, z)) == Blocks.AIR.getDefaultState() && worldObj.getBlockState(new BlockPos(x, y + 3, z)) == Blocks.AIR.getDefaultState() && worldObj.getBlockState(new BlockPos(x, y + 4, z)) == Blocks.AIR.getDefaultState() && worldObj.getBlockState(new BlockPos(x, y + 5, z)) == Blocks.AIR.getDefaultState(); } @Override public List <SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos) { Biome biome = this.worldObj.getBiome(pos); return biome.getSpawnableList(creatureType); } @Override public boolean generateStructures(Chunk chunkIn, int x, int z) { return false; } @Override public BlockPos getNearestStructurePos(World worldIn, String structureName, BlockPos position, boolean findUnexplored) { return null; } @Override public void recreateStructures(Chunk chunkIn, int x, int z) { } @Override public boolean isInsideStructure(World worldIn, String structureName, BlockPos pos) { return false; } }
  23. How do you go about adding more then one value to each player? Mana value is the main one then you got regen value see below, how it adds one value only, how would i go about adding a regen value without a new storage? public class EssenceStorage implements IStorage<IEssence> { @Override public NBTBase writeNBT(Capability<IEssence> capability, IEssence instance, EnumFacing side) { return new NBTTagInt(instance.getEssenceValue()); } @Override public void readNBT(Capability<IEssence> capability, IEssence instance, EnumFacing side, NBTBase nbt) { instance.setEssence(((NBTTagInt)nbt).getInt()); } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.