Class AstralTrinketPredicates
java.lang.Object
dev.jaxydog.astral.register.ContentRegistrar
dev.jaxydog.astral.content.trinket.AstralTrinketPredicates
- All Implemented Interfaces:
Registered,Registered.All,Registered.Client,Registered.Common,Registered.Generated,Registered.Server
Contains definitions of all modded-in trinket predicates.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.jaxydog.astral.register.Registered
Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AstralTrinketPredicateThe cosmetic helmet predicate.static final net.minecraft.registry.tag.TagKey<net.minecraft.item.Item> The tag containing all items that may not be worn in the cosmetic helmet slot.static final net.minecraft.registry.tag.TagKey<net.minecraft.item.Item> The tag containing all items that may not be obscured by the cosmetic helmet slot. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.item.ItemStackgetCosmeticHelmet(net.minecraft.entity.LivingEntity entity) Returns the given entity's equipped cosmetic helmet item.Methods inherited from class dev.jaxydog.astral.register.ContentRegistrar
generate, getRegistryId, getRegistryPath, registerClient, registerCommon, registerServer
-
Field Details
-
COSMETIC_HELMET_BLACKLIST
public static final net.minecraft.registry.tag.TagKey<net.minecraft.item.Item> COSMETIC_HELMET_BLACKLISTThe tag containing all items that may not be worn in the cosmetic helmet slot.- Since:
- 2.0.0
-
COSMETIC_HELMET_UNHIDEABLE
public static final net.minecraft.registry.tag.TagKey<net.minecraft.item.Item> COSMETIC_HELMET_UNHIDEABLEThe tag containing all items that may not be obscured by the cosmetic helmet slot.- Since:
- 2.0.0
-
COSMETIC_HELMET
The cosmetic helmet predicate.- Since:
- 2.0.0
-
-
Constructor Details
-
AstralTrinketPredicates
public AstralTrinketPredicates()
-
-
Method Details
-
getCosmeticHelmet
public static net.minecraft.item.ItemStack getCosmeticHelmet(net.minecraft.entity.LivingEntity entity) Returns the given entity's equipped cosmetic helmet item.- Parameters:
entity- The target entity.- Returns:
- The given entity's equipped cosmetic helmet item.
- Since:
- 2.0.0
-