Browse Source

More Deco Stuff

Gregorius Techneticies 3 months ago
parent
commit
ec87da5aae
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 1B693EA14F2FD70F

+ 8
- 2
src/main/java/gregapi/worldgen/dungeon/DungeonChunkRoomPortalEnd.java View File

@@ -35,6 +35,14 @@ public class DungeonChunkRoomPortalEnd extends DungeonChunkRoomVault {
35 35
 		if (aData.mTags.contains(WorldgenDungeonGT.TAG_PORTAL_END) || !super.generate(aData)) return F;
36 36
 		aData.mTags.add(WorldgenDungeonGT.TAG_PORTAL_END);
37 37
 		
38
+		for (int tX = 1; tX < 15; tX++) for (int tZ = 1; tZ < 15; tZ++) {
39
+			if ((tX == 3 || tX == 6 || tX == 9 || tX == 12) && (tZ == 3 || tZ == 6 || tZ == 9 || tZ == 12)) {
40
+				aData.set(tX, 0, tZ, Blocks.glowstone, 0);
41
+			} else {
42
+				aData.set(tX, 0, tZ, Blocks.end_stone, 0);
43
+			}
44
+		}
45
+		
38 46
 		Block tPurpurBlock = ST.block(MD.EtFu, "purpur_block"), tPurpurPillar = ST.block(MD.EtFu, "purpur_pillar");
39 47
 		
40 48
 		if (ST.valid(tPurpurBlock) && ST.valid(tPurpurPillar)) {
@@ -62,8 +70,6 @@ public class DungeonChunkRoomPortalEnd extends DungeonChunkRoomVault {
62 70
 				} else {
63 71
 					aData.set(tX, 2, tZ, Blocks.glowstone, 0, 3);
64 72
 				}
65
-			} else {
66
-				aData.set(tX, 0, tZ, Blocks.end_stone, 0);
67 73
 			}
68 74
 		}
69 75
 		aData.set     ( 7,  0,  6, Blocks.end_portal_frame, 4);

+ 8
- 0
src/main/java/gregapi/worldgen/dungeon/DungeonChunkRoomPortalNether.java View File

@@ -48,6 +48,14 @@ public class DungeonChunkRoomPortalNether extends DungeonChunkRoomPortal {
48 48
 		tInventory.appendTag(UT.NBT.makeShort(ST.save(ST.make(Items.blaze_rod  ,  4, 0)), "s", (short)33));
49 49
 		tInventory.appendTag(UT.NBT.makeShort(ST.save(IL.Tool_MatchBox_Full     .get(1)), "s", (short)40));
50 50
 		
51
+		for (int tX = 1; tX < 15; tX++) for (int tZ = 1; tZ < 15; tZ++) {
52
+			if ((tX == 3 || tX == 6 || tX == 9 || tX == 12) && (tZ == 3 || tZ == 6 || tZ == 9 || tZ == 12)) {
53
+				aData.set(tX, 0, tZ, Blocks.glowstone, 0);
54
+			} else {
55
+				aData.set(tX, 0, tZ, Blocks.nether_brick, 0);
56
+			}
57
+		}
58
+		
51 59
 		Block tShroomLight = IL.NeLi_ShroomLight.block(), tWartBlock = ST.block(MD.NeLi, "Wartblock");
52 60
 		int tMeta = aData.next(3);
53 61
 		

Loading…
Cancel
Save