Add initial portal block
This commit is contained in:
parent
41378253b0
commit
4e7696e672
10 changed files with 49 additions and 5 deletions
|
@ -49,7 +49,7 @@ mod_name=OTEMod
|
|||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=GPLv3
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=1.4.122123.1949
|
||||
mod_version=1.4.122223.1338
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
|
|
@ -4,6 +4,7 @@ import dev.zontreck.otemod.OTEMod;
|
|||
import dev.zontreck.otemod.implementation.CreativeModeTabs;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.item.BlockItem;
|
||||
import net.minecraft.world.item.FlintAndSteelItem;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.level.BlockGetter;
|
||||
import net.minecraft.world.level.block.*;
|
||||
|
@ -117,6 +118,7 @@ public class ModBlocks {
|
|||
|
||||
public static final RegistryObject<Item> LIMINAL_WINDOW_I = CreativeModeTabs.addToOTEModTab(ITEMS.register("liminal_window", () -> new BlockItem(LIMINAL_WINDOW.get(), new Item.Properties())));
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"variants": {
|
||||
"axis=x": {
|
||||
"model": "otemod:block/ilusium_portal_ns"
|
||||
},
|
||||
"axis=z": {
|
||||
"model": "otemod:block/ilusium_portal_ew"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -38,6 +38,7 @@
|
|||
"item.otemod.ilusium_rod": "Ilusium Rod",
|
||||
"item.otemod.ilusium_dust": "Ilusium Dust",
|
||||
"item.otemod.ilusium_ore": "Raw Ilusium Ore",
|
||||
"item.otemod.empty_spawn_egg": "Empty Spawn Egg",
|
||||
|
||||
|
||||
"block.otemod.eternium_ore_block": "Eternium Ore",
|
||||
|
@ -51,13 +52,14 @@
|
|||
"block.otemod.vault_steel_ore_block": "Vault Steel Ore",
|
||||
"block.otemod.nether_vault_steel_ore_block": "Nether Vault Steel Ore",
|
||||
"block.otemod.eternium_block": "Block of Eternium",
|
||||
"block.otemod.liminal_tiles": "Pool Tiles",
|
||||
"block.otemod.liminal_tiles": "Liminal Tiles",
|
||||
"block.otemod.black": "The Void",
|
||||
"block.otemod.liminal_tile_stairs": "Pool Stairs",
|
||||
"block.otemod.liminal_tile_slab": "Pool Slab",
|
||||
"block.otemod.liminal_tile_stairs": "Liminal Stairs",
|
||||
"block.otemod.liminal_tile_slab": "Liminal Slab",
|
||||
"block.otemod.ilusium_ore_block": "Ilusium Ore Block",
|
||||
"block.otemod.deepslate_ilusium_ore_block": "Deepslate Ilusium Ore Block",
|
||||
"block.otemod.ilusium_block": "Block of Ilusium",
|
||||
"block.otemod.ilusium_portal": "Ilusium Portal",
|
||||
|
||||
|
||||
"enchantment.otemod.mob_egging": "Mob Egging",
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"textures": {
|
||||
"particle": "block/ilusium_portal",
|
||||
"portal": "block/ilusium_portal"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 6, 0, 0 ],
|
||||
"to": [ 10, 16, 16 ],
|
||||
"faces": {
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#portal" },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#portal" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"textures": {
|
||||
"particle": "block/ilusium_portal",
|
||||
"portal": "block/ilusium_portal"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 6 ],
|
||||
"to": [ 16, 16, 10 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#portal" },
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#portal" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "otemod:item/cobalt_nugget"
|
||||
"layer0": "otemod:item/empty_spawn_egg"
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 489 B |
Reference in a new issue