Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8edb14
commit 6ea3abd
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/main/java/org/auioc/mcmod/arnicalib/game/tag/HBlockTags.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.auioc.mcmod.arnicalib.game.tag; | ||
|
||
import org.auioc.mcmod.arnicalib.ArnicaLib; | ||
import net.minecraft.tags.TagKey; | ||
import net.minecraft.world.level.block.Block; | ||
|
||
public class HBlockTags { | ||
|
||
public static final TagKey<Block> INSTABREAKABLE = create("instabreakable"); | ||
public static final TagKey<Block> RANDOMLY_TICKABLE = create("randomly_tickable"); | ||
public static final TagKey<Block> LIGHT = create("light"); | ||
|
||
public static void init() {} | ||
|
||
public static TagKey<Block> create(String _path) { | ||
return TagCreator.block(ArnicaLib.id(_path)); | ||
} | ||
|
||
} |
2 changes: 2 additions & 0 deletions
2
src/main/java/org/auioc/mcmod/arnicalib/mod/common/tag/HTags.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters