Skip to content

Commit

Permalink
KILLING MYSELF POSTPONED
Browse files Browse the repository at this point in the history
made the block registry actually get initialized and also changed the look of the amethyst chalk
  • Loading branch information
Kandiyaki committed May 1, 2024
1 parent 795ca24 commit 03dda03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import net.hex_chalkcircles.registry.Hex_chalkcirclesIotaTypeRegistry;
import net.hex_chalkcircles.registry.Hex_chalkcirclesItemRegistry;
import net.hex_chalkcircles.registry.Hex_chalkcirclesPatternRegistry;
import net.hex_chalkcircles.registry.Hex_chalkcirclesBlockRegistry;
import net.hex_chalkcircles.networking.Hex_chalkcirclesNetworking;
import net.minecraft.resources.ResourceLocation;
import org.apache.logging.log4j.LogManager;
Expand All @@ -20,7 +21,9 @@ public class Hex_chalkcircles {
public static void init() {
LOGGER.info("Hex Circles says hello!");


Hex_chalkcirclesAbstractions.initPlatformSpecific();
Hex_chalkcirclesBlockRegistry.init();
Hex_chalkcirclesItemRegistry.init();
Hex_chalkcirclesIotaTypeRegistry.init();
Hex_chalkcirclesPatternRegistry.init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import net.hex_chalkcircles.blocks.BlockDustRune;
import net.minecraft.core.Registry;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.FlowerBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.material.Material;

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

// During the loading phase, refrain from accessing suppliers' items (e.g. EXAMPLE_ITEM.get()), they will not be available
public static final RegistrySupplier<Block> CHALK_RUNE = BLOCKS.register("chalk_square_block", () -> new BlockDustRune(null));
public static final RegistrySupplier<Block> CHALK_RUNE = BLOCKS.register("chalk_square_block", () -> new BlockDustRune(BlockBehaviour.Properties.of(Material.TOP_SNOW)));
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld_rod",
"textures": {
"layer0": "hex_chalkcircles:item/amethyst_chalk"
}
Expand Down

0 comments on commit 03dda03

Please sign in to comment.