mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 01:49:30 +00:00
添加按钮示例
This commit is contained in:
@@ -86,4 +86,5 @@ minecraft:white_bed: 1
|
||||
minecraft:redstone_torch: 1
|
||||
minecraft:redstone_wall_torch: 4
|
||||
minecraft:pumpkin_stem: 8
|
||||
minecraft:attached_pumpkin_stem: 4
|
||||
minecraft:attached_pumpkin_stem: 4
|
||||
minecraft:birch_button: 24
|
||||
@@ -94,6 +94,95 @@ blocks:
|
||||
south_texture: minecraft:block/custom/hami_melon
|
||||
west_texture: minecraft:block/custom/hami_melon
|
||||
default:hami_melon_stem:
|
||||
loot:
|
||||
pools:
|
||||
- rolls: 1
|
||||
entries:
|
||||
- type: item
|
||||
item: default:hami_melon_seeds
|
||||
functions:
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 0
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.06666667
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 1
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.13333334
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 2
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.2
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 3
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.26666668
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 4
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.33333334
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 5
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.4
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 6
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.46666667
|
||||
- type: set_count
|
||||
add: false
|
||||
conditions:
|
||||
- type: match_block_property
|
||||
properties:
|
||||
age: 7
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.53333336
|
||||
functions:
|
||||
- type: explosion_decay
|
||||
settings:
|
||||
map-color: 7
|
||||
hardness: 0
|
||||
@@ -101,7 +190,7 @@ blocks:
|
||||
push-reaction: DESTROY
|
||||
is-suffocating: false
|
||||
is-redstone-conductor: false
|
||||
item: default:hami_melon_item
|
||||
item: default:hami_melon_seeds
|
||||
is-randomly-ticking: true
|
||||
tags:
|
||||
- minecraft:bee_growables
|
||||
@@ -163,6 +252,21 @@ blocks:
|
||||
appearance: age=7
|
||||
id: 7
|
||||
default:attached_hami_melon_stem:
|
||||
loot:
|
||||
pools:
|
||||
- rolls: 1
|
||||
entries:
|
||||
- type: item
|
||||
item: default:hami_melon_seeds
|
||||
functions:
|
||||
- type: set_count
|
||||
add: false
|
||||
count:
|
||||
type: binomial
|
||||
extra: 3
|
||||
probability: 0.53333336
|
||||
functions:
|
||||
- type: explosion_decay
|
||||
settings:
|
||||
map-color: 7
|
||||
hardness: 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -27,6 +27,7 @@ categories:
|
||||
- default:palm_slab
|
||||
- default:palm_stairs
|
||||
- default:palm_pressure_plate
|
||||
- default:palm_button
|
||||
default:topaz:
|
||||
name: <!i><#FF8C00><i18n:category.topaz></#FF8C00>
|
||||
hidden: true
|
||||
|
||||
@@ -52,6 +52,7 @@ i18n:
|
||||
item.hami_melon_slice: Hami Melon Slice
|
||||
item.hami_melon: Hami Melon
|
||||
item.hami_melon_seeds: Hami Melon Seeds
|
||||
item.palm_button: Palm Button
|
||||
category.default.name: Default Assets
|
||||
category.default.lore: Contains the default configuration of CraftEngine
|
||||
category.palm_tree: Palm Tree
|
||||
@@ -113,6 +114,7 @@ i18n:
|
||||
item.hami_melon_slice: 哈密瓜片
|
||||
item.hami_melon: 哈密瓜
|
||||
item.hami_melon_seeds: 哈密瓜种子
|
||||
item.palm_button: 棕榈木按钮
|
||||
category.default.name: 默认资产
|
||||
category.default.lore: 包含了CraftEngine的默认配置
|
||||
category.palm_tree: 棕榈树
|
||||
@@ -158,6 +160,7 @@ lang:
|
||||
block_name:default:hami_melon: Hami Melon
|
||||
block_name:default:hami_melon_stem: Hami Melon Stem
|
||||
block_name:default:default:attached_hami_melon_stem: Hami Melon Stem
|
||||
block_name:default:palm_button: Palm Button
|
||||
zh_cn:
|
||||
block_name:default:chinese_lantern: 灯笼
|
||||
block_name:default:netherite_anvil: 下界合金砧
|
||||
@@ -190,4 +193,5 @@ lang:
|
||||
block_name:default:amethyst_wall_torch: 紫水晶火把
|
||||
block_name:default:hami_melon: 哈密瓜
|
||||
block_name:default:hami_melon_stem: 哈密瓜茎
|
||||
block_name:default:default:attached_hami_melon_stem: 哈密瓜茎
|
||||
block_name:default:default:attached_hami_melon_stem: 哈密瓜茎
|
||||
block_name:default:palm_button: 棕榈木按钮
|
||||
|
||||
Reference in New Issue
Block a user