species stuff and loot tables
This commit is contained in:
parent
f646c46377
commit
62edf3929f
8 changed files with 98 additions and 4 deletions
|
|
@ -0,0 +1,45 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:entity",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"name": "loot_pool",
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:rotten_flesh",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"max": 2,
|
||||||
|
"min": 1,
|
||||||
|
"type": "minecraft:uniform"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "loot_pool",
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:bone",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_count",
|
||||||
|
"count": {
|
||||||
|
"max": 6,
|
||||||
|
"min": 4,
|
||||||
|
"type": "minecraft:uniform"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -52,8 +52,8 @@
|
||||||
{
|
{
|
||||||
"function": "minecraft:set_count",
|
"function": "minecraft:set_count",
|
||||||
"count": {
|
"count": {
|
||||||
"max": 1,
|
"max": 6,
|
||||||
"min": 0,
|
"min": 4,
|
||||||
"type": "minecraft:uniform"
|
"type": "minecraft:uniform"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
42
kubejs/data/species/loot_tables/entities/birt.json
Normal file
42
kubejs/data/species/loot_tables/entities/birt.json
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:entity",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"name": "loot_pool",
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:bone"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "loot_pool",
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "species:birt_egg",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -132,6 +132,7 @@ const registerAdAstraBlockTags = (event) => {
|
||||||
event.add('ad_astra:moon_stone_replaceables', 'tfc:rock/hardened/dacite')
|
event.add('ad_astra:moon_stone_replaceables', 'tfc:rock/hardened/dacite')
|
||||||
|
|
||||||
event.add('minecraft:rabbits_spawnable_on', '#ad_astra:moon_stone_replaceables')
|
event.add('minecraft:rabbits_spawnable_on', '#ad_astra:moon_stone_replaceables')
|
||||||
|
event.add('species:limpet_spawnable_on', '#ad_astra:moon_stone_replaceables')
|
||||||
|
|
||||||
event.add('tfc:can_landslide', 'ad_astra:moon_sand')
|
event.add('tfc:can_landslide', 'ad_astra:moon_sand')
|
||||||
event.add('tfc:can_landslide', 'ad_astra:mars_sand')
|
event.add('tfc:can_landslide', 'ad_astra:mars_sand')
|
||||||
|
|
|
||||||
|
|
@ -226,6 +226,7 @@ ServerEvents.recipes(event => {
|
||||||
registerRnrRecipes(event)
|
registerRnrRecipes(event)
|
||||||
registerSophisticatedBackpacksRecipes(event)
|
registerSophisticatedBackpacksRecipes(event)
|
||||||
registerSimplylightRecipes(event)
|
registerSimplylightRecipes(event)
|
||||||
|
registerSpeciesRecipes(event)
|
||||||
registerTFCRecipes(event)
|
registerTFCRecipes(event)
|
||||||
registerTFCBetterBFRecipes(event)
|
registerTFCBetterBFRecipes(event)
|
||||||
registerTFCLunchBoxRecipes(event)
|
registerTFCLunchBoxRecipes(event)
|
||||||
|
|
|
||||||
5
kubejs/server_scripts/species/recipes.js
Normal file
5
kubejs/server_scripts/species/recipes.js
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
function registerSpeciesRecipes(event) {
|
||||||
|
event.remove({ mod: 'species' })
|
||||||
|
}
|
||||||
|
|
@ -26,7 +26,6 @@ const registerSpeciesItemTags = (event) => {
|
||||||
|
|
||||||
const DISABLED_ITEMS = [
|
const DISABLED_ITEMS = [
|
||||||
'species:deepfish_bucket',
|
'species:deepfish_bucket',
|
||||||
'species:birt_egg',
|
|
||||||
'species:bone_spike',
|
'species:bone_spike',
|
||||||
'species:ancient_pinecone',
|
'species:ancient_pinecone',
|
||||||
'species:petrified_egg',
|
'species:petrified_egg',
|
||||||
|
|
@ -44,4 +43,5 @@ const registerSpeciesItemTags = (event) => {
|
||||||
event.add('c:hidden_from_recipe_viewers', item)
|
event.add('c:hidden_from_recipe_viewers', item)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
event.add('forge:eggs', 'species:birt_egg')
|
||||||
}
|
}
|
||||||
|
|
@ -885,7 +885,7 @@ global.TFC_MEAT_RECIPE_COMPONENTS = [
|
||||||
{ input: 'tfc:food/hyena', output: 'tfc:food/cooked_hyena', name: 'cooked_hyena' },
|
{ input: 'tfc:food/hyena', output: 'tfc:food/cooked_hyena', name: 'cooked_hyena' },
|
||||||
{ input: 'tfc:food/duck', output: 'tfc:food/cooked_duck', name: 'cooked_duck' },
|
{ input: 'tfc:food/duck', output: 'tfc:food/cooked_duck', name: 'cooked_duck' },
|
||||||
{ input: 'tfc:food/chevon', output: 'tfc:food/cooked_chevon', name: 'cooked_chevon' },
|
{ input: 'tfc:food/chevon', output: 'tfc:food/cooked_chevon', name: 'cooked_chevon' },
|
||||||
{ input: 'minecraft:egg', output: 'tfc:food/cooked_egg', name: 'cooked_egg' },
|
{ input: '#forge:eggs', output: 'tfc:food/cooked_egg', name: 'cooked_egg' },
|
||||||
];
|
];
|
||||||
|
|
||||||
global.TFC_QUERN_POWDER_RECIPE_COMPONENTS = [
|
global.TFC_QUERN_POWDER_RECIPE_COMPONENTS = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue