Skip to content

Commit

Permalink
添加猫薄荷
Browse files Browse the repository at this point in the history
  • Loading branch information
CSneko committed Nov 15, 2024
1 parent 327b076 commit dbb41eb
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ subprojects {

modCompileOnly "me.lucko:fabric-permissions-api:0.2-SNAPSHOT"
modImplementation "net.fabricmc.fabric-api:fabric-api:$rootProject.fabric_api_version"

}

java {
Expand Down
3 changes: 3 additions & 0 deletions common/src/main/resources/assets/toneko/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"item.toneko.furry_bohe": "Furry Bohe",
"item.toneko.furry_bohe.info": "Also try Furry Bohe",
"item.toneko.adventurer_neko_spawn_egg": "Adventurer Neko Spawn",
"item.toneko.catnip": "Catnip",
"item.toneko.catnip_seed": "Catnip Seed",
"block.toneko.catnip": "Catnip",
"itemGroup.toneko": "Neko",
"attribute.name.neko.degree": "neko degree",
"enchantment.toneko.reversion": "Reversion",
Expand Down
3 changes: 3 additions & 0 deletions common/src/main/resources/assets/toneko/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"item.toneko.furry_bohe": "兽薄荷",
"item.toneko.furry_bohe.info": "§aAlso try Furry Bohe",
"item.toneko.adventurer_neko_spawn_egg": "冒险家猫娘生成",
"item.toneko.catnip": "猫薄荷",
"item.toneko.catnip_seed": "猫薄荷种子",
"block.toneko.catnip": "猫薄荷",
"itemGroup.toneko": "猫猫",
"attribute.name.neko.degree": "猫猫等级",
"enchantment.toneko.reversion": "反转",
Expand Down
3 changes: 3 additions & 0 deletions common/src/main/resources/assets/toneko/lang/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"item.toneko.furry_bohe": "獸薄荷",
"item.toneko.furry_bohe.info": "Also try Furry Bohe",
"item.toneko.adventurer_neko_spawn_egg": "冒險家貓娘生成",
"item.toneko.catnip": "猫薄荷",
"item.toneko.catnip_seed": "猫薄荷种子",
"block.toneko.catnip": "猫薄荷",
"itemGroup.toneko": "貓貓",
"attribute.name.neko.degree": "貓貓等級",
"enchantment.toneko.reversion": "反轉",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "toneko:catnip_seed",
"weight": 1,
"quality": 1
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "toneko:catnip",
"weight": 1,
"quality": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 3
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "toneko:catnip",
"properties": {
"age": "7"
}
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "toneko:furry_bohe",
"weight": 1,
"quality": 1,
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
],
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "toneko:catnip",
"properties": {
"age": "7"
}
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "toneko:catnip_seed",
"weight": 1,
"quality": 1
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.7
},
{
"condition": "minecraft:block_state_property",
"block": "toneko:catnip",
"properties": {
"age": "7"
}
}
]
}
]
}

0 comments on commit dbb41eb

Please sign in to comment.