Skip to content

Commit 03dda03

Browse files
committed
KILLING MYSELF POSTPONED
made the block registry actually get initialized and also changed the look of the amethyst chalk
1 parent 795ca24 commit 03dda03

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

common/src/main/java/net/hex_chalkcircles/Hex_chalkcircles.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import net.hex_chalkcircles.registry.Hex_chalkcirclesIotaTypeRegistry;
44
import net.hex_chalkcircles.registry.Hex_chalkcirclesItemRegistry;
55
import net.hex_chalkcircles.registry.Hex_chalkcirclesPatternRegistry;
6+
import net.hex_chalkcircles.registry.Hex_chalkcirclesBlockRegistry;
67
import net.hex_chalkcircles.networking.Hex_chalkcirclesNetworking;
78
import net.minecraft.resources.ResourceLocation;
89
import org.apache.logging.log4j.LogManager;
@@ -20,7 +21,9 @@ public class Hex_chalkcircles {
2021
public static void init() {
2122
LOGGER.info("Hex Circles says hello!");
2223

24+
2325
Hex_chalkcirclesAbstractions.initPlatformSpecific();
26+
Hex_chalkcirclesBlockRegistry.init();
2427
Hex_chalkcirclesItemRegistry.init();
2528
Hex_chalkcirclesIotaTypeRegistry.init();
2629
Hex_chalkcirclesPatternRegistry.init();

common/src/main/java/net/hex_chalkcircles/registry/Hex_chalkcirclesBlockRegistry.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import net.hex_chalkcircles.blocks.BlockDustRune;
99
import net.minecraft.core.Registry;
1010
import net.minecraft.world.level.block.Block;
11+
import net.minecraft.world.level.block.FlowerBlock;
1112
import net.minecraft.world.level.block.state.BlockBehaviour;
1213
import net.minecraft.world.level.material.Material;
1314

@@ -27,5 +28,5 @@ public static void init() {
2728
// A new creative tab. Notice how it is one of the few things that are not deferred
2829

2930
// During the loading phase, refrain from accessing suppliers' items (e.g. EXAMPLE_ITEM.get()), they will not be available
30-
public static final RegistrySupplier<Block> CHALK_RUNE = BLOCKS.register("chalk_square_block", () -> new BlockDustRune(null));
31+
public static final RegistrySupplier<Block> CHALK_RUNE = BLOCKS.register("chalk_square_block", () -> new BlockDustRune(BlockBehaviour.Properties.of(Material.TOP_SNOW)));
3132
}

common/src/main/resources/assets/hex_chalkcircles/models/item/amethyst_chalk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"parent": "minecraft:item/generated",
2+
"parent": "minecraft:item/handheld_rod",
33
"textures": {
44
"layer0": "hex_chalkcircles:item/amethyst_chalk"
55
}

0 commit comments

Comments
 (0)