注册了狗牌和栏位
This commit is contained in:
parent
228524fd46
commit
536acf43da
10 changed files with 40 additions and 0 deletions
|
@ -107,6 +107,7 @@ public class TargetModItems {
|
|||
public static final RegistryObject<Item> GALENA = ITEMS.register("galena", Galena::new);
|
||||
public static final RegistryObject<Item> SCHEELITE = ITEMS.register("scheelite", Scheelite::new);
|
||||
public static final RegistryObject<Item> BUCKSHOT = ITEMS.register("buckshot", Buckshot::new);
|
||||
public static final RegistryObject<Item> DOG_TAG = ITEMS.register("dog_tag", DogTag::new);
|
||||
|
||||
public static final RegistryObject<Item> IRON_BARREL = ITEMS.register("iron_barrel", IronBarrel::new);
|
||||
public static final RegistryObject<Item> IRON_ACTION = ITEMS.register("iron_action", IronAction::new);
|
||||
|
|
10
src/main/java/net/mcreator/target/item/DogTag.java
Normal file
10
src/main/java/net/mcreator/target/item/DogTag.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package net.mcreator.target.item;
|
||||
|
||||
import net.minecraft.world.item.Item;
|
||||
import top.theillusivec4.curios.api.type.capability.ICurioItem;
|
||||
|
||||
public class DogTag extends Item implements ICurioItem {
|
||||
public DogTag() {
|
||||
super(new Properties().stacksTo(1));
|
||||
}
|
||||
}
|
|
@ -119,6 +119,8 @@
|
|||
"item.target.mortar_deployer": "Mortar",
|
||||
"item.target.claymore_mine": "Claymore",
|
||||
"item.target.fusee": "Fusee",
|
||||
"item.target.dog_tag": "Dog Tag",
|
||||
"curios.identifier.dog_tag": "Dog Tag",
|
||||
|
||||
"attribute.target.spread": "Spread",
|
||||
|
||||
|
|
|
@ -119,6 +119,8 @@
|
|||
"item.target.mortar_deployer": "迫击炮",
|
||||
"item.target.claymore_mine": "阔剑地雷",
|
||||
"item.target.fusee": "引信",
|
||||
"item.target.dog_tag": "狗牌",
|
||||
"curios.identifier.dog_tag": "狗牌",
|
||||
|
||||
"attribute.target.spread": "散布",
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "target:item/dog_tag"
|
||||
}
|
||||
}
|
BIN
src/main/resources/assets/target/textures/item/dog_tag.png
Normal file
BIN
src/main/resources/assets/target/textures/item/dog_tag.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 357 B |
BIN
src/main/resources/assets/target/textures/slot/dog_tag_slot.png
Normal file
BIN
src/main/resources/assets/target/textures/slot/dog_tag_slot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 B |
6
src/main/resources/data/curios/tags/items/dog_tag.json
Normal file
6
src/main/resources/data/curios/tags/items/dog_tag.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"target:dog_tag"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"entities": [
|
||||
"player"
|
||||
],
|
||||
"slots": [
|
||||
"dog_tag"
|
||||
]
|
||||
}
|
5
src/main/resources/data/target/curios/slots/dog_tag.json
Normal file
5
src/main/resources/data/target/curios/slots/dog_tag.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"order": 114,
|
||||
"size": 1,
|
||||
"icon": "target:slot/dog_tag_slot"
|
||||
}
|
Loading…
Add table
Reference in a new issue