Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Starexify committed Oct 17, 2024
1 parent 92144ff commit 817308d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion run/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ao:true
prioritizeChunkUpdates:0
biomeBlendRadius:2
renderClouds:"true"
resourcePacks:[]
resourcePacks:["vanilla","mod_resources"]
incompatibleResourcePacks:[]
lastServer:
lang:en_us
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class SageHoodModel extends BaseHelmetModel {
public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(HexxitGearR.rl("sage_hood"), "main");
public static final ResourceLocation TEXTURE = HexxitGearR.rl("textures/models/armor/sage_hood.png");
public static final String TEXTURE = HexxitGearR.rl("textures/models/armor/sage_hood.png").toString();

public SageHoodModel(ModelPart root) {
super(root);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class ScaleHelmetModel extends BaseHelmetModel {
public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(HexxitGearR.rl("scale_helmet"), "main");
public static final ResourceLocation TEXTURE = HexxitGearR.rl("textures/models/armor/scale_helmet.png");
public static final String TEXTURE = HexxitGearR.rl("textures/models/armor/scale_helmet.png").toString();

public ScaleHelmetModel(ModelPart root) {
super(root);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class ThiefHoodModel extends BaseHelmetModel {
public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(HexxitGearR.rl("thief_hood"), "main");
public static final ResourceLocation TEXTURE = HexxitGearR.rl("textures/models/armor/thief_hood.png");
public static final String TEXTURE = HexxitGearR.rl("textures/models/armor/thief_hood.png").toString();

public ThiefHoodModel(ModelPart root) {
super(root);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class TribalSkullModel extends BaseHelmetModel {
public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(HexxitGearR.rl("tribal_skull"), "main");
public static final ResourceLocation TEXTURE = HexxitGearR.rl("textures/models/armor/tribal_skull.png");
public static final String TEXTURE = HexxitGearR.rl("textures/models/armor/tribal_skull.png").toString();

public TribalSkullModel(ModelPart root) {
super(root);
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/net/nova/hexxit_gear/init/HGItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class HGItems {
public static RegistryObject<Item> SCALE_HELMET = ITEMS.register("scale_helmet", () -> new ScaleArmor(HGArmorMaterials.SCALE, ArmorItem.Type.HELMET, new Item.Properties().fireResistant()) {
@Override
public @Nullable String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
return ScaleHelmetModel.TEXTURE.getPath();
return ScaleHelmetModel.TEXTURE;
}

@Override
Expand All @@ -52,7 +52,7 @@ public void initializeClient(Consumer<IClientItemExtensions> consumer) {
public static RegistryObject<Item> TRIBAL_SKULL = ITEMS.register("tribal_skull", () -> new TribalArmor(HGArmorMaterials.TRIBAL, ArmorItem.Type.HELMET, new Item.Properties().fireResistant()) {
@Override
public @Nullable String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
return TribalSkullModel.TEXTURE.getPath();
return TribalSkullModel.TEXTURE;
}

@Override
Expand All @@ -68,7 +68,7 @@ public void initializeClient(Consumer<IClientItemExtensions> consumer) {
public static RegistryObject<Item> THIEF_HOOD = ITEMS.register("thief_hood", () -> new ThiefArmor(HGArmorMaterials.THIEF, ArmorItem.Type.HELMET, new Item.Properties().fireResistant()) {
@Override
public @Nullable String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
return ThiefHoodModel.TEXTURE.getPath();
return ThiefHoodModel.TEXTURE;
}

@Override
Expand All @@ -84,7 +84,7 @@ public void initializeClient(Consumer<IClientItemExtensions> consumer) {
public static RegistryObject<Item> SAGE_HOOD = ITEMS.register("sage_hood", () -> new SageArmor(HGArmorMaterials.SAGE, ArmorItem.Type.HELMET, new Item.Properties().fireResistant()) {
@Override
public @Nullable String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
return SageHoodModel.TEXTURE.getPath();
return SageHoodModel.TEXTURE;
}

@Override
Expand Down

0 comments on commit 817308d

Please sign in to comment.