Jump to content

MrBelieve

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by MrBelieve

  1. i've tried doing this public static final RegistryObject<Item> SMITHING_TEMPLATE_ROSE = ITEMS.register("smithing_template_rose", () -> new SmithingTemplateItem( Component.translatable(Util.makeDescriptionId("item", new ResourceLocation(RoseGoldMod.MOD_ID,"smithing_template.rose_upgrade.applies_to"))).withStyle(ChatFormatting.BLUE), Component.translatable(Util.makeDescriptionId("item", new ResourceLocation(RoseGoldMod.MOD_ID,"smithing_template.rose_upgrade.ingredients"))).withStyle(ChatFormatting.BLUE), Component.translatable(Util.makeDescriptionId("upgrade", new ResourceLocation(RoseGoldMod.MOD_ID,"rose_upgrade"))).withStyle(ChatFormatting.GRAY), Component.translatable(Util.makeDescriptionId("item", new ResourceLocation(RoseGoldMod.MOD_ID,"smithing_template.rose_upgrade.base_slot_description"))), Component.translatable(Util.makeDescriptionId("item", new ResourceLocation(RoseGoldMod.MOD_ID,"smithing_template.rose_upgrade.additions_slot_description"))), SmithingTemplateItem.createNetheriteUpgradeTemplate().getBaseSlotEmptyIcons(), SmithingTemplateItem.createNetheriteUpgradeTemplate().getAdditionalSlotEmptyIcons())); but it gives me these errors: Caused by: java.lang.IllegalStateException: Some intrusive holders were not registered: [Reference{null=air}, Reference{null=air}] Hint: Did you register all your registry objects? Registry stage: ACTIVE finished with non-zero exit value -1
  2. I've been trying to make a smithing template that upgrades gold to rose gold but I don't know how and was hoping to get help here.
  3. It shows failed to load_registries event phase.
  4. builder.put(ForgeMod.REACH_DISTANCE.get(), new AttributeModifier(ATTACK_REACH_MODIFIER,"Weapon modifier", attackReachIn, AttributeModifier.Operation.ADDITION)); protected static final UUID ATTACK_REACH_MODIFIER = UUID.fromString("FA233E1C-4180-4865-B01B-BCCE9785ACA3"); So this
  5. builder.put(Attributes.ATTACK_DAMAGE, new AttributeModifier(ATTACK_DAMAGE_MODIFIER, "Weapon modifier", (double)this.attackDamage, AttributeModifier.Operation.ADDITION)); So what do I change?
  6. How can I lower or increase the reach distance attribute with specific items?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.