๐LootChest config
1. Main Reward Configuration
regular: (A.k.a lootchest type indentifier.)
icon:
material: PLAYER_HEAD
data: 3
head_value: <custom_texture>
reward-amount: 3 (The amount of rewards will be given. The rewards-location amount must be equals or higher than this amount!)2. Configuring the Rewards List
Example Reward Entry:
rewards-list:
'1':
icon:
material: BARRIER
data: 0
holding-icon: true
rotations:
'1':
position: RIGHT_ARM
value: -90, 0, 90
click-sound:
sound: UI_BUTTON_CLICK
yaw: 10
pitch: 10
hover-sound:
sound: ENTITY_CHICKEN_EGG
yaw: 5
pitch: 5
move-forward: true
name:
enable: false
name: ''
chance: 30
rewards:
- '[console] give {player} dirt 1'
actions:
- '[message] Congrats, it works!'
children:
'1':
location-offset: 0.5 * VectorX, -1.3, 0.5 * VectorZ
name:
enable: true
display-name: '&aDirt x1'Explanation:
Last updated