RocketBoots

From EscapeToMars
Revision as of 17:02, 2 February 2021 by Kademlia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

We get spammed with PacketPlayInFlying by clients. This will result in a LOT of tryFly(...) calls. Implement a "lastchecked" timestamp to only check once per tick


head fromurl h_rbcore0 f2622553cd1d5a7534b2e660f6623454429ea6819497c6d967358c579a0
head fromurl h_rbcore1 c391c8e7e4e2f5380dd1c62565e9ccb18eb49a9375c041d35ffb69769d8
head fromurl h_rbcore2 31748f72b3953c546a4eec6ffe8ab7723072511913817ae3e85a3cc084bd7965
head fromurl h_rbcore3 ffd4d5f9d17b3afbc21d58a5f4c8c529cbd5b1a0793291ecf8d4d2c6ce8087
head fromurl h_rbcore4 bf8554b1512dedcff5ff9921a0f8515a5790e8e395b6ce2d14a938b7990b467
head fromurl h_rbcore5 74a9c7bd6c7a28e8aca41c89c361fd1da24b7d64452bcf49bb0fbace5a07388

head fromurl h_rbcore6 8ce7a2c3b947a5cd52132fc49cb3c9d964ce68034cc444c2498135efe35bde
head fromurl h_rbcore7 f9143890fd576bf54aaacb1926778a48870f84c273a7a39a7cfd4af8dc665f7
head fromurl h_rbcore8 859e5973ab734c06b5e1869ac17e5a4783f2a846f8206fa5e5ee97219424a
head fromurl h_rbcore9 881bdc0bdf3b9b109183dcad87cf25eb8fe30c984cdab35ff2e2df3b57690
head fromurl h_rbcore10 a970bdaf97ac8832bb773a60b013f28653f38ae12aaf35fec88bdda7c4df345

head fromurl h_rbcore11 fe8e3b2eff7f1d6584dbb5f7badae1923b7ddd713f7fd18010dff434b525b
head fromurl h_rbcore12 7f372128d1be5d4fceec4e3f4f37b3cafb42ddca3da4676f2767ff312c99f0
head fromurl h_rbcore13 36fd6239354087b49423e1f6f6aeb2e53d087949b38fc1cd9ea9cd4d9dfceaa
head fromurl h_rbcore14 8bb5ec1d614889e4c51b36fbc4f78291b34c6b8ddd67077d23cf971a5c28c
head fromurl h_rbcore15 8e446a762bdf71c22657bb4797e9a72890ebffc7dda072b4b79d4f166ace8074

head fromurl h_rbcore16 189b4b9aeb9aa2d8f25c384d6c55a56286ffe626cb68c7d49f957e73f9ef16
head fromurl h_rbcore17 d755cedd3c5137df1872310a17ebe7b1b5dda4cc6466a966816ba9e7e7aeba
head fromurl h_rbcore18 6ddc242efdee5b19164ed72d384899f8b2c94dafa2b0d53372b2329c5256fe



# CRYSTAL
library fromcommand schema_rb_cpu end_crystal{display:{Name:'{"text":"§r§l[§6✈§r§l] CPU"}'}}

# RB LINK
library fromcommand schema_rb_link blaze_rod{display:{Name:'{"text":"§r§l[§6✈§r§l] Link"}'},HideFlags:1,ench:[{id:0,lvl:1}]}

# RB AntiG
library fromcommand schema_rb_antig fire_charge{display:{Name:'{"text":"§r§l[§6✈§r§l] AntiG"}'},HideFlags:1,ench:[{id:0,lvl:1}]}

# BOOTS
library fromcommand schema_rb_level golden_boots{display:{Name:'{"text":"§r§l[§6✈§r§l] Schema"}'},HideFlags:39,Enchantments:[{id:"minecraft:lure",lvl:1s}]}

## rb_cpu crafting
fcraft delete rb_cpu
fcraft create rb_cpu daylightsensor,endrod,daylightsensor,endrod,enchantmenttable,endrod,daylightsensor,endrod,daylightsensor rb_cpu "§r§l[§6 ✈ §r§l]-CPU"
fcraft description rb_cpu 1 "§l§6RocketBoots-CPU" ----fixme
fcraft description rb_cpu 2 "§l§5Dieses Item kann kombiniert mit " ----fixme
fcraft description rb_cpu 3 "§l§53xLinks und 3xAntiG zu einem" ----fixme
fcraft description rb_cpu 4 "§l§5RocketBoots-Core gecraftet werden." ----fixme
fcraft shaped rb_cpu true ----fixme


give kademlia minecraft:blaze_rod 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-LinkBlueprint"},HideFlags:1,ench:[{id:0,lvl:1}]}
/flibrary create rb_link
# RB LINK
fcraft create rb_link "§r§l[§6 ✈ §r§l]-Link" goldblock,goldblock,goldblock,redstoneblock,redstoneblock,redstoneblock,coalblock,coalblock,coalblock rb_link
fcraft description rb_link 1 "§l§6RocketBoots-Link"
fcraft description rb_link 2 "§l§5Dieses Item kann kombiniert mit"
fcraft description rb_link 3 "§l§51xCPU und 3xAntiG zu einem"
fcraft description rb_link 4 "§l§5RocketBoots-Core gecraftet werden."

give kademlia minecraft:fire_charge 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-AntiGBlueprint"},HideFlags:1,ench:[{id:0,lvl:1}]}
/flibrary create rb_antig
# RB AntiG
fcraft create rb_antig "§r§l[§6 ✈ §r§l]-AntiG" potion_speed2,potion_jump2,potion_regeneration2,hopper,hopper,hopper,clock,clock,clock rb_antig
fcraft description rb_antig 1 "§l§6RocketBoots-AntiGravitation"
fcraft description rb_antig 2 "§l§5Dieses Item kann kombiniert mit"
fcraft description rb_antig 3 "§l§53xLinks und 1xCPU zu einem"
fcraft description rb_antig 4 "§l§5RocketBoots-Core gecraftet werden."




### RB CORES
fcraft delete b_rbcore1
fcraft create b_rbcore1 null,schema_rb_cpu,null,schema_rb_link,schema_rb_link,schema_rb_link,schema_rb_antig,schema_rb_antig,schema_rb_antig h_rbcore1
fcraft shaped b_rbcore1 true

fcraft create h_rbcore2 h_rbcore1,h_rbcore1 h_rbcore2
fcraft create h_rbcore3 h_rbcore2,h_rbcore2 h_rbcore3
fcraft create h_rbcore4 h_rbcore3,h_rbcore3 h_rbcore4
fcraft create h_rbcore5 h_rbcore4,h_rbcore4 h_rbcore5
fcraft create h_rbcore6 h_rbcore5,h_rbcore5 h_rbcore6
fcraft create h_rbcore7 h_rbcore6,h_rbcore6 h_rbcore7
fcraft create h_rbcore8 h_rbcore7,h_rbcore7 h_rbcore8
fcraft create h_rbcore9 h_rbcore8,h_rbcore8 h_rbcore9
fcraft create h_rbcore10 h_rbcore9,h_rbcore9 h_rbcore10
fcraft create h_rbcore11 h_rbcore10,h_rbcore10 h_rbcore11
fcraft create h_rbcore12 h_rbcore11,h_rbcore11 h_rbcore12
fcraft create h_rbcore13 h_rbcore12,h_rbcore12 h_rbcore13
fcraft create h_rbcore14 h_rbcore13,h_rbcore13 h_rbcore14
fcraft create h_rbcore15 h_rbcore14,h_rbcore14 h_rbcore15
fcraft create h_rbcore16 h_rbcore15,h_rbcore15 h_rbcore16
fcraft create h_rbcore17 h_rbcore16,h_rbcore16 h_rbcore17
fcraft create h_rbcore18 h_rbcore17,h_rbcore17 h_rbcore18

# Test recipe
fcraft delete ohno
fcraft create ohno goldingot,goldingot,goldingot,null,null,null,null,null,null goldingot "You stupid"
fcraft description ohno 1 Y u do dis?
fcraft shaped ohno true

# RB Level 1
fcraft delete rb_level1
fcraft create rb_level1 null,null,null,goldingot,h_rbcore1,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 1§r"
fcraft description rb_level1 1 §r§6§lCoreLevel§r§l: 1
fcraft description rb_level1 2 §c§lSpeed§r:§5 68%
fcraft description rb_level1 3 §a§lEfficiency§r:§5 10%
fcraft shaped rb_level1 true

ftool delete rb_level1
ftool create rb_level1 schema_rb_level "§r§l[§6✈§r§l] Level 1§r"
ftool unique rb_level1 true
ftool soulbound rb_level1 true
ftool reclaimable rb_level1 true 6
ftool linkrecipe rb_level1 true

# RB Level 2
fcraft delete rb_level2
fcraft create rb_level2 null,null,null,goldingot,h_rbcore2,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 2§r"
fcraft description rb_level2 1 §r§6§lCoreLevel§r§l: 2
fcraft description rb_level2 2 §c§lSpeed§r:§5 71%
fcraft description rb_level2 3 §a§lEfficiency§r:§5 20%
fcraft shaped rb_level2 true

ftool delete rb_level2
ftool create rb_level2 schema_rb_level "§r§l[§6✈§r§l] Level 2§r"
ftool unique rb_level2 true
ftool soulbound rb_level2 true
ftool reclaimable rb_level2 true 7
ftool linkrecipe rb_level2 true

# RB Level 3
fcraft delete rb_level3
fcraft create rb_level3 null,null,null,goldingot,h_rbcore3,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 3§r"
fcraft description rb_level3 1 §r§6§lCoreLevel§r§l: 3
fcraft description rb_level3 2 §c§lSpeed§r:§5 74%
fcraft description rb_level3 3 §a§lEfficiency§r:§5 30%
fcraft shaped rb_level3 true

ftool delete rb_level3
ftool create rb_level3 schema_rb_level "§r§l[§6✈§r§l] Level 3§r"
ftool unique rb_level3 true
ftool soulbound rb_level3 true
ftool reclaimable rb_level3 true 8
ftool linkrecipe rb_level3 true

# RB Level 4
fcraft delete rb_level4
fcraft create rb_level4 null,null,null,goldingot,h_rbcore4,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 4§r"
fcraft description rb_level4 1 §r§6§lCoreLevel§r§l: 4
fcraft description rb_level4 2 §c§lSpeed§r:§5 77%
fcraft description rb_level4 3 §a§lEfficiency§r:§5 40%
fcraft shaped rb_level4 true

ftool delete rb_level4
ftool create rb_level4 schema_rb_level "§r§l[§6✈§r§l] Level 4§r"
ftool unique rb_level4 true
ftool soulbound rb_level4 true
ftool reclaimable rb_level4 true 9
ftool linkrecipe rb_level4 true

# RB Level 5
fcraft delete rb_level5
fcraft create rb_level5 null,null,null,goldingot,h_rbcore5,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 5§r"
fcraft description rb_level5 1 §r§6§lCoreLevel§r§l: 5
fcraft description rb_level5 2 §c§lSpeed§r:§5 80%
fcraft description rb_level5 3 §a§lEfficiency§r:§5 50%
fcraft shaped rb_level5 true

ftool delete rb_level5
ftool create rb_level5 schema_rb_level "§r§l[§6✈§r§l] Level 5§r"
ftool unique rb_level5 true
ftool soulbound rb_level5 true
ftool reclaimable rb_level5 true 10
ftool linkrecipe rb_level5 true

# RB Level 6
fcraft delete rb_level6
fcraft create rb_level6 null,null,null,goldingot,h_rbcore6,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 6§r"
fcraft description rb_level6 1 §r§6§lCoreLevel§r§l: 6
fcraft description rb_level6 2 §c§lSpeed§r:§5 83%
fcraft description rb_level6 3 §a§lEfficiency§r:§5 55%
fcraft shaped rb_level6 true

ftool delete rb_level6
ftool create rb_level6 schema_rb_level "§r§l[§6✈§r§l] Level 6§r"
ftool unique rb_level6 true
ftool soulbound rb_level6 true
ftool reclaimable rb_level6 true 11
ftool linkrecipe rb_level6 true

# RB Level 7
fcraft delete rb_level7
fcraft create rb_level7 null,null,null,goldingot,h_rbcore7,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 7§r"
fcraft description rb_level7 1 §r§6§lCoreLevel§r§l: 7
fcraft description rb_level7 2 §c§lSpeed§r:§5 86%
fcraft description rb_level7 3 §a§lEfficiency§r:§5 60%
fcraft shaped rb_level7 true

ftool delete rb_level7
ftool create rb_level7 schema_rb_level "§r§l[§6✈§r§l] Level 7§r"
ftool unique rb_level7 true
ftool soulbound rb_level7 true
ftool reclaimable rb_level7 true 12
ftool linkrecipe rb_level7 true


# RB Level 8
fcraft delete rb_level8
fcraft create rb_level8 null,null,null,goldingot,h_rbcore8,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 8§r"
fcraft description rb_level8 1 §r§6§lCoreLevel§r§l: 8
fcraft description rb_level8 2 §c§lSpeed§r:§5 89%
fcraft description rb_level8 3 §a§lEfficiency§r:§5 65%
fcraft shaped rb_level8 true

ftool delete rb_level8
ftool create rb_level8 schema_rb_level "§r§l[§6✈§r§l] Level 8§r"
ftool unique rb_level8 true
ftool soulbound rb_level8 true
ftool reclaimable rb_level8 true 13
ftool linkrecipe rb_level8 true

# RB Level 9
fcraft delete rb_level9
fcraft create rb_level9 null,null,null,goldingot,h_rbcore9,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 9§r"
fcraft description rb_level9 1 §r§6§lCoreLevel§r§l: 9
fcraft description rb_level9 2 §c§lSpeed§r:§5 92%
fcraft description rb_level9 3 §a§lEfficiency§r:§5 70%
fcraft shaped rb_level9 true

ftool delete rb_level9
ftool create rb_level9 schema_rb_level "§r§l[§6✈§r§l] Level 9§r"
ftool unique rb_level9 true
ftool soulbound rb_level9 true
ftool reclaimable rb_level9 true 14
ftool linkrecipe rb_level9 true

# RB Level 10
fcraft delete rb_level10
fcraft create rb_level10 null,null,null,goldingot,h_rbcore10,goldingot,goldingot,null,goldingot schema_rb_level "§r§l[§6✈§r§l] Level 10§r"
fcraft description rb_level10 1 §r§6§lCoreLevel§r§l: 10
fcraft description rb_level10 2 §c§lSpeed§r:§5 95%
fcraft description rb_level10 3 §a§lEfficiency§r:§5 75%
fcraft shaped rb_level10 true

ftool delete rb_level10 
ftool create rb_level10 schema_rb_level "§r§l[§6✈§r§l] Level 10§r"
ftool unique rb_level10 true
ftool soulbound rb_level10 true
ftool reclaimable rb_level10 true 15
ftool linkrecipe rb_level10 true









# RB Level 2
fcraft delete rb_level2
fcraft create rb_level2 "§r§l[§6✈§r§l] Level 2§r" null,null,null,goldingot,h_rbcore2,goldingot,goldingot,null,goldingot schema_rb_level
fcraft description rb_level2 1 §6§lCoreLevel§r§l: 2
fcraft description rb_level2 2 §c§lSpeed§r:§5 71%
fcraft description rb_level2 3 §a§lEfficiency§r:§5 20%
fcraft shaped rb_level2 true

ftool delete rb_level2
ftool create rb_level2 schema_rb_level "§r§l[§6✈§r§l] Level 2§r"
ftool unique rb_level2 true
ftool soulbound rb_level2 true
ftool reclaimable rb_level2 true 6
ftool linkrecipe rb_level2 true

Old stuff

Fix for 1.15

give kademlia minecraft:golden_boots {display:{Name:"§r§l[§6 ✈ §r§l]-Blueprint"},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
flibrary create rb_level_blueprint





ftool enabled pt_disintegrater_stone true
fcraft enabled fs_rbcore1 true
fcraft enabled rb_level1 true

fcraft enabled rb_cpu true
fcraft enabled rb_link true
fcraft enabled rb_antig true

fcraft enabled fs_rbcore2 false
fcraft enabled fs_rbcore3 false

fcraft enabled rb_level2 false



fcraft enabled fs_rbcore6 true
fcraft enabled fs_rbcore7 true
fcraft enabled fs_rbcore8 true
fcraft enabled fs_rbcore9 true
fcraft enabled fs_rbcore10 true

fcraft enabled rb_level6 true
fcraft enabled rb_level7 true
fcraft enabled rb_level8 true
fcraft enabled rb_level9 true
fcraft enabled rb_level10 true



give kademlia minecraft:golden_boots 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-Boots",Lore:["§6§lCoreLevel§r§l: 11", "§c§lSpeed§r:§5 95.5%", "§a§lEfficiency§r:§5 77.5%"]},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
give kademlia minecraft:golden_boots 1 0 {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 1 0 {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 1 0 {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 1 0 {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 1 0 {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 1 0 {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 1 0 {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


###############################################
		BOOTS / CORES / RECIPE / TOOLS Definition
###############################################



give kademlia minecraft:end_crystal 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-CPUBlueprint"}}
/flibrary create rb_cpu
# RB CPU
fcraft delete rb_cpu
fcraft create rb_cpu "§r§l[§6 ✈ §r§l]-CPU" daylightsensor,endrod,daylightsensor,endrod,enchantmenttable,endrod,daylightsensor,endrod,daylightsensor rb_cpu
fcraft description rb_cpu 1 "§l§6RocketBoots-Steuersystem"
fcraft description rb_cpu 2 "§l§5Dieses Item kann kombiniert mit "
fcraft description rb_cpu 3 "§l§53xLinks und 3xAntiG zu einem"
fcraft description rb_cpu 4 "§l§5RocketBoots-Core gecraftet werden."
fcraft shaped rb_cpu true


give kademlia minecraft:blaze_rod 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-LinkBlueprint"},HideFlags:1,ench:[{id:0,lvl:1}]}
/flibrary create rb_link
# RB LINK
fcraft create rb_link "§r§l[§6 ✈ §r§l]-Link" goldblock,goldblock,goldblock,redstoneblock,redstoneblock,redstoneblock,coalblock,coalblock,coalblock rb_link
fcraft description rb_link 1 "§l§6RocketBoots-Link"
fcraft description rb_link 2 "§l§5Dieses Item kann kombiniert mit"
fcraft description rb_link 3 "§l§51xCPU und 3xAntiG zu einem"
fcraft description rb_link 4 "§l§5RocketBoots-Core gecraftet werden."

give kademlia minecraft:fire_charge 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-AntiGBlueprint"},HideFlags:1,ench:[{id:0,lvl:1}]}
/flibrary create rb_antig
# RB AntiG
fcraft create rb_antig "§r§l[§6 ✈ §r§l]-AntiG" potion_speed2,potion_jump2,potion_regeneration2,hopper,hopper,hopper,clock,clock,clock rb_antig
fcraft description rb_antig 1 "§l§6RocketBoots-AntiGravitation"
fcraft description rb_antig 2 "§l§5Dieses Item kann kombiniert mit"
fcraft description rb_antig 3 "§l§53xLinks und 1xCPU zu einem"
fcraft description rb_antig 4 "§l§5RocketBoots-Core gecraftet werden."


# RB CORES
fcraft create fs_rbcore1 "null" null,rb_cpu,null,rb_link,rb_link,rb_link,rb_antig,rb_antig,rb_antig fs_rbcore1
fcraft shaped fs_rbcore1 true


fcraft create fs_rbcore2 "null" fs_rbcore1,fs_rbcore1 fs_rbcore2
fcraft create fs_rbcore3 "null" fs_rbcore2,fs_rbcore2 fs_rbcore3
fcraft create fs_rbcore4 "null" fs_rbcore3,fs_rbcore3 fs_rbcore4
fcraft create fs_rbcore5 "null" fs_rbcore4,fs_rbcore4 fs_rbcore5
fcraft create fs_rbcore6 "null" fs_rbcore5,fs_rbcore5 fs_rbcore6
fcraft create fs_rbcore7 "null" fs_rbcore6,fs_rbcore6 fs_rbcore7
fcraft create fs_rbcore8 "null" fs_rbcore7,fs_rbcore7 fs_rbcore8
fcraft create fs_rbcore9 "null" fs_rbcore8,fs_rbcore8 fs_rbcore9
fcraft create fs_rbcore10 "null" fs_rbcore9,fs_rbcore9 fs_rbcore10


give kademlia minecraft:golden_boots 1 0 {display:{Name:"§r§l[§6 ✈ §r§l]-Blueprint"},HideFlags:39,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:1L,UUIDMost:1L}]}
flibrary create rb_level_blueprint

fcraft delete rb_level1
ftool delete rb_level1
fcraft delete rb_level2
ftool delete rb_level2
fcraft delete rb_level3
ftool delete rb_level3
fcraft delete rb_level4
ftool delete rb_level4
fcraft delete rb_level5
ftool delete rb_level5
fcraft delete rb_level6
ftool delete rb_level6
fcraft delete rb_level7
ftool delete rb_level7
fcraft delete rb_level8
ftool delete rb_level8
fcraft delete rb_level9
ftool delete rb_level9
fcraft delete rb_level10
ftool delete rb_level10

fcraft giveresult rb_level1


# RB Level 1
fcraft create rb_level1 "§r§l[§6 ✈ §r§l]-Level 1" null,null,null,goldingot,fs_rbcore1,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level1 1 "§6§lCoreLevel§r§l: 1"
fcraft description rb_level1 2 "§c§lSpeed§r:§5 68%"
fcraft description rb_level1 3 "§a§lEfficiency§r:§5 10%"
fcraft shaped rb_level1 true

ftool create rb_level1 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 1"
ftool unique rb_level1 true
ftool soulbound rb_level1 true
ftool reclaimable rb_level1 true 6
ftool linkrecipe rb_level1 true

# RB Level 2
fcraft create rb_level2 "§r§l[§6 ✈ §r§l]-Level 2" null,null,null,goldingot,fs_rbcore2,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level2 1 "§6§lCoreLevel§r§l: 2"
fcraft description rb_level2 2 "§c§lSpeed§r:§5 71%"
fcraft description rb_level2 3 "§a§lEfficiency§r:§5 20%"
fcraft shaped rb_level2 true

ftool create rb_level2 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 2"
ftool unique rb_level2 true
ftool soulbound rb_level2 true
ftool reclaimable rb_level2 true 7
ftool linkrecipe rb_level2 true

# RB Level 3
fcraft create rb_level3 "§r§l[§6 ✈ §r§l]-Level 3" null,null,null,goldingot,fs_rbcore3,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level3 1 "§6§lCoreLevel§r§l: 3"
fcraft description rb_level3 2 "§c§lSpeed§r:§5 74%"
fcraft description rb_level3 3 "§a§lEfficiency§r:§5 30%"
fcraft shaped rb_level3 true

ftool create rb_level3 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 3"
ftool unique rb_level3 true
ftool soulbound rb_level3 true
ftool reclaimable rb_level3 true 8
ftool linkrecipe rb_level3 true

# RB Level 4
fcraft create rb_level4 "§r§l[§6 ✈ §r§l]-Level 4" null,null,null,goldingot,fs_rbcore4,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level4 1 "§6§lCoreLevel§r§l: 4"
fcraft description rb_level4 2 "§c§lSpeed§r:§5 77%"
fcraft description rb_level4 3 "§a§lEfficiency§r:§5 40%"
fcraft shaped rb_level4 true

ftool create rb_level4 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 4"
ftool unique rb_level4 true
ftool soulbound rb_level4 true
ftool reclaimable rb_level4 true 9
ftool linkrecipe rb_level4 true

# RB Level 5
fcraft create rb_level5 "§r§l[§6 ✈ §r§l]-Level 5" null,null,null,goldingot,fs_rbcore5,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level5 1 "§6§lCoreLevel§r§l: 5"
fcraft description rb_level5 2 "§c§lSpeed§r:§5 80%"
fcraft description rb_level5 3 "§a§lEfficiency§r:§5 50%"
fcraft shaped rb_level5 true

ftool create rb_level5 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 5"
ftool unique rb_level5 true
ftool soulbound rb_level5 true
ftool reclaimable rb_level5 true 10
ftool linkrecipe rb_level5 true

# RB Level 6
fcraft create rb_level6 "§r§l[§6 ✈ §r§l]-Level 6" null,null,null,goldingot,fs_rbcore6,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level6 1 "§6§lCoreLevel§r§l: 6"
fcraft description rb_level6 2 "§c§lSpeed§r:§5 83%"
fcraft description rb_level6 3 "§a§lEfficiency§r:§5 55%"
fcraft shaped rb_level6 true

ftool create rb_level6 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 6"
ftool unique rb_level6 true
ftool soulbound rb_level6 true
ftool reclaimable rb_level6 true 11
ftool linkrecipe rb_level6 true

# RB Level 7
fcraft create rb_level7 "§r§l[§6 ✈ §r§l]-Level 7" null,null,null,goldingot,fs_rbcore7,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level7 1 "§6§lCoreLevel§r§l: 7"
fcraft description rb_level7 2 "§c§lSpeed§r:§5 86%"
fcraft description rb_level7 3 "§a§lEfficiency§r:§5 60%"
fcraft shaped rb_level7 true

ftool create rb_level7 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 7"
ftool unique rb_level7 true
ftool soulbound rb_level7 true
ftool reclaimable rb_level7 true 12
ftool linkrecipe rb_level7 true

# RB Level 8
fcraft create rb_level8 "§r§l[§6 ✈ §r§l]-Level 8" null,null,null,goldingot,fs_rbcore8,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level8 1 "§6§lCoreLevel§r§l: 8"
fcraft description rb_level8 2 "§c§lSpeed§r:§5 89%"
fcraft description rb_level8 3 "§a§lEfficiency§r:§5 65%"
fcraft shaped rb_level8 true

ftool create rb_level8 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 8"
ftool unique rb_level8 true
ftool soulbound rb_level8 true
ftool reclaimable rb_level8 true 13
ftool linkrecipe rb_level8 true

# RB Level 9
fcraft create rb_level9 "§r§l[§6 ✈ §r§l]-Level 9" null,null,null,goldingot,fs_rbcore9,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level9 1 "§6§lCoreLevel§r§l: 9"
fcraft description rb_level9 2 "§c§lSpeed§r:§5 92%"
fcraft description rb_level9 3 "§a§lEfficiency§r:§5 70%"
fcraft shaped rb_level9 true

ftool create rb_level9 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 9"
ftool unique rb_level9 true
ftool soulbound rb_level9 true
ftool reclaimable rb_level9 true 14
ftool linkrecipe rb_level9 true

# RB Level 10
fcraft create rb_level10 "§r§l[§6 ✈ §r§l]-Level 10" null,null,null,goldingot,fs_rbcore10,goldingot,goldingot,null,goldingot rb_level_blueprint
fcraft description rb_level10 1 "§6§lCoreLevel§r§l: 10"
fcraft description rb_level10 2 "§c§lSpeed§r:§5 95%"
fcraft description rb_level10 3 "§a§lEfficiency§r:§5 75%"
fcraft shaped rb_level10 true

ftool create rb_level10 rb_level_blueprint "§r§l[§6 ✈ §r§l]-Level 10"
ftool unique rb_level10 true
ftool soulbound rb_level10 true
ftool reclaimable rb_level10 true 15
ftool linkrecipe rb_level10 true


ftool enabled pt_disintegrater_stone true
fcraft enabled fs_rbcore1 true
fcraft enabled rb_level1 true

fcraft enabled rb_cpu true
fcraft enabled rb_link true
fcraft enabled rb_antig true

fcraft enabled fs_rbcore2 false
fcraft enabled fs_rbcore3 false

fcraft enabled rb_level2 false



fcraft enabled fs_rbcore6 true
fcraft enabled fs_rbcore7 true
fcraft enabled fs_rbcore8 true
fcraft enabled fs_rbcore9 true
fcraft enabled fs_rbcore10 true

fcraft enabled rb_level6 true
fcraft enabled rb_level7 true
fcraft enabled rb_level8 true
fcraft enabled rb_level9 true
fcraft enabled rb_level10 true