feat: 添加无限存储元件图标、配方等内容

This commit is contained in:
C-H716 2025-09-16 21:43:03 +08:00
parent 37d24334bb
commit 3039add611
8 changed files with 35 additions and 3 deletions

View File

@ -36,6 +36,8 @@ public class InfinityBigIntegerCellItem extends Item {
@Nullable Level world,
@NotNull List<Component> tooltip,
@NotNull TooltipFlag context) {
tooltip.add(Component.translatable("tooltip.extendedae_plus.infinity_biginteger_cell.summon"));
Preconditions.checkArgument(stack.getItem() == this);
// 仅在 ItemStack 自身存在 UUID 时显示 UUID避免触发持久化或加载逻辑
CompoundTag tag = stack.getTag();

View File

@ -34,7 +34,7 @@ public final class ModCreativeTabs {
output.accept(ModItems.createEntitySpeedCardStack(8));
output.accept(ModItems.createEntitySpeedCardStack(16));
output.accept(ModItems.INFINITY_BIGINT_ITEM_CELL.get());
output.accept(ModItems.INFINITY_BIGINTEGER_CELL_ITEM.get());
})
.build());
}

View File

@ -66,8 +66,8 @@ public final class ModItems {
() -> new EntitySpeedCardItem(new Item.Properties())
);
public static final RegistryObject<Item> INFINITY_BIGINT_ITEM_CELL = ITEMS.register(
"infinity_item_cell", InfinityBigIntegerCellItem::new
public static final RegistryObject<Item> INFINITY_BIGINTEGER_CELL_ITEM = ITEMS.register(
"infinity_biginteger_cell", InfinityBigIntegerCellItem::new
);

View File

@ -22,6 +22,8 @@
"item.extendedae_plus.entity_speed_card.x4": "Entity Acceleration Card (x4)",
"item.extendedae_plus.entity_speed_card.x8": "Entity Acceleration Card (x8)",
"item.extendedae_plus.entity_speed_card.x16": "Entity Acceleration Card (x16)",
"item.extendedae_plus.infinity_biginteger_cell": "§cI§6n§ef§ai§bn§di§9t§fy §cS§6t§eo§ar§ba§dg§9e §fC§co§6m§ep§ao§bn§de§9n§ft",
"tooltip.extendedae_plus.infinity_biginteger_cell.summon": "§7Through the sacrifice of nine rare materials, you summon Iava, who bestows upon the summoner an §cI§6n§ef§ai§bn§di§9t§fy §cS§6t§eo§ar§ba§dg§9e §fC§co§6m§ep§ao§bn§de§9n§ft§7 forged from the endless void.",
"tooltip.extendedae_plus.entity_speed_card.multiplier": "Multiplier: %s",
"tooltip.extendedae_plus.entity_speed_card.max": "Max effective: %s x",

View File

@ -22,6 +22,8 @@
"item.extendedae_plus.entity_speed_card.x4": "实体加速卡 (x4)",
"item.extendedae_plus.entity_speed_card.x8": "实体加速卡 (x8)",
"item.extendedae_plus.entity_speed_card.x16": "实体加速卡 (x16)",
"item.extendedae_plus.infinity_biginteger_cell": "§c无§6限§e存§a储§b元§d件",
"tooltip.extendedae_plus.infinity_biginteger_cell.summon": "§7以九种稀有材料为祭唤出 Iava其将一枚 §c无§6限§e存§a储§b元§d件 §7赐予召唤者源自无尽虚空。",
"tooltip.extendedae_plus.entity_speed_card.multiplier": "乘数: %s",
"tooltip.extendedae_plus.entity_speed_card.max": "最大生效: %s 倍",

View File

@ -0,0 +1,8 @@
{
"parent": "item/generated",
"textures": {
"layer0": "extendedae_plus:item/infinity_biginteger_cell"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{ "item": "minecraft:turtle_helmet" },
{ "item": "minecraft:dragon_head" },
{ "item": "minecraft:totem_of_undying" },
{ "item": "minecraft:echo_shard" },
{ "item": "ae2:cell_component_256k" },
{ "item": "minecraft:heart_of_the_sea" },
{ "item": "minecraft:nether_star" },
{ "item": "minecraft:netherite_block" },
{ "item": "minecraft:enchanted_golden_apple" }
],
"result": {
"item": "extendedae_plus:infinity_biginteger_cell",
"count": 1
}
}