mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
v0.8-1.16.5-36.0.14
This commit is contained in:
5
kubejs/assets/kubejs/blockstates/graphite_block.js
Normal file
5
kubejs/assets/kubejs/blockstates/graphite_block.js
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"variants": {
|
||||
"normal": [{"model": "kubejs:graphite_block"}]
|
||||
}
|
||||
}
|
4
kubejs/assets/kubejs/lang/en_us.json
Normal file
4
kubejs/assets/kubejs/lang/en_us.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"block.kubejs.graphite_block": "Graphite",
|
||||
"item.kubejs.diamond_nugget": "Diamond Nugget"
|
||||
}
|
6
kubejs/assets/kubejs/models/block/graphite_block.js
Normal file
6
kubejs/assets/kubejs/models/block/graphite_block.js
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "kubejs:blocks/graphite_block"
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 912 B After Width: | Height: | Size: 912 B |
Binary file not shown.
Before Width: | Height: | Size: 756 B |
Binary file not shown.
Before Width: | Height: | Size: 597 B |
@ -1,5 +1,4 @@
|
||||
events.listen('jei.hide.items', (event) => {
|
||||
event.hide('/appliedenergistics2:facade/');
|
||||
event.hide('thermal:bitumen');
|
||||
event.hide('/apatite/');
|
||||
});
|
48
kubejs/data/minecraft/loot_tables/blocks/coal_ore.json
Normal file
48
kubejs/data/minecraft/loot_tables/blocks/coal_ore.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "emendatusenigmatica:coal_chunk"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:ore_drops"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:coal"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
48
kubejs/data/minecraft/loot_tables/blocks/diamond_ore.json
Normal file
48
kubejs/data/minecraft/loot_tables/blocks/diamond_ore.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "emendatusenigmatica:diamond_chunk"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:ore_drops"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
48
kubejs/data/minecraft/loot_tables/blocks/emerald_ore.json
Normal file
48
kubejs/data/minecraft/loot_tables/blocks/emerald_ore.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "emendatusenigmatica:emerald_chunk"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:ore_drops"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:emerald"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
19
kubejs/data/minecraft/loot_tables/blocks/gold_ore.json
Normal file
19
kubejs/data/minecraft/loot_tables/blocks/gold_ore.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "emendatusenigmatica:gold_chunk"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
19
kubejs/data/minecraft/loot_tables/blocks/iron_ore.json
Normal file
19
kubejs/data/minecraft/loot_tables/blocks/iron_ore.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "emendatusenigmatica:iron_chunk"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
56
kubejs/data/minecraft/loot_tables/blocks/lapis_ore.json
Normal file
56
kubejs/data/minecraft/loot_tables/blocks/lapis_ore.json
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "emendatusenigmatica:lapis_chunk"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"min": 4.0,
|
||||
"max": 9.0,
|
||||
"type": "minecraft:uniform"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:ore_drops"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:lapis_lazuli"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
56
kubejs/data/minecraft/loot_tables/blocks/redstone_ore.json
Normal file
56
kubejs/data/minecraft/loot_tables/blocks/redstone_ore.json
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "emendatusenigmatica:redstone_chunk"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"min": 4.0,
|
||||
"max": 5.0,
|
||||
"type": "minecraft:uniform"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:ore_drops"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:redstone"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -18,5 +18,8 @@ events.listen('recipes', e => {
|
||||
pressing, sandpaper_polishing, splashing, filling, emptying, mechanical_crafting
|
||||
} = e.recipes.create;
|
||||
|
||||
pressing(Item.of('#forge:storage_blocks/coal', 9), 'kubejs:graphite_one');
|
||||
compacting('kubejs:graphite_block', ['#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal','#forge:storage_blocks/coal']).heated();
|
||||
compacting('kubejs:graphite_block', ['#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal','#forge:storage_blocks/charcoal']).heated();
|
||||
compacting('kubejs:diamond_nugget', ['kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block', 'kubejs:graphite_block']).superheated();
|
||||
compacting('minecraft:diamond', ['kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget', 'kubejs:diamond_nugget']).superheated();
|
||||
});
|
@ -1,6 +1,9 @@
|
||||
// priority: 98
|
||||
|
||||
events.listen('recipes', e => {
|
||||
// Create
|
||||
e.replaceInput({id: 'create:pressing/lapis_block'}, 'minecraft:lapis_block', '#forge:gems/lapis');
|
||||
|
||||
// Mana and Artifice
|
||||
e.replaceInput({}, 'mana-and-artifice:vinteum_ore', '#forge:ores/arcane');
|
||||
});
|
3
kubejs/startup_scripts/blocks.js
Normal file
3
kubejs/startup_scripts/blocks.js
Normal file
@ -0,0 +1,3 @@
|
||||
events.listen('block.registry', e => {
|
||||
e.create('graphite_block').material('rock').hardness(0.5).add()
|
||||
});
|
@ -1,6 +1,4 @@
|
||||
events.listen('item.registry', function (event) {
|
||||
event.create('diamond_nugget').group('fellies').displayName('Diamond Nugget');
|
||||
event.create('graphite_one').group('fellies').displayName('Graphite 1');
|
||||
event.create('graphite_two').group('fellies').displayName('Graphite 2');
|
||||
event.create('graphite_three').group('fellies').displayName('Graphite 3');
|
||||
events.listen('item.registry', e => {
|
||||
e.createBlockItem('graphite_block').add();
|
||||
e.create('diamond_nugget').add();
|
||||
});
|
||||
|
Reference in New Issue
Block a user