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
b2215f0
commit b0a1633
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
src/main/java/org/auioc/mcmod/arnicalib/game/tag/HEntityTypeTags.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,33 @@ | ||
package org.auioc.mcmod.arnicalib.game.tag; | ||
|
||
import org.auioc.mcmod.arnicalib.ArnicaLib; | ||
import net.minecraft.tags.TagKey; | ||
import net.minecraft.world.entity.EntityType; | ||
|
||
public class HEntityTypeTags { | ||
|
||
public static final TagKey<EntityType<?>> UNDEFINED_MOBS = create("mob/undefined_mobs"); | ||
public static final TagKey<EntityType<?>> UNDEAD_MOBS = create("mob/undead_mobs"); | ||
public static final TagKey<EntityType<?>> ARTHROPODS = create("mob/arthropods"); | ||
public static final TagKey<EntityType<?>> ILLAGERS = create("mob/illagers"); | ||
public static final TagKey<EntityType<?>> AQUATIC_MOBS = create("mob/aquatic_mobs"); | ||
|
||
public static final TagKey<EntityType<?>> MISC_ENTITIES = create("misc_entities"); | ||
public static final TagKey<EntityType<?>> MONSTERS = create("monsters"); | ||
public static final TagKey<EntityType<?>> CREATURES = create("creatures"); | ||
public static final TagKey<EntityType<?>> AXOLOTLS = create("axolotls"); | ||
public static final TagKey<EntityType<?>> UNDERGROUND_WATER_CREATURES = create("underground_water_creatures"); | ||
public static final TagKey<EntityType<?>> WATER_CREATURES = create("water_creatures"); | ||
public static final TagKey<EntityType<?>> WATER_AMBIENT_ENTITIES = create("water_ambient_entities"); | ||
public static final TagKey<EntityType<?>> AMBIENT_ENTITIES = create("ambient_entities"); | ||
|
||
public static final TagKey<EntityType<?>> FRIENDLY_ENTITIES = create("friendly_entities"); | ||
public static final TagKey<EntityType<?>> PERSISTENT_ENTITIES = create("persistent_entities"); | ||
|
||
public static void init() {} | ||
|
||
public static TagKey<EntityType<?>> create(String _path) { | ||
return TagCreator.entityType(ArnicaLib.id(_path)); | ||
} | ||
|
||
} |
6 changes: 5 additions & 1 deletion
6
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
package org.auioc.mcmod.arnicalib.mod.common.tag; | ||
|
||
import org.auioc.mcmod.arnicalib.game.tag.HEntityTypeTags; | ||
|
||
public final class HTags { | ||
|
||
public static void init() {} | ||
public static void init() { | ||
HEntityTypeTags.init(); | ||
} | ||
|
||
} |