Added Woven World Thread Armor
This commit is contained in:
parent
ef9d1053d8
commit
6c1d784691
14 changed files with 72 additions and 1 deletions
|
@ -44,6 +44,10 @@ public final class ModelManager {
|
||||||
register(ModItems.RIFT_BLADE);
|
register(ModItems.RIFT_BLADE);
|
||||||
register(ModItems.RIFT_REMOVER);
|
register(ModItems.RIFT_REMOVER);
|
||||||
register(ModItems.RIFT_SIGNATURE);
|
register(ModItems.RIFT_SIGNATURE);
|
||||||
|
register(ModItems.BOOTS_WOVEN_WORLD_THREAD);
|
||||||
|
register(ModItems.CHESTPLATE_WOVEN_WORLD_THREAD);
|
||||||
|
register(ModItems.HELMET_WOVEN_WORLD_THREAD);
|
||||||
|
register(ModItems.LEGGINGS_WOVEN_WORLD_THREAD);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void registerModelVariants() {
|
public static void registerModelVariants() {
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
package org.dimdev.dimdoors.shared.items;
|
||||||
|
|
||||||
|
import net.minecraft.init.SoundEvents;
|
||||||
|
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||||
|
import net.minecraft.item.ItemArmor;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import org.dimdev.dimdoors.DimDoors;
|
||||||
|
|
||||||
|
public class ItemWovenWorldThreadArmor extends ItemArmor {
|
||||||
|
public static final ArmorMaterial WOVEN_WORLD_THREAD = EnumHelper.addArmorMaterial(
|
||||||
|
"woven_world_thread",
|
||||||
|
DimDoors.MODID + ":woven_world_thread",
|
||||||
|
20,
|
||||||
|
new int[] {2, 3, 4, 5},
|
||||||
|
20,
|
||||||
|
SoundEvents.ITEM_ARMOR_EQUIP_GENERIC,
|
||||||
|
1.0f)
|
||||||
|
.setRepairItem(new ItemStack(ModItems.WORLD_THREAD));
|
||||||
|
|
||||||
|
public ItemWovenWorldThreadArmor(String name, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn) {
|
||||||
|
super(WOVEN_WORLD_THREAD, renderIndexIn, equipmentSlotIn);
|
||||||
|
setUnlocalizedName(name);
|
||||||
|
setRegistryName(DimDoors.MODID, name);
|
||||||
|
setCreativeTab(DimDoors.DIM_DOORS_CREATIVE_TAB);
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
package org.dimdev.dimdoors.shared.items;
|
package org.dimdev.dimdoors.shared.items;
|
||||||
|
|
||||||
|
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemBlock;
|
import net.minecraft.item.ItemBlock;
|
||||||
import net.minecraftforge.event.RegistryEvent;
|
import net.minecraftforge.event.RegistryEvent;
|
||||||
|
@ -29,6 +30,12 @@ public final class ModItems {
|
||||||
public static final ItemRiftRemover RIFT_REMOVER = new ItemRiftRemover();
|
public static final ItemRiftRemover RIFT_REMOVER = new ItemRiftRemover();
|
||||||
public static final ItemRiftSignature RIFT_SIGNATURE = new ItemRiftSignature();
|
public static final ItemRiftSignature RIFT_SIGNATURE = new ItemRiftSignature();
|
||||||
|
|
||||||
|
// Armors
|
||||||
|
public static ItemWovenWorldThreadArmor HELMET_WOVEN_WORLD_THREAD = new ItemWovenWorldThreadArmor("helmet_woven_world_thread", 1, EntityEquipmentSlot.HEAD);
|
||||||
|
public static ItemWovenWorldThreadArmor CHESTPLATE_WOVEN_WORLD_THREAD = new ItemWovenWorldThreadArmor("chestplate_woven_world_thread", 1, EntityEquipmentSlot.CHEST);
|
||||||
|
public static ItemWovenWorldThreadArmor LEGGINGS_WOVEN_WORLD_THREAD = new ItemWovenWorldThreadArmor("leggings_woven_world_thread", 2, EntityEquipmentSlot.LEGS);
|
||||||
|
public static ItemWovenWorldThreadArmor BOOTS_WOVEN_WORLD_THREAD = new ItemWovenWorldThreadArmor("boots_woven_world_thread", 1, EntityEquipmentSlot.FEET);
|
||||||
|
|
||||||
// ItemBlocks
|
// ItemBlocks
|
||||||
public static final ItemFabric FABRIC = new ItemFabric();
|
public static final ItemFabric FABRIC = new ItemFabric();
|
||||||
public static final ItemDimensionalTrapdoorWood WOOD_DIMENSIONAL_TRAPDOOR = new ItemDimensionalTrapdoorWood();
|
public static final ItemDimensionalTrapdoorWood WOOD_DIMENSIONAL_TRAPDOOR = new ItemDimensionalTrapdoorWood();
|
||||||
|
@ -48,7 +55,11 @@ public final class ModItems {
|
||||||
RIFT_CONNECTION_TOOL,
|
RIFT_CONNECTION_TOOL,
|
||||||
RIFT_BLADE,
|
RIFT_BLADE,
|
||||||
RIFT_REMOVER,
|
RIFT_REMOVER,
|
||||||
RIFT_SIGNATURE);
|
RIFT_SIGNATURE,
|
||||||
|
HELMET_WOVEN_WORLD_THREAD,
|
||||||
|
CHESTPLATE_WOVEN_WORLD_THREAD,
|
||||||
|
LEGGINGS_WOVEN_WORLD_THREAD,
|
||||||
|
BOOTS_WOVEN_WORLD_THREAD);
|
||||||
|
|
||||||
// ItemBlocks
|
// ItemBlocks
|
||||||
event.getRegistry().registerAll(
|
event.getRegistry().registerAll(
|
||||||
|
|
|
@ -38,6 +38,11 @@ item.rift_blade.name=Rift Blade
|
||||||
item.world_thread.name=World Thread
|
item.world_thread.name=World Thread
|
||||||
item.stable_fabric.name=Stable Fabric
|
item.stable_fabric.name=Stable Fabric
|
||||||
|
|
||||||
|
item.boots_woven_world_thread.name=Woven World Thread Boots
|
||||||
|
item.helmet_woven_world_thread.name=Woven World Thread Helmet
|
||||||
|
item.leggings_woven_world_thread.name=Woven World Thread Leggings
|
||||||
|
item.chestplate_woven_world_thread.name=Woven World Thread Chestplate
|
||||||
|
|
||||||
info.rift_key.bound=Bound
|
info.rift_key.bound=Bound
|
||||||
info.rift_key.unbound=Unbound
|
info.rift_key.unbound=Unbound
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "dimdoors:items/boots_woven_world_thread"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "dimdoors:items/chestplate_woven_world_thread"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "dimdoors:items/helmet_woven_world_thread"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "dimdoors:items/leggings_woven_world_thread"
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 329 B |
Binary file not shown.
After Width: | Height: | Size: 403 B |
Binary file not shown.
After Width: | Height: | Size: 291 B |
Binary file not shown.
After Width: | Height: | Size: 347 B |
Binary file not shown.
After Width: | Height: | Size: 766 B |
Binary file not shown.
After Width: | Height: | Size: 420 B |
Loading…
Reference in a new issue