mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-21 16:09:26 +00:00
Added Chinese Lantern
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
items:
|
||||
default:chinese_lantern:
|
||||
material: paper
|
||||
custom-model-data: 3001
|
||||
data:
|
||||
display-name: "<!i>Chinese Lantern"
|
||||
model:
|
||||
type: "minecraft:model"
|
||||
path: "minecraft:item/custom/chinese_lantern"
|
||||
generation:
|
||||
parent: "minecraft:block/custom/chinese_lantern"
|
||||
behavior:
|
||||
type: block_item
|
||||
block: default:chinese_lantern
|
||||
blocks:
|
||||
default:chinese_lantern:
|
||||
loot:
|
||||
template: loot_table:normal
|
||||
arguments:
|
||||
item: default:chinese_lantern
|
||||
settings:
|
||||
hardness: 0.5
|
||||
resistance: 0.5
|
||||
push-reaction: NORMAL
|
||||
replaceable: false
|
||||
burnable: true
|
||||
burn-chance: 30
|
||||
fire-spread-chance: 100
|
||||
is-redstone-conductor: true
|
||||
is-suffocating: false
|
||||
instrument: HARP
|
||||
luminance: 15
|
||||
map-color: 36
|
||||
sounds:
|
||||
break: minecraft:block.wood.break
|
||||
step: minecraft:block.wood.step
|
||||
place: minecraft:block.wood.place
|
||||
hit: minecraft:block.wood.hit
|
||||
fall: minecraft:block.wood.fall
|
||||
state:
|
||||
id: 15
|
||||
state: note_block:15
|
||||
model:
|
||||
path: "minecraft:block/custom/chinese_lantern"
|
||||
generation:
|
||||
parent: "minecraft:block/cube_column"
|
||||
textures:
|
||||
"end": "minecraft:block/custom/chinese_lantern_top"
|
||||
"side": "minecraft:block/custom/chinese_lantern"
|
||||
@@ -3,7 +3,7 @@ items:
|
||||
material: paper
|
||||
custom-model-data: 3000
|
||||
data:
|
||||
display-name: "Fairy Flower"
|
||||
display-name: "<!i>Fairy Flower"
|
||||
model:
|
||||
type: "minecraft:model"
|
||||
path: "minecraft:item/custom/fairy_flower"
|
||||
|
||||
@@ -175,6 +175,7 @@ public class BukkitRecipeManager implements RecipeManager<ItemStack> {
|
||||
this.customRecipes.clear();
|
||||
|
||||
try {
|
||||
// do not unregister them
|
||||
// for (NamespacedKey key : this.injectedDataPackRecipes) {
|
||||
// unregisterRecipe(key);
|
||||
// }
|
||||
|
||||
@@ -131,6 +131,12 @@ public class PackManagerImpl implements PackManager {
|
||||
// icons
|
||||
plugin.saveResource("resources/default/configuration/icons.yml");
|
||||
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/font/image/icons.png");
|
||||
// blocks
|
||||
plugin.saveResource("resources/default/configuration/blocks.yml");
|
||||
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/block/custom/chinese_lantern.png");
|
||||
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/block/custom/chinese_lantern.png.mcmeta");
|
||||
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/block/custom/chinese_lantern_top.png");
|
||||
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/block/custom/chinese_lantern_top.png.mcmeta");
|
||||
// items
|
||||
plugin.saveResource("resources/default/configuration/items.yml");
|
||||
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/item/custom/topaz_rod.png");
|
||||
|
||||
Reference in New Issue
Block a user