Added record for the limbo music creepy.
This commit is contained in:
parent
5961727b3c
commit
684daa6a5e
5 changed files with 28 additions and 1 deletions
|
@ -46,6 +46,7 @@ public final class ModelManager {
|
|||
register(ModItems.WOVEN_WORLD_THREAD_CHESTPLATE);
|
||||
register(ModItems.WOVEN_WORLD_THREAD_HELMET);
|
||||
register(ModItems.WOVEN_WORLD_THREAD_LEGGINGS);
|
||||
register(ModItems.CREEPY_RECORD);
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
package org.dimdev.dimdoors.shared.items;
|
||||
|
||||
import net.minecraft.util.SoundEvent;
|
||||
import org.dimdev.dimdoors.DimDoors;
|
||||
|
||||
public class ItemRecord extends net.minecraft.item.ItemRecord {
|
||||
protected ItemRecord(String recordName, SoundEvent soundIn) {
|
||||
super(recordName, soundIn);
|
||||
setRegistryName(DimDoors.MODID, "record_" + recordName);
|
||||
setUnlocalizedName("record");
|
||||
}
|
||||
}
|
|
@ -10,6 +10,8 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
|||
import org.dimdev.dimdoors.DimDoors;
|
||||
import org.dimdev.dimdoors.shared.blocks.ModBlocks;
|
||||
|
||||
import static org.dimdev.dimdoors.shared.sound.ModSounds.CREEPY;
|
||||
|
||||
public final class ModItems {
|
||||
|
||||
// Regular doors
|
||||
|
@ -50,6 +52,9 @@ public final class ModItems {
|
|||
public static final ItemBlock ETERNAL_FABRIC = (ItemBlock) new ItemBlock(ModBlocks.ETERNAL_FABRIC).setRegistryName(ModBlocks.ETERNAL_FABRIC.getRegistryName());
|
||||
public static final ItemDimensionalTrapdoorWood WOOD_DIMENSIONAL_TRAPDOOR = new ItemDimensionalTrapdoorWood();
|
||||
|
||||
// Records
|
||||
public static final ItemRecord CREEPY_RECORD = new ItemRecord("creepy", CREEPY);
|
||||
|
||||
@SubscribeEvent
|
||||
public static void registerItems(RegistryEvent.Register<Item> event) {
|
||||
event.getRegistry().registerAll(
|
||||
|
@ -76,6 +81,7 @@ public final class ModItems {
|
|||
ANCIENT_FABRIC,
|
||||
UNRAVELLED_FABRIC,
|
||||
ETERNAL_FABRIC,
|
||||
WOOD_DIMENSIONAL_TRAPDOOR);
|
||||
WOOD_DIMENSIONAL_TRAPDOOR,
|
||||
CREEPY_RECORD);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,6 +103,8 @@ item.stabilized_rift_signature.unbound.info=First click stores a location, \noth
|
|||
item.unstable_dimensional_door.info=Caution: Leads to random destination
|
||||
item.oak_dimensional_door.info=Place on the block under a rift \nto create a portal, or place anywhere \nin a pocket dimension to exit.
|
||||
|
||||
item.record.creepy.desc=Creepy - The sound of Limbo
|
||||
|
||||
entity.dimdoors.monolith.name=Monolith
|
||||
|
||||
commands.dimteleport.usage=/dimteleport <dimension> <x> <y> <z> [yaw] [pitch]
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "items/record_11"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue