From a758e694a324107e1ee27f338c77c80e3f0deff1 Mon Sep 17 00:00:00 2001 From: Gegy Date: Tue, 30 Jul 2024 23:26:53 +0200 Subject: [PATCH] Some random porting --- .../club/dev/create_bartender.mcfunction | 2 +- .../club/dev/create_gibnut.mcfunction | 2 +- .../club/dev/give_disguises.mcfunction | 10 +++++----- .../club/dev/summon_bouncer.mcfunction | 4 ++-- data/lt/function/club/get_invite_1.mcfunction | 16 +++++++-------- data/lt/function/club/get_invite_2.mcfunction | 16 +++++++-------- .../give/disguise/allay.mcfunction | 3 +-- .../ltextras/collectible/disguise/allay.json | 20 +++++++++++++++++++ 8 files changed, 46 insertions(+), 27 deletions(-) create mode 100644 data/lt/ltextras/collectible/disguise/allay.json diff --git a/data/lt/function/club/dev/create_bartender.mcfunction b/data/lt/function/club/dev/create_bartender.mcfunction index f7a82d4e..dbe4cff2 100644 --- a/data/lt/function/club/dev/create_bartender.mcfunction +++ b/data/lt/function/club/dev/create_bartender.mcfunction @@ -1 +1 @@ -summon villager ~ ~ ~ {NoGravity:1b,Invulnerable:1b,CustomNameVisible:1b,PersistenceRequired:1b,Health:100f,Tags:["club.bartender"],CustomName:'{"translate":"lt.club.entity.dave.name"}',Attributes:[{Name:generic.max_health,Base:100},{Name:generic.knockback_resistance,Base:1},{Name:generic.movement_speed,Base:0}],VillagerData:{level:99,profession:"minecraft:cleric",type:"minecraft:jungle"},Offers:{Recipes:[{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:coconut_water",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:black_coffee",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:pina_colada",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:mai_tai",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:lemonade",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:orangeade",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:4b},sell:{id:"tropicraft:limeade",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:caipirinha",Count:1b}}]}} \ No newline at end of file +summon villager ~ ~ ~ {NoGravity:1b,Invulnerable:1b,CustomNameVisible:1b,PersistenceRequired:1b,Health:100f,Tags:["club.bartender"],CustomName:'{"translate":"lt.club.entity.dave.name"}',Attributes:[{Name:generic.max_health,Base:100},{Name:generic.knockback_resistance,Base:1},{Name:generic.movement_speed,Base:0}],VillagerData:{level:99,profession:"minecraft:cleric",type:"minecraft:jungle"},Offers:{Recipes:[{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:coconut_water",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:black_coffee",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:pina_colada",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:mai_tai",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:lemonade",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",Count:2b},sell:{id:"tropicraft:orangeade",Count:1b}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",count:4},sell:{id:"tropicraft:limeade",count:1}},{rewardExp:0b,maxUses:2147483647,xp:0,buy:{id:"ltextras:tropicoin",count:2},sell:{id:"tropicraft:caipirinha",count:1}}]}} diff --git a/data/lt/function/club/dev/create_gibnut.mcfunction b/data/lt/function/club/dev/create_gibnut.mcfunction index 87c2a5d4..08b88710 100644 --- a/data/lt/function/club/dev/create_gibnut.mcfunction +++ b/data/lt/function/club/dev/create_gibnut.mcfunction @@ -1,2 +1,2 @@ kill @e[tag=club.gibnut] -summon tropicraft:gibnut ~ ~ ~ {vibing:1b,NoAI:1b,NoGravity:1b,Invulnerable:1b,PersistenceRequired:1b,Health:100f,Tags:["club.gibnut"],CustomName:'{"text":"Sir Gibsworth Montgomery Undermountain: Keeper of the Flame and Tender of the Ash","color":"gold"}',Attributes:[{Name:generic.knockback_resistance,Base:1},{Name:generic.movement_speed,Base:0}]} \ No newline at end of file +summon tropicraft:gibnut ~ ~ ~ {vibing:1b,NoAI:1b,NoGravity:1b,Invulnerable:1b,PersistenceRequired:1b,Health:100f,Tags:["club.gibnut"],CustomName:'{"text":"Sir Gibsworth Montgomery Undermountain: Keeper of the Flame and Tender of the Ash","color":"gold"}',attributes:[{id:generic.knockback_resistance,base:1},{id:generic.movement_speed,base:0}]} diff --git a/data/lt/function/club/dev/give_disguises.mcfunction b/data/lt/function/club/dev/give_disguises.mcfunction index 2abd0015..e452d922 100644 --- a/data/lt/function/club/dev/give_disguises.mcfunction +++ b/data/lt/function/club/dev/give_disguises.mcfunction @@ -1,5 +1,5 @@ -collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:ghast"}}} -collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:skeleton"}}} -collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:creeper"}}} -collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:zombie"}}} -collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:villager"}}} \ No newline at end of file +collectible give @s item ltminigames:disguise[ltminigames:disguise={entity:{type:"minecraft:ghast"}}] +collectible give @s item ltminigames:disguise[ltminigames:disguise={entity:{type:"minecraft:skeleton"}}] +collectible give @s item ltminigames:disguise[ltminigames:disguise={entity:{type:"minecraft:creeper"}}] +collectible give @s item ltminigames:disguise[ltminigames:disguise={entity:{type:"minecraft:zombie"}}] +collectible give @s item ltminigames:disguise[ltminigames:disguise={entity:{type:"minecraft:villager"}}] diff --git a/data/lt/function/club/dev/summon_bouncer.mcfunction b/data/lt/function/club/dev/summon_bouncer.mcfunction index cca2a05e..8babc08a 100644 --- a/data/lt/function/club/dev/summon_bouncer.mcfunction +++ b/data/lt/function/club/dev/summon_bouncer.mcfunction @@ -1,2 +1,2 @@ -summon vindicator ~ ~ ~ {Silent:1b,Invulnerable:1b,CustomNameVisible:0b,Team:"club.hideNames",PersistenceRequired:1b,CanPickUpLoot:0b,Health:1000f,Johnny:0b,PatrolLeader:0b,Patrolling:0b,CanJoinRaid:0b,Tags:["club.bouncer"],CustomName:'{"translate":"lt.club.entity.bouncer.name","color":"white"}',Attributes:[{Name:generic.max_health,Base:1000},{Name:generic.knockback_resistance,Base:1},{Name:generic.movement_speed,Base:0.35},{Name:generic.attack_damage,Base:25},{Name:generic.attack_knockback,Base:0}]} -effect give @e[tag=club.bouncer] regeneration infinite 10 true \ No newline at end of file +summon vindicator ~ ~ ~ {Silent:1b,Invulnerable:1b,CustomNameVisible:0b,Team:"club.hideNames",PersistenceRequired:1b,CanPickUpLoot:0b,Health:1000f,Johnny:0b,PatrolLeader:0b,Patrolling:0b,CanJoinRaid:0b,Tags:["club.bouncer"],CustomName:'{"translate":"lt.club.entity.bouncer.name","color":"white"}',attributes:[{id:generic.max_health,base:1000},{id:generic.knockback_resistance,base:1},{id:generic.movement_speed,base:0.35},{id:generic.attack_damage,base:25},{id:generic.attack_knockback,base:0}]} +effect give @e[tag=club.bouncer] regeneration infinite 10 true diff --git a/data/lt/function/club/get_invite_1.mcfunction b/data/lt/function/club/get_invite_1.mcfunction index 78c863d8..c5dcbfbb 100644 --- a/data/lt/function/club/get_invite_1.mcfunction +++ b/data/lt/function/club/get_invite_1.mcfunction @@ -2,26 +2,26 @@ tag @s add club.has_enough_disguises # Try giving item directly -give @s ltextras:invite{collectible_marker:1b,clubInviteOne:1b,undroppable:1b,image:{height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_1.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 1 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}} +give @s ltextras:invite[custom_data={clubInviteOne:1b},ltextras:collectible={},ltextras:undroppable={},ltextras:image={height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_1.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 1 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}] # Add item to collectibles menu -collectible give @s ltextras:invite{clubInviteOne:1b,undroppable:1b,image:{height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_1.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 1 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}} +collectible give @s ltextras:invite[custom_data={clubInviteOne:1b},ltextras:undroppable={},ltextras:image={height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_1.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_1.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 1 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}] # Reset invCheck obj scoreboard players reset @s club.invCheck # Check if player got invite -execute store success score @s club.invCheck run data get entity @s Inventory[{tag:{clubInviteOne:1b}}] +execute store success score @s club.invCheck run data get entity @s Inventory[{components:{'minecraft:custom_data':{clubInviteOne:1b}}] # CASE: Player got invite execute if score @s club.invCheck matches 1 run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_1.succeed","color": "gray","obfuscated":false}] execute if score @s club.invCheck matches 1 run playsound minecraft:block.note_block.iron_xylophone master @s ~ ~ ~ 2 1 # CASE: Player didn't get invite -execute if score @s club.invCheck matches 0 if entity @e[type=item,nbt={Item:{tag:{clubInviteOne:1b}}},distance=..3] run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_1.fail","color": "gray","obfuscated":false}] -execute if score @s club.invCheck matches 0 if entity @e[type=item,nbt={Item:{tag:{clubInviteOne:1b}}},distance=..3] run playsound minecraft:block.note_block.snare master @s ~ ~ ~ 2 1 -execute if score @s club.invCheck matches 0 if entity @e[type=item,nbt={Item:{tag:{clubInviteOne:1b}}},distance=..3] run tag @s add club.full_inventory -execute if score @s club.invCheck matches 0 run kill @e[type=item,nbt={Item:{tag:{clubInviteOne:1b}}}] +execute if score @s club.invCheck matches 0 if items entity @e[type=item,distance=..3] contents *[custom_data~{clubInviteOne:1b}] run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_1.fail","color": "gray","obfuscated":false}] +execute if score @s club.invCheck matches 0 if items entity @e[type=item,distance=..3] contents *[custom_data~{clubInviteOne:1b}] run playsound minecraft:block.note_block.snare master @s ~ ~ ~ 2 1 +execute if score @s club.invCheck matches 0 if items entity @e[type=item,distance=..3] contents *[custom_data~{clubInviteOne:1b}] run tag @s add club.full_inventory +execute if score @s club.invCheck matches 0 as @e[type=item] if items entity @s contents *[custom_data~{clubInviteOne:1b}] run kill @s # Reset invCheck obj -scoreboard players reset @s club.invCheck \ No newline at end of file +scoreboard players reset @s club.invCheck diff --git a/data/lt/function/club/get_invite_2.mcfunction b/data/lt/function/club/get_invite_2.mcfunction index 39c89db2..391beda3 100644 --- a/data/lt/function/club/get_invite_2.mcfunction +++ b/data/lt/function/club/get_invite_2.mcfunction @@ -5,26 +5,26 @@ tag @s add club.can_enter tag @s remove club.needs_invite_2 # Try giving item directly -give @s ltextras:invite{collectible_marker:1b,clubInviteTwo:1b,undroppable:1b,image:{height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_2.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 2 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}} +give @s ltextras:invite[custom_data={clubInviteTwo:1b},ltextras:collectible={},ltextras:undroppable={},ltextras:image={height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_2.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 2 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}] # Add item to collectibles menu -collectible give @s ltextras:invite{clubInviteTwo:1b,undroppable:1b,image:{height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_2.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 2 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}} +collectible give @s ltextras:invite[custom_data={clubInviteTwo:1b},ltextras:undroppable={},ltextras:image={height:292.0f,name:{extra:[{obfuscated:1b,text:"..."},{color:"dark_purple",text:" 1 "},{obfuscated:1b,text:"..."}],text:""},text:[{align_horizontal:"center",align_vertical:"end",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.top"},x:287.0f,y:153.0f},{align_horizontal:"center",align_vertical:"start",line_spacing:18.0f,max_width:125.0f,text:{color:"#D6B3E0",translate:"invite.ltextras.club_2.bottom"},x:287.0f,y:191.0f}],texture:"ltextras:textures/images/ccfucc_invite_2.png",width:371.0f},display:{Name:'[{"text":"xxx","color":"white","italic":false,"obfuscated":true},{"text":" 2 ","color":"dark_purple","italic":false,"obfuscated":false},{"text":"xxx","color":"white","italic":false,"obfuscated":true}]'}] # Reset invCheck obj scoreboard players reset @s club.invCheck # Check if player got invite -execute store success score @s club.invCheck run data get entity @s Inventory[{tag:{clubInviteTwo:1b}}] +execute store success score @s club.invCheck run data get entity @s Inventory[{components:{'minecraft:custom_data':{clubInviteTwo:1b}}] # CASE: Player got invite execute if score @s club.invCheck matches 1 run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_2.succeed","color": "gray","obfuscated":false}] execute if score @s club.invCheck matches 1 run playsound minecraft:block.note_block.iron_xylophone master @s ~ ~ ~ 2 1 # CASE: Player didn't get invite -execute if score @s[tag=!club.full_inventory] club.invCheck matches 0 if entity @e[type=item,nbt={Item:{tag:{clubInviteTwo:1b}}},distance=..3] run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_2.fail","color": "gray","obfuscated":false}] -execute if score @s[tag=club.full_inventory] club.invCheck matches 0 if entity @e[type=item,nbt={Item:{tag:{clubInviteTwo:1b}}},distance=..3] run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_2.special","color": "gray","obfuscated":false}] -execute if score @s club.invCheck matches 0 if entity @e[type=item,nbt={Item:{tag:{clubInviteTwo:1b}}},distance=..3] run playsound minecraft:block.note_block.snare master @s ~ ~ ~ 2 1 -execute if score @s club.invCheck matches 0 run kill @e[type=item,nbt={Item:{tag:{clubInviteTwo:1b}}}] +execute if score @s[tag=!club.full_inventory] club.invCheck matches 0 if items entity @e[type=item,distance=..3] contents *[custom_data~{clubInviteTwo:1b}] run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_2.fail","color": "gray","obfuscated":false}] +execute if score @s[tag=club.full_inventory] club.invCheck matches 0 if items entity @e[type=item,distance=..3] contents *[custom_data~{clubInviteTwo:1b}] run tellraw @s [{"text":"Club","color":"dark_purple","obfuscated":true},{"translate": "lt.club.message.invite_2.special","color": "gray","obfuscated":false}] +execute if score @s club.invCheck matches 0 if items entity @e[type=item,distance=..3] contents *[custom_data~{clubInviteTwo:1b}] run playsound minecraft:block.note_block.snare master @s ~ ~ ~ 2 1 +execute if score @s club.invCheck matches 0 as @e[type=item] if items entity @s contents *[custom_data~{clubInviteTwo:1b}] run kill @s # Reset invCheck obj -scoreboard players reset @s club.invCheck \ No newline at end of file +scoreboard players reset @s club.invCheck diff --git a/data/lt/function/collectible/give/disguise/allay.mcfunction b/data/lt/function/collectible/give/disguise/allay.mcfunction index 97835c78..18030ca2 100644 --- a/data/lt/function/collectible/give/disguise/allay.mcfunction +++ b/data/lt/function/collectible/give/disguise/allay.mcfunction @@ -1,2 +1 @@ -#summon ltextras:collectible ~ ~ ~ {collectible:{item:"ltminigames:disguise",tag:{disguise:{entity:{type:"minecraft:allay",tag:{}}},display:{Name:'[{"translate":"entity.minecraft.allay","color":"#005958","italic":false},{"text":" "},{"translate":"lt.collectible.disguise.name.suffix","color":"#005958","italic":false}]',Lore:['{"text":" "}','{"translate":"lt.collectible.unicode.reward","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.head","color":"gray","italic":false}','{"translate":"lt.collectible.disguise.tooltip.subtract_player","color":"blue","italic":false}','[{"text":" + ","color":"blue","italic":false},{"translate":"entity.minecraft.allay","color":"blue","italic":false}]']},HideFlags:255,Enchantments:[{}]}}} -collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:allay",tag:{}}},display:{Name:'[{"translate":"entity.minecraft.allay","color":"#005958","italic":false},{"text":" "},{"translate":"lt.collectible.disguise.name.suffix","color":"#005958","italic":false}]',Lore:['{"text":" "}','{"translate":"lt.collectible.unicode.reward","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.head","color":"gray","italic":false}','{"translate":"lt.collectible.disguise.tooltip.subtract_player","color":"blue","italic":false}','[{"text":" + ","color":"blue","italic":false},{"translate":"entity.minecraft.allay","color":"blue","italic":false}]']},HideFlags:255,Enchantments:[{}]} \ No newline at end of file +collectible give @s lt:disguise/allay diff --git a/data/lt/ltextras/collectible/disguise/allay.json b/data/lt/ltextras/collectible/disguise/allay.json new file mode 100644 index 00000000..639178a4 --- /dev/null +++ b/data/lt/ltextras/collectible/disguise/allay.json @@ -0,0 +1,20 @@ +{ + "item": "ltminigames:disguise", + "components": { + "ltminigames:disguise": { + "entity": { + "type": "minecraft:allay", + "tag": {} + } + }, + "item_name": "[{\"translate\":\"entity.minecraft.allay\",\"color\":\"#005958\",\"italic\":false},{\"text\":\" \"},{\"translate\":\"lt.collectible.disguise.name.suffix\",\"color\":\"#005958\",\"italic\":false}]", + "lore": [ + "{\"text\":\" \"}','{\"translate\":\"lt.collectible.unicode.reward\",\"color\":\"white\",\"italic\":false}", + "{\"text\":\" \"}", + "{\"translate\":\"item.modifiers.head\",\"color\":\"gray\",\"italic\":false}", + "{\"translate\":\"lt.collectible.disguise.tooltip.subtract_player\",\"color\":\"blue\",\"italic\":false}", + "[{\"text\":\" + \",\"color\":\"blue\",\"italic\":false},{\"translate\":\"entity.minecraft.allay\",\"color\":\"blue\",\"italic\":false}]" + ], + "enchantment_glint_override": true + } +}