Tools

From EscapeToMars
Jump to navigation Jump to search


Tool List

(Shop)

Ideas

  • Bridge-Builder (extend blocks in view distance, very helpful in nether/end)
  • Wall-Builder (Build 1x3x3)
    • Bridge-Builder can be used to build walls?
    • Could lag if building high in the air
    • How do we set the block used?
  • Well-Builder (3x3 down/up)
  • Tunnel-Builder (3x3 only horizontally N E S W)
  • Block-Extender (clicking on a block extends it in viewing direction if present in off-hand/inv)
  • Sponge-Tool
  • Biome-Tool
  • Grass/Growth Tool?
  • Make tools work only in specific worlds
  • 1.16 increases Structure block lines from 32 to 48. Could be used for ChunkliWand // "§r§4[§6⚒§4] Chunkli"
  • FIXME: .getLore() returns a new Arraylist with converted IChatBaseComponent. We should add a direct access for checks only.

Backup

//	IToolChecker bootsTool = new ToolCheckerBoots();
//	addTool(bootsTool);
//	IToolChecker powerPickaxeTool = new ToolCheckerPowerPickaxe("§r§4[§6⚒§4] Disintegrater: Stone");
//	addTool(powerPickaxeTool);
//	IToolChecker powerPickaxeTool2 = new ToolCheckerPowerPickaxe("§r§4[§6⚒§4] Disintegrater: Netherrack");
//	addTool(powerPickaxeTool2);
//	IToolChecker powerPickaxeTool3 = new ToolCheckerPowerPickaxe("§r§4[§6⚒§4] Disintegrater: Terracotta");
//	addTool(powerPickaxeTool3);
//	
//	IToolChecker powerAxeTool = new ToolCheckerPowerAxe("§r§4[§6⚒§4] Disintegrater: Wood");
//	addTool(powerAxeTool);
//	
//	IToolChecker powerSpadeTool = new ToolCheckerPowerSpade("§r§4[§6⚒§4] Disintegrater: Dirt");
//	addTool(powerSpadeTool);
//	IToolChecker powerSpadeTool2 = new ToolCheckerPowerSpade("§r§4[§6⚒§4] Disintegrater: Grass");
//	addTool(powerSpadeTool2);
//	IToolChecker powerSpadeTool3 = new ToolCheckerPowerSpade("§r§4[§6⚒§4] Disintegrater: Sand");
//	addTool(powerSpadeTool3);
//	
//	IToolChecker powerBucketTool = new ToolCheckerPowerBucket("§r§4[§6⚒§4] Disintegrater: Water");
//	addTool(powerBucketTool);
//	
//	IToolChecker powerBucketTool2 = new ToolCheckerPowerBucket("§r§4[§6⚒§4] Disintegrater: Lava");
//	addTool(powerBucketTool2);
//	
//	
//	IToolChecker powerArrowTool = new ToolCheckerPowerArrow("§r§4[§6⚒§4] Disintegrater: Water");
//	addTool(powerArrowTool);
//	IToolChecker powerArrowTool2 = new ToolCheckerPowerArrow("§r§4[§6⚒§4] Spawner: Torch");
//	addTool(powerArrowTool2);
//	IToolChecker powerArrowTool3 = new ToolCheckerPowerArrow("§r§4[§6⚒§4] Spawner: Tree");
//	addTool(powerArrowTool3);


1.15 Shop Sign test

library fromcommand schema_t_shopdarkoak minecraft:dark_oak_sign{display:{Name:'{"text":"§r§4[§6✒§4] §2Schema"}'}}

fcraft enabled schema_t_shopdarkoak false
fcraft delete schema_t_shopdarkoak

fcraft create schema_t_shopdarkoak paper,paper,paper,paper,darkoaksign,paper,paper,paper,paper schema_t_shopdarkoak "§r§4[§6✒§4] §2Shop-Sign"
fcraft description schema_t_shopdarkoak 1 "twitch.tv/kademlia"
fcraft shaped schema_t_shopdarkoak true

1.15 Tools Test

library fromcommand schema_t_stonedisintegrater minecraft:golden_pickaxe{display:{Name:'{"text":"§r§4[§6⚒§4] §2Schema"}'}}

fcraft enabled t_stonedisintegrater false
ftool delete t_stonedisintegrater 
fcraft delete t_stonedisintegrater 

fcraft create t_stonedisintegrater hayblock,hayblock,hayblock,hayblock,diamond,hayblock,hayblock,hayblock,hayblock schema_t_stonedisintegrater "§r§4[§6⚒§4] §2Stone Disintegrater"
fcraft description t_stonedisintegrater 1 "Stones simply disappear - magic"
fcraft shaped t_stonedisintegrater true

ftool create t_stonedisintegrater schema_t_stonedisintegrater "§r§4[§6⚒§4] §2Stone Disintegrater"
ftool unique t_stonedisintegrater true
ftool soulbound t_stonedisintegrater true
ftool limiteduse t_stonedisintegrater true 10
ftool linkrecipe t_stonedisintegrater true

ftool setEventTrigger t_stonedisintegrater org.bukkit.event.block.BlockBreakEvent
ftool setmethodname t_stonedisintegrater disintegrate 5
#ftool setmethodparam t_stonedisintegrater 0 org.bukkit.entity.Player
#ftool setmethodparam t_stonedisintegrater 1 org.bukkit.Location
ftool setmethodparam t_stonedisintegrater 2 java.lang.Integer 500
ftool setmethodparam t_stonedisintegrater 3 java.lang.Integer 20
ftool setmethodparam t_stonedisintegrater 4 org.bukkit.Material STONE

ftool testmethod t_stonedisintegrater

Examples

  • fix for 1.15
give kademlia minecraft:golden_boots{display:{Name:'{"text":"§r§l[§6 ✈ §r§l]-Boots"}',Lore:['{"text":"§6§lCoreLevel§r§l: 11"}', '{"text":"§c§lSpeed§r:§5 95.5%"}', '{"text":"§a§lEfficiency§r:§5 77.5%"}']},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]} 1

give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 12", "§c§lSpeed§r:§5 96.0%", "§a§lEfficiency§r:§5 80.0%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 13", "§c§lSpeed§r:§5 96.5%", "§a§lEfficiency§r:§5 82.5%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 14", "§c§lSpeed§r:§5 97.0%", "§a§lEfficiency§r:§5 85.0%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 15", "§c§lSpeed§r:§5 97.5%", "§a§lEfficiency§r:§5 87.5%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 16", "§c§lSpeed§r:§5 98.0%", "§a§lEfficiency§r:§5 90.0%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 17", "§c§lSpeed§r:§5 98.5%", "§a§lEfficiency§r:§5 92.5%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots{display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 18", "§c§lSpeed§r:§5 99.0%", "§a§lEfficiency§r:§5 95.0%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}

give Kademlia minecraft:golden_pickaxe 1 0 {display:{Name:"§4[§6⚒⚔☤☣⚕✉✶❄❆➵✄§4] §2Stone Disintegrater",Lore:["Diese Hacke kann Steine komplett auflösen"]}}


give Kademlia minecraft:golden_pickaxe 1 0 {display:{Name:"§r§4[§6⚒§4] §2Stone DisintegraterBlueprint"}}

/flibrary create pt_disintegrater_stone


fcraft enabled pt_disintegrater_stone false

ftool delete pt_disintegrater_stone
fcraft delete pt_disintegrater_stone

fcraft create pt_disintegrater_stone "§r§4[§6⚒§4] §2Stone Disintegrater" diamondblock,diamondblock,diamondblock,diamondblock,rb_cpu,diamondblock,diamondblock,diamondblock,diamondblock pt_disintegrater_stone
fcraft description pt_disintegrater_stone 1 "Diese Hacke kann Steine komplett auflösen"
fcraft shaped pt_disintegrater_stone true

ftool create pt_disintegrater_stone pt_disintegrater_stone "§r§4[§6⚒§4] §2Stone Disintegrater"
ftool unique pt_disintegrater_stone true
ftool soulbound pt_disintegrater_stone true
ftool limiteduse pt_disintegrater_stone true 5
ftool linkrecipe pt_disintegrater_stone true

ftool setEventTrigger pt_disintegrater_stone org.bukkit.event.block.BlockBreakEvent
ftool setmethodname pt_disintegrater_stone disintegrate 5
#ftool setmethodparam pt_disintegrater_stone 0 org.bukkit.entity.Player
#ftool setmethodparam pt_disintegrater_stone 1 org.bukkit.Location
ftool setmethodparam pt_disintegrater_stone 2 java.lang.Integer 150
ftool setmethodparam pt_disintegrater_stone 3 java.lang.Integer 20
ftool setmethodparam pt_disintegrater_stone 4 org.bukkit.Material STONE

ftool testmethod pt_disintegrater_stone

------------------------------------------------------------------------------------------

ftool delete pt_disintegrater_stone2
fcraft delete pt_disintegrater_stone2

fcraft create pt_disintegrater_stone2 "§r§4[§6⚒§4] §2Thors Steinhammer" null,diamondblock,null,diamondblock,rb_cpu,diamondblock,null,diamondblock,null pt_disintegrater_stone
fcraft description pt_disintegrater_stone2 1 "Kann Steine komplett auflösen."
fcraft description pt_disintegrater_stone2 2 "Wird am 01.07.2019 deaktiviert."
fcraft description pt_disintegrater_stone2 3 "Es wird immer nur ein GS verändert."
fcraft shaped pt_disintegrater_stone2 true

ftool create pt_disintegrater_stone2 pt_disintegrater_stone "§r§4[§6⚒§4] §2Thors Steinhammer"
ftool unique pt_disintegrater_stone2 true
ftool soulbound pt_disintegrater_stone2 true
ftool limiteduse pt_disintegrater_stone2 true 15
ftool linkrecipe pt_disintegrater_stone2 true

ftool setEventTrigger pt_disintegrater_stone2 org.bukkit.event.block.BlockBreakEvent
ftool setmethodname pt_disintegrater_stone2 disintegrate 5
#ftool setmethodparam pt_disintegrater_stone2 0 org.bukkit.entity.Player
#ftool setmethodparam pt_disintegrater_stone2 1 org.bukkit.Location
ftool setmethodparam pt_disintegrater_stone2 2 java.lang.Integer 1000
ftool setmethodparam pt_disintegrater_stone2 3 java.lang.Integer 50
ftool setmethodparam pt_disintegrater_stone2 4 org.bukkit.Material STONE

fcraft enabled pt_disintegrater_stone2 true
ftool enabled pt_disintegrater_stone2 true

ftool testmethod pt_disintegrater_stone2

------------------------------------------------------------------------------------------


ftool delete pt_disintegrater_stone3
fcraft delete pt_disintegrater_stone3

fcraft create pt_disintegrater_stone3 "§r§4[§6⚒§4] §2Thors Steinhammer" null,diamondblock,null,diamondblock,rb_cpu,diamondblock,null,diamondblock,null pt_disintegrater_stone
fcraft description pt_disintegrater_stone3 1 "Kann Steine komplett auflösen."
fcraft description pt_disintegrater_stone3 2 "Wird am 01.07.2019 deaktiviert."
fcraft shaped pt_disintegrater_stone3 true

ftool create pt_disintegrater_stone3 pt_disintegrater_stone "§r§4[§6⚒§4] §2Thors Steinhammer"
ftool unique pt_disintegrater_stone3 true
ftool soulbound pt_disintegrater_stone3 true
ftool limiteduse pt_disintegrater_stone3 true 20
ftool linkrecipe pt_disintegrater_stone3 true

ftool setEventTrigger pt_disintegrater_stone3 org.bukkit.event.block.BlockBreakEvent
ftool setmethodname pt_disintegrater_stone3 disintegrate 5
#ftool setmethodparam pt_disintegrater_stone3 0 org.bukkit.entity.Player
#ftool setmethodparam pt_disintegrater_stone3 1 org.bukkit.Location
ftool setmethodparam pt_disintegrater_stone3 2 java.lang.Integer 1000
ftool setmethodparam pt_disintegrater_stone3 3 java.lang.Integer 50
ftool setmethodparam pt_disintegrater_stone3 4 org.bukkit.Material STONE

fcraft enabled pt_disintegrater_stone3 true
ftool enabled pt_disintegrater_stone3 true

ftool testmethod pt_disintegrater_stone3

------------------------------------------------------------------------------------------

give Kademlia minecraft:golden_pickaxe 1 0 {display:{Name:"§r§4[§6⚒§4] §2AreaBreakBlueprint"}}
/flibrary create pt_areabreakbp

ftool delete pt_areabreak_1
fcraft delete pt_areabreak_1

fcraft create pt_areabreak_1 "§r§4[§6⚒§4] §2AreaBreak1" null,goldblock,null,goldblock,rb_cpu,goldblock,null,goldblock,null pt_areabreakbp
fcraft description pt_areabreak_1 1 "Wowee"
fcraft shaped pt_areabreak_1 true
fcraft clearenchantments pt_areabreak_1
fcraft addenchantment pt_areabreak_1 DIG_SPEED 5 true



ftool create pt_areabreak_1 pt_areabreakbp "§r§4[§6⚒§4] §2AreaBreak1"
ftool unique pt_areabreak_1 true
ftool soulbound pt_areabreak_1 true
ftool limiteduse pt_areabreak_1 true 20
ftool linkrecipe pt_areabreak_1 true

ftool setEventTrigger pt_areabreak_1 org.bukkit.event.block.BlockBreakEvent
ftool setmethodname pt_areabreak_1 areaBreak 7
#ftool setmethodparam pt_areabreak_1 0 org.bukkit.entity.Player
#ftool setmethodparam pt_areabreak_1 1 org.bukkit.Location
ftool setmethodparam pt_areabreak_1 2 java.lang.Integer 1
ftool setmethodparam pt_areabreak_1 3 java.lang.Integer 1
ftool setmethodparam pt_areabreak_1 4 java.lang.Integer 0
ftool setmethodparam pt_areabreak_1 5 [Lde.k.fakestuff.internal.tools.BlockKey; [{"material":"STONE","data":-1}]
ftool setmethodparam pt_areabreak_1 6 java.lang.Boolean TRUE


# Fireball-egg spawning rockets
flibcmd delete ptef_1
flibcmd create ptef_1 1 @@raw:/particle fireworksSpark {{Loc}} 0 0 0 0.2 1
flibcmd modoffsetinitial ptef_1 0.5,0.5,0.5

ftool removecommand pt_areabreak_1 ptef_1 

ftool addcommand pt_areabreak_1 ptef_1 5

------------------------------------------------------------------------------------------



give Kademlia minecraft:golden_pickaxe 1 0 {display:{Name:"§r§4[§6⚒§4] §2AbrissbirneBlueprint"}}
/flibrary create pt_abrissbirne

ftool delete pt_abrissbirne_1
fcraft delete pt_abrissbirne_1

fcraft create pt_abrissbirne_1 "§r§4[§6⚒§4] §2Abrissbirne1" tnt,goldblock,tnt,goldblock,rb_cpu,goldblock,tnt,goldblock,tnt pt_abrissbirne
fcraft description pt_abrissbirne_1 1 "Wowee"
fcraft shaped pt_abrissbirne_1 true
fcraft clearenchantments pt_abrissbirne_1
fcraft addenchantment pt_abrissbirne_1 DIG_SPEED 5 true


ftool create pt_abrissbirne_1 pt_abrissbirne "§r§4[§6⚒§4] §2Abrissbirne1"
ftool unique pt_abrissbirne_1 true
ftool soulbound pt_abrissbirne_1 true
ftool limiteduse pt_abrissbirne_1 true 20
ftool linkrecipe pt_abrissbirne_1 true

ftool setEventTrigger pt_abrissbirne_1 org.bukkit.event.block.BlockBreakEvent
ftool setmethodname pt_abrissbirne_1 areaBreakByBlacklist 7
#ftool setmethodparam pt_abrissbirne_1 0 org.bukkit.entity.Player
#ftool setmethodparam pt_abrissbirne_1 1 org.bukkit.Location
ftool setmethodparam pt_abrissbirne_1 2 java.lang.Integer 3
ftool setmethodparam pt_abrissbirne_1 3 java.lang.Integer 3
ftool setmethodparam pt_abrissbirne_1 4 java.lang.Integer 5
ftool setmethodparam pt_abrissbirne_1 5 [Lde.k.fakestuff.internal.tools.BlockKey; [{"material":"STONE","data":0},{"material":"STONE","data":1},{"material":"STONE","data":3},{"material":"STONE","data":5},{"material":"DIRT","data":-1},{"material":"GRASS","data":-1},{"material":"WATER","data":-1},{"material":"STATIONARY_WATER","data":-1},{"material":"LAVA","data":-1},{"material":"STATIONARY_LAVA","data":-1},{"material":"SAND","data":-1},{"material":"GRAVEL","data":-1},{"material":"LOG","data":-1},{"material":"LEAVES","data":-1},{"material":"MOB_SPAWNER","data":-1},{"material":"CHEST","data":-1},{"material":"WALL_SIGN","data":-1},{"material":"NETHERRACK","data":-1},{"material":"CONCRETE_POWDER","data":-1},{"material":"HOPPER","data":-1}]
ftool setmethodparam pt_abrissbirne_1 6 java.lang.Boolean FALSE

ftool testmethod pt_areabreak_1


------------------------------------------------------------------------------------------



give Kademlia minecraft:shears 1 0 {display:{Name:"§r§4[§6⚒§4] §2LaubbläserBlueprint"}}
/flibrary create pt_laubblaeser

ftool delete pt_laubblaeser_1
fcraft delete pt_laubblaeser_1

fcraft create pt_laubblaeser_1 "§r§4[§6⚒§4] §2Laubbläser1" tnt,shears,tnt,shears,rb_cpu,shears,tnt,shears,tnt pt_laubblaeser
fcraft description pt_laubblaeser_1 1 "Wowee"
fcraft shaped pt_laubblaeser_1 true
fcraft clearenchantments pt_laubblaeser_1
fcraft addenchantment pt_laubblaeser_1 DIG_SPEED 5 true


ftool create pt_laubblaeser_1 pt_laubblaeser "§r§4[§6⚒§4] §2Laubbläser1"
ftool unique pt_laubblaeser_1 true
ftool soulbound pt_laubblaeser_1 true
ftool limiteduse pt_laubblaeser_1 true 20
ftool linkrecipe pt_laubblaeser_1 true

ftool setEventTrigger pt_laubblaeser_1 org.bukkit.event.block.BlockBreakEvent
ftool setmethodname pt_laubblaeser_1 areaBreak 7
#ftool setmethodparam pt_laubblaeser_1 0 org.bukkit.entity.Player
#ftool setmethodparam pt_laubblaeser_1 1 org.bukkit.Location
ftool setmethodparam pt_laubblaeser_1 2 java.lang.Integer 5
ftool setmethodparam pt_laubblaeser_1 3 java.lang.Integer 5
ftool setmethodparam pt_laubblaeser_1 4 java.lang.Integer 5
ftool setmethodparam pt_laubblaeser_1 5 [Lde.k.fakestuff.internal.tools.BlockKey; [{"material":"LEAVES","data":-1},{"material":"LEAVES_2","data":-1}]
ftool setmethodparam pt_laubblaeser_1 6 java.lang.Boolean TRUE

ftool testmethod pt_laubblaeser_1