Skip to content

Commit

Permalink
Method Name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiancc committed Sep 14, 2024
1 parent 240844a commit d1863bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions common/src/main/java/cc/cassian/pyrite/Pyrite.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void init() {
generateBrickSet("mossy_cobblestone_brick", Blocks.MOSSY_COBBLESTONE, MapColor.STONE_GRAY, 0);
generateBrickSet("smooth_stone_brick", Blocks.COBBLESTONE, MapColor.STONE_GRAY, 0);
//Grass Set
createTurfSets();
generateTurfSets();
//Nether Brick Fence Gate
createPyriteBlock("nether_brick_fence_gate","fence_gate", Blocks.NETHER_BRICK_FENCE);
//Resource Blocks
Expand All @@ -42,9 +42,9 @@ public static void init() {
createPyriteBlock("glowing_obsidian","obsidian", 50f, MapColor.RED, 15);
createPyriteBlock("nostalgia_glowing_obsidian","obsidian", 50f, MapColor.RED, 15);
createPyriteBlock("locked_chest", "facing", Blocks.CHEST, 15);
createNostalgia();
generateNostalgiaBlocks();
//Classic Flowers
createFlowers();
generateFlowers();
//Charred Nether Bricks
generateBrickSet("charred_nether_brick", Blocks.NETHER_BRICKS, MapColor.BLACK, 0);
//Blue Nether Bricks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import net.minecraft.block.piston.PistonBehavior;
import net.minecraft.particle.ParticleEffect;

import java.util.ArrayList;
import java.util.Map;
import java.util.Objects;

Expand Down Expand Up @@ -147,19 +146,19 @@ public static void createPyriteBlock(String blockID, String blockType, Block cop

}

public static void createFlowers() {
public static void generateFlowers() {
for (Map.Entry<String, Block> entry : flowers.entrySet()) {
createPyriteBlock(entry.getKey(), "flower", entry.getValue());
}
}

public static void createTurfSets() {
public static void generateTurfSets() {
for (Map.Entry<String, Block> entry : turfSets.entrySet()) {
createTurfSet(entry.getKey(), entry.getValue());
}
}

public static void createNostalgia() {
public static void generateNostalgiaBlocks() {
for (Map.Entry<String, Block> entry : nostalgiaBlocks.entrySet()) {
createPyriteBlock(entry.getKey(), "block", entry.getValue());
}
Expand Down

0 comments on commit d1863bd

Please sign in to comment.