From 6ef151c0a3c5468a3d304026e68b98592fd7a28d Mon Sep 17 00:00:00 2001 From: Flytre Date: Sat, 11 Sep 2021 18:20:13 -0400 Subject: [PATCH] Random chest generation & loot Signed-off-by: Flytre --- build.gradle | 5 +- gradle.properties | 3 +- plan.txt | 10 + .../net/flytre/hoco_sg/HocoSgInitializer.java | 94 +- .../flytre/hoco_sg/{ => config}/Config.java | 16 +- .../flytre/hoco_sg/config/InternalConfig.java | 32 + .../flytre/hoco_sg/game/LootIdentifier.java | 106 ++ .../mixin/PlayerListS2CPacketMixin.java | 1 + .../mixin/ServerPlayerEntityMixin.java | 2 +- .../hoco_sg/skin/GameProfileBuilder.java | 2 +- .../flytre/functions/ability_base.mcfunction | 8 + .../functions/armor/regenerator.mcfunction | 9 + .../functions/armor/resistor.mcfunction | 7 + .../flytre/functions/armor_base.mcfunction | 14 + .../flytre/functions/base_second.mcfunction | 42 + .../flytre/functions/base_tick.mcfunction | 8 + .../functions/bow_arrow_init.mcfunction | 14 + .../data/flytre/functions/bow_base.mcfunction | 34 + .../flytre/functions/bows/ender.mcfunction | 14 + .../custom_support/covering_fire.mcfunction | 26 + .../custom_support/hunter.mcfunction | 25 + .../flytre/functions/generic_base.mcfunction | 12 + .../data/flytre/functions/info.mcfunction | 23 + .../flytre/functions/init_items.mcfunction | 16 + .../flytre/functions/shield_base.mcfunction | 16 + .../flytre/functions/sword_base.mcfunction | 17 + .../flytre/functions/trident_base.mcfunction | 16 + .../flytre/loot_tables/armor/chain/boots.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/chain/chest.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/chain/helm.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/chain/legs.json | 888 ++++++++++++++++ .../loot_tables/armor/chain/random.json | 29 + .../flytre/loot_tables/armor/cloth/boots.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/cloth/chest.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/cloth/helm.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/cloth/legs.json | 888 ++++++++++++++++ .../loot_tables/armor/cloth/random.json | 29 + .../flytre/loot_tables/armor/dark/boots.json | 928 +++++++++++++++++ .../flytre/loot_tables/armor/dark/chest.json | 928 +++++++++++++++++ .../flytre/loot_tables/armor/dark/helm.json | 928 +++++++++++++++++ .../flytre/loot_tables/armor/dark/legs.json | 928 +++++++++++++++++ .../flytre/loot_tables/armor/dark/random.json | 29 + .../loot_tables/armor/diamond/boots.json | 951 ++++++++++++++++++ .../loot_tables/armor/diamond/chest.json | 951 ++++++++++++++++++ .../loot_tables/armor/diamond/helm.json | 951 ++++++++++++++++++ .../loot_tables/armor/diamond/legs.json | 951 ++++++++++++++++++ .../loot_tables/armor/diamond/random.json | 29 + .../loot_tables/armor/golden/boots.json | 888 ++++++++++++++++ .../loot_tables/armor/golden/chest.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/golden/helm.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/golden/legs.json | 888 ++++++++++++++++ .../loot_tables/armor/golden/random.json | 29 + .../flytre/loot_tables/armor/iron/boots.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/iron/chest.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/iron/helm.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/iron/legs.json | 888 ++++++++++++++++ .../flytre/loot_tables/armor/iron/random.json | 29 + .../data/flytre/loot_tables/armor/random.json | 45 + .../flytre/loot_tables/armor/random_mid.json | 45 + .../data/flytre/loot_tables/charms/armor.json | 62 ++ .../flytre/loot_tables/charms/fleeting.json | 69 ++ .../flytre/loot_tables/charms/hunter.json | 69 ++ .../data/flytre/loot_tables/charms/nuker.json | 62 ++ .../flytre/loot_tables/charms/random.json | 40 + .../flytre/loot_tables/charms/resilience.json | 62 ++ .../flytre/loot_tables/charms/saturated.json | 69 ++ .../flytre/loot_tables/charms/strength.json | 62 ++ .../data/flytre/loot_tables/food.json | 910 +++++++++++++++++ .../data/flytre/loot_tables/random.json | 33 + .../data/flytre/loot_tables/random_mid.json | 33 + .../flytre/loot_tables/random_supply.json | 76 ++ .../data/flytre/loot_tables/resources.json | 309 ++++++ .../loot_tables/weapons/melee/apex_axe.json | 161 +++ .../loot_tables/weapons/melee/apex_sword.json | 161 +++ .../loot_tables/weapons/melee/battleaxe.json | 161 +++ .../weapons/melee/elite_sword.json | 161 +++ .../loot_tables/weapons/melee/fang.json | 161 +++ .../loot_tables/weapons/melee/lumber_axe.json | 161 +++ .../weapons/melee/lumber_axe2.json | 161 +++ .../loot_tables/weapons/melee/random.json | 75 ++ .../loot_tables/weapons/melee/random_mid.json | 75 ++ .../loot_tables/weapons/melee/rookie_axe.json | 161 +++ .../loot_tables/weapons/melee/shield.json | 112 +++ .../loot_tables/weapons/melee/sword.json | 161 +++ .../weapons/melee/training_sword.json | 161 +++ .../flytre/loot_tables/weapons/random.json | 21 + .../loot_tables/weapons/random_mid.json | 21 + .../loot_tables/weapons/ranged/bow.json | 161 +++ .../loot_tables/weapons/ranged/crossbow.json | 151 +++ .../loot_tables/weapons/ranged/random.json | 27 + .../loot_tables/weapons/ranged/trident.json | 151 +++ .../data/minecraft/tags/functions/load.json | 8 + .../data/minecraft/tags/functions/tick.json | 6 + 93 files changed, 26813 insertions(+), 21 deletions(-) create mode 100644 plan.txt rename src/main/java/net/flytre/hoco_sg/{ => config}/Config.java (75%) create mode 100644 src/main/java/net/flytre/hoco_sg/config/InternalConfig.java create mode 100644 src/main/java/net/flytre/hoco_sg/game/LootIdentifier.java create mode 100644 src/main/resources/data/flytre/functions/ability_base.mcfunction create mode 100644 src/main/resources/data/flytre/functions/armor/regenerator.mcfunction create mode 100644 src/main/resources/data/flytre/functions/armor/resistor.mcfunction create mode 100644 src/main/resources/data/flytre/functions/armor_base.mcfunction create mode 100644 src/main/resources/data/flytre/functions/base_second.mcfunction create mode 100644 src/main/resources/data/flytre/functions/base_tick.mcfunction create mode 100644 src/main/resources/data/flytre/functions/bow_arrow_init.mcfunction create mode 100644 src/main/resources/data/flytre/functions/bow_base.mcfunction create mode 100644 src/main/resources/data/flytre/functions/bows/ender.mcfunction create mode 100644 src/main/resources/data/flytre/functions/custom_support/covering_fire.mcfunction create mode 100644 src/main/resources/data/flytre/functions/custom_support/hunter.mcfunction create mode 100644 src/main/resources/data/flytre/functions/generic_base.mcfunction create mode 100644 src/main/resources/data/flytre/functions/info.mcfunction create mode 100644 src/main/resources/data/flytre/functions/init_items.mcfunction create mode 100644 src/main/resources/data/flytre/functions/shield_base.mcfunction create mode 100644 src/main/resources/data/flytre/functions/sword_base.mcfunction create mode 100644 src/main/resources/data/flytre/functions/trident_base.mcfunction create mode 100644 src/main/resources/data/flytre/loot_tables/armor/chain/boots.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/chain/chest.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/chain/helm.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/chain/legs.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/chain/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/cloth/boots.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/cloth/chest.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/cloth/helm.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/cloth/legs.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/cloth/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/dark/boots.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/dark/chest.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/dark/helm.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/dark/legs.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/dark/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/diamond/boots.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/diamond/chest.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/diamond/helm.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/diamond/legs.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/diamond/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/golden/boots.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/golden/chest.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/golden/helm.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/golden/legs.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/golden/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/iron/boots.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/iron/chest.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/iron/helm.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/iron/legs.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/iron/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/armor/random_mid.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/armor.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/fleeting.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/hunter.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/nuker.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/resilience.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/saturated.json create mode 100644 src/main/resources/data/flytre/loot_tables/charms/strength.json create mode 100755 src/main/resources/data/flytre/loot_tables/food.json create mode 100644 src/main/resources/data/flytre/loot_tables/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/random_mid.json create mode 100644 src/main/resources/data/flytre/loot_tables/random_supply.json create mode 100755 src/main/resources/data/flytre/loot_tables/resources.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/apex_axe.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/apex_sword.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/battleaxe.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/elite_sword.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/fang.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe2.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/random_mid.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/rookie_axe.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/shield.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/sword.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/melee/training_sword.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/random_mid.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/ranged/bow.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/ranged/crossbow.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/ranged/random.json create mode 100644 src/main/resources/data/flytre/loot_tables/weapons/ranged/trident.json create mode 100644 src/main/resources/data/minecraft/tags/functions/load.json create mode 100644 src/main/resources/data/minecraft/tags/functions/tick.json diff --git a/build.gradle b/build.gradle index b9fce96..8aac30b 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,8 @@ group = project.maven_group repositories { maven { url "https://jitpack.io" } maven {url "https://mvnrepository.com/artifact/org.yaml/snakeyaml"} + maven {url "https://mvnrepository.com/artifact/org.apache.commons/commons-rng-core"} + mavenCentral() } dependencies { @@ -27,7 +29,8 @@ dependencies { //Flytre Lib. Optional but you probably want it anyways. modImplementation "com.github.Flytre.FlytreLib:flytre-lib:${project.flytre_lib_version}" - implementation 'org.yaml:snakeyaml:1.8' + implementation 'org.yaml:snakeyaml:1.29' + implementation group: 'org.apache.commons', name: 'commons-rng-core', version: '1.3' } processResources { diff --git a/gradle.properties b/gradle.properties index 962bd13..a20f0c6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,6 +11,7 @@ maven_group=net.flytre archives_base_name=example # Dependencies fabric_version=0.36.1+1.17 -flytre_lib_version=ae27701 +flytre_lib_version=f2dc941 + diff --git a/plan.txt b/plan.txt new file mode 100644 index 0000000..0c0902f --- /dev/null +++ b/plan.txt @@ -0,0 +1,10 @@ +-Some system to identify tributes, those who have died, and commentators. + -> Assume all of those not admin in config are tributes. + -> Use duck interface to determine whether a tribute has died or not + -> Put tributes who have died in spectator mode + -> Sidebar: Shows number of alive tributes and game time + +-Loot and chest system + -> Run a program to detect each block on the map and find all valid chest locations + -> Valid location: 3 blocks of air above a solid block + -> Loot table for survival games loot needs to be made \ No newline at end of file diff --git a/src/main/java/net/flytre/hoco_sg/HocoSgInitializer.java b/src/main/java/net/flytre/hoco_sg/HocoSgInitializer.java index 94b7e16..b5ed347 100644 --- a/src/main/java/net/flytre/hoco_sg/HocoSgInitializer.java +++ b/src/main/java/net/flytre/hoco_sg/HocoSgInitializer.java @@ -4,37 +4,111 @@ import com.mojang.brigadier.arguments.IntegerArgumentType; import net.fabricmc.api.ModInitializer; import net.flytre.flytre_lib.api.config.ConfigHandler; import net.flytre.flytre_lib.api.config.ConfigRegistry; +import net.flytre.flytre_lib.api.config.GsonHelper; import net.flytre.flytre_lib.api.event.CommandRegistrationEvent; +import net.flytre.hoco_sg.config.Config; +import net.flytre.hoco_sg.config.InternalConfig; import net.flytre.hoco_sg.game.Counter; +import net.flytre.hoco_sg.game.LootIdentifier; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.block.ChestBlock; +import net.minecraft.block.entity.ChestBlockEntity; import net.minecraft.server.command.CommandManager; import net.minecraft.server.command.ServerCommandSource; import net.minecraft.server.network.ServerPlayerEntity; +import net.minecraft.server.world.ServerWorld; +import net.minecraft.util.Identifier; +import net.minecraft.util.collection.Pool; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Direction; +import net.minecraft.world.gen.stateprovider.WeightedBlockStateProvider; -import java.util.Collections; +import java.util.*; +import java.util.stream.Collectors; public class HocoSgInitializer implements ModInitializer { public static final ConfigHandler HANDLER = new ConfigHandler<>(new Config(), "hoco_sg"); + public static final ConfigHandler INTERNAL_HANDLER = new ConfigHandler<>(new InternalConfig(), "hoco_sg_internal", + new GsonHelper() + .getBuilder() + .registerTypeAdapter(Pool.class, new InternalConfig.PoolDeserializer()) + .create() + ); @Override public void onInitialize() { ConfigRegistry.registerServerConfig(HANDLER); + ConfigRegistry.registerServerConfig(INTERNAL_HANDLER); CommandRegistrationEvent.EVENT.register((dispatcher, dedicated) -> { dispatcher.register(CommandManager .literal("counter") .then(CommandManager.argument("max", IntegerArgumentType.integer()) - .then(CommandManager.argument("bars", IntegerArgumentType.integer()) - .executes(context -> { - int max = IntegerArgumentType.getInteger(context,"max"); - int bars = IntegerArgumentType.getInteger(context,"bars"); - ServerCommandSource src = context.getSource(); - ServerPlayerEntity player = src.getPlayer(); - Counter.addActiveCounter(new Counter(Collections.singleton(player), max, bars,null)); - return 0; - })))); + .then(CommandManager.argument("bars", IntegerArgumentType.integer()) + .executes(context -> { + int max = IntegerArgumentType.getInteger(context, "max"); + int bars = IntegerArgumentType.getInteger(context, "bars"); + ServerCommandSource src = context.getSource(); + ServerPlayerEntity player = src.getPlayer(); + Counter.addActiveCounter(new Counter(Collections.singleton(player), max, bars, null)); + return 0; + })))); }); + + CommandRegistrationEvent.EVENT.register((dispatcher, dedicated) -> dispatcher.register(CommandManager + .literal("clearChests") + .executes(context -> { + int ct = 0; + ServerWorld world = context.getSource().getWorld(); + for (int x = LootIdentifier.MIN.getX(); x < LootIdentifier.MAX.getX(); x++) { + for (int y = LootIdentifier.MIN.getY(); y < LootIdentifier.MAX.getY(); y++) { + for (int z = LootIdentifier.MIN.getZ(); z < LootIdentifier.MAX.getZ(); z++) { + BlockPos pos = new BlockPos(x, y, z); + if (world.getBlockState(pos).getBlock() == Blocks.CHEST) { + world.setBlockState(pos, Blocks.AIR.getDefaultState()); + ct++; + } + } + } + } + return ct; + }))); + + + CommandRegistrationEvent.EVENT.register((dispatcher, dedicated) -> dispatcher.register(CommandManager + .literal("saveChests") + .executes(context -> { + LootIdentifier identifier = new LootIdentifier(context.getSource().getWorld(), LootIdentifier.MIN, LootIdentifier.MAX); + var pos = identifier.validChestPositions(); + + INTERNAL_HANDLER.getConfig().blocks = pos; + INTERNAL_HANDLER.save(INTERNAL_HANDLER.getConfig()); + return pos.getEntries().size(); + }))); + + CommandRegistrationEvent.EVENT.register((dispatcher, dedicated) -> dispatcher.register(CommandManager + .literal("spawnChests") + .executes(context -> { + var pool = INTERNAL_HANDLER.getConfig().blocks; + Random random = new Random(); + for (int __ = 0; __ < 180; __++) { + BlockPos pos = pool.getOrEmpty(random).get().getPos(); + Direction facing = Direction.NORTH; + for (Direction dir : Arrays.stream(Direction.values()).filter(i -> i.getHorizontal() != -1).collect(Collectors.toSet())) { + if (context.getSource().getWorld().getBlockState(pos.offset(dir)).isAir()) { + facing = dir; + break; + } + } + //flytre:random + context.getSource().getWorld().setBlockState(pos, Blocks.CHEST.getDefaultState().with(ChestBlock.FACING, facing)); + ((ChestBlockEntity) Objects.requireNonNull(context.getSource().getWorld().getBlockEntity(pos))).setLootTable(new Identifier("flytre:random"), (long) (Math.random() * Long.MAX_VALUE)); + } + return 180; + }))); } } diff --git a/src/main/java/net/flytre/hoco_sg/Config.java b/src/main/java/net/flytre/hoco_sg/config/Config.java similarity index 75% rename from src/main/java/net/flytre/hoco_sg/Config.java rename to src/main/java/net/flytre/hoco_sg/config/Config.java index a44f138..56a50c2 100644 --- a/src/main/java/net/flytre/hoco_sg/Config.java +++ b/src/main/java/net/flytre/hoco_sg/config/Config.java @@ -1,9 +1,11 @@ -package net.flytre.hoco_sg; +package net.flytre.hoco_sg.config; import net.flytre.flytre_lib.api.config.ConfigEventAcceptor; import net.flytre.flytre_lib.api.config.annotation.Description; +import net.flytre.hoco_sg.HocoSgInitializer; import net.minecraft.entity.player.PlayerEntity; +import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.Set; @@ -16,14 +18,14 @@ public class Config implements ConfigEventAcceptor { public Set admins = Set.of(); @Description("Each entry contains the name of the group/team followed by a list of all members on that team. Members of the same team can see other members of that team more normally. Players not in any group can see no information.") - public Map> groups = Map.of("seniors", Set.of("flytre", "idil")); - - @Override - public void onReload() { - groups.replaceAll((k, v) -> v.stream().filter(Objects::nonNull).map(String::toLowerCase).collect(Collectors.toSet())); - } + public Map> groups = new HashMap<>(Map.of("seniors", Set.of("flytre", "idil"))); public static Set getGroup(PlayerEntity player) { return HocoSgInitializer.HANDLER.getConfig().groups.values().stream().filter(i -> player != null && i.contains(player.getEntityName().toLowerCase())).findFirst().orElse(null); } + + @Override + public void onReload() { + groups.replaceAll((k, v) -> v.stream().filter(Objects::nonNull).map(String::toLowerCase).collect(Collectors.toSet())); + } } diff --git a/src/main/java/net/flytre/hoco_sg/config/InternalConfig.java b/src/main/java/net/flytre/hoco_sg/config/InternalConfig.java new file mode 100644 index 0000000..0326713 --- /dev/null +++ b/src/main/java/net/flytre/hoco_sg/config/InternalConfig.java @@ -0,0 +1,32 @@ +package net.flytre.hoco_sg.config; + +import com.google.gson.*; +import net.flytre.hoco_sg.game.LootIdentifier; +import net.minecraft.util.collection.Pool; +import net.minecraft.util.math.BlockPos; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.List; + +public class InternalConfig { + + + public Pool blocks = Pool.empty(); + + + public static class PoolDeserializer implements JsonDeserializer> { + + @Override + public Pool deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { + List ls = new ArrayList<>(); + + JsonArray entries = json.getAsJsonObject().getAsJsonArray("entries"); + for (JsonElement element : entries) { + BlockPos pos = context.deserialize(element.getAsJsonObject().get("pos"), BlockPos.class); + ls.add(new LootIdentifier.Entry(pos, element.getAsJsonObject().get("weight").getAsJsonObject().get("value").getAsInt())); + } + return Pool.of(ls); + } + } +} diff --git a/src/main/java/net/flytre/hoco_sg/game/LootIdentifier.java b/src/main/java/net/flytre/hoco_sg/game/LootIdentifier.java new file mode 100644 index 0000000..16290d3 --- /dev/null +++ b/src/main/java/net/flytre/hoco_sg/game/LootIdentifier.java @@ -0,0 +1,106 @@ +package net.flytre.hoco_sg.game; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.util.Pair; +import net.minecraft.util.collection.Pool; +import net.minecraft.util.collection.Weight; +import net.minecraft.util.collection.Weighted; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; +import org.jetbrains.annotations.ApiStatus; + +import java.util.ArrayList; +import java.util.List; +import java.util.Set; + +/** + * A valid chest location is on an air block with 2 air blocks above, and a solid block below + */ +@ApiStatus.Internal +public class LootIdentifier { + + public static final BlockPos MIN = new BlockPos(-227, 17, -199); + public static final BlockPos MAX = new BlockPos(248, 83, 235); + public static final Set NATURALS = Set.of(Blocks.GRASS_BLOCK, Blocks.STONE, Blocks.COBBLESTONE, Blocks.GRAVEL); + private final World world; + private final BlockPos min; + private final BlockPos max; + + public LootIdentifier(World world, BlockPos min, BlockPos max) { + + this.world = world; + this.min = min; + this.max = max; + } + + public Pool validChestPositions() { + List result = new ArrayList<>(); + for (int x = min.getX(); x < max.getX(); x++) { + for (int y = min.getY(); y < max.getY(); y++) { + for (int z = min.getZ(); z < max.getZ(); z++) { + BlockPos pos = new BlockPos(x, y, z); + if (!forPos(pos).isAir() || !forPos(pos.up()).isAir() || !forPos(pos.up(2)).isAir()) + continue; + + BlockState block = forPos(pos.down()); + int weight = 1; + + if ((block.getBlock() == Blocks.GRASS_BLOCK || block.getBlock() == Blocks.GRAVEL) && Math.random() < 0.75) { + continue; + } + + if (!block.isSolidBlock(world, new BlockPos(x, y - 1, z))) + continue; + + if (!NATURALS.contains(block.getBlock())) { + weight += 5; + } + + for (int i = 3; i < 15; i++) { + if (forPos(pos.up(i)).isSolidBlock(world, pos.up(i))) { + weight += 1; + if (!NATURALS.contains(block.getBlock())) { + weight += 400; + } + break; + } else if (!forPos(pos.up(i)).isAir()) { + if (!NATURALS.contains(block.getBlock())) { + weight += 50; + } + break; + } + } + + result.add(new Entry(pos, weight)); + + } + } + } + return Pool.of(result); + } + + public BlockState forPos(BlockPos pos) { + return world.getBlockState(pos); + } + + public static class Entry implements Weighted { + private final BlockPos pos; + private final Weight weight; + + public Entry(BlockPos pos, int weight) { + this.pos = pos; + this.weight = Weight.of(weight); + } + + @Override + public Weight getWeight() { + return weight; + } + + public BlockPos getPos() { + return pos; + } + } +} diff --git a/src/main/java/net/flytre/hoco_sg/mixin/PlayerListS2CPacketMixin.java b/src/main/java/net/flytre/hoco_sg/mixin/PlayerListS2CPacketMixin.java index 82d0456..3c4fad7 100644 --- a/src/main/java/net/flytre/hoco_sg/mixin/PlayerListS2CPacketMixin.java +++ b/src/main/java/net/flytre/hoco_sg/mixin/PlayerListS2CPacketMixin.java @@ -3,6 +3,7 @@ package net.flytre.hoco_sg.mixin; import com.mojang.authlib.GameProfile; import net.flytre.hoco_sg.*; +import net.flytre.hoco_sg.config.Config; import net.flytre.hoco_sg.skin.GameProfileBuilder; import net.flytre.hoco_sg.skin.KnownRecipientPacket; import net.flytre.hoco_sg.skin.Skins; diff --git a/src/main/java/net/flytre/hoco_sg/mixin/ServerPlayerEntityMixin.java b/src/main/java/net/flytre/hoco_sg/mixin/ServerPlayerEntityMixin.java index 6e45d13..d6377d8 100644 --- a/src/main/java/net/flytre/hoco_sg/mixin/ServerPlayerEntityMixin.java +++ b/src/main/java/net/flytre/hoco_sg/mixin/ServerPlayerEntityMixin.java @@ -2,7 +2,7 @@ package net.flytre.hoco_sg.mixin; import com.mojang.authlib.GameProfile; -import net.flytre.hoco_sg.Config; +import net.flytre.hoco_sg.config.Config; import net.minecraft.entity.damage.DamageSource; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.server.network.ServerPlayerEntity; diff --git a/src/main/java/net/flytre/hoco_sg/skin/GameProfileBuilder.java b/src/main/java/net/flytre/hoco_sg/skin/GameProfileBuilder.java index 12d3121..3abb929 100644 --- a/src/main/java/net/flytre/hoco_sg/skin/GameProfileBuilder.java +++ b/src/main/java/net/flytre/hoco_sg/skin/GameProfileBuilder.java @@ -11,12 +11,12 @@ import java.util.*; import java.util.Map.Entry; import java.util.stream.Collectors; -import biz.source_code.base64Coder.Base64Coder; import com.google.gson.*; import com.mojang.authlib.GameProfile; import com.mojang.authlib.properties.Property; import com.mojang.authlib.properties.PropertyMap; import com.mojang.util.UUIDTypeAdapter; +import org.yaml.snakeyaml.external.biz.base64Coder.Base64Coder; /** * Copied from google. Mostly unused and is for experimental features. diff --git a/src/main/resources/data/flytre/functions/ability_base.mcfunction b/src/main/resources/data/flytre/functions/ability_base.mcfunction new file mode 100644 index 0000000..e57eeb6 --- /dev/null +++ b/src/main/resources/data/flytre/functions/ability_base.mcfunction @@ -0,0 +1,8 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +scoreboard players set @a[scores={rightclick=1..}] rightclick 0 +scoreboard players set @a custom_item 0 diff --git a/src/main/resources/data/flytre/functions/armor/regenerator.mcfunction b/src/main/resources/data/flytre/functions/armor/regenerator.mcfunction new file mode 100644 index 0000000..a3d20ff --- /dev/null +++ b/src/main/resources/data/flytre/functions/armor/regenerator.mcfunction @@ -0,0 +1,9 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +scoreboard players add @s regen_armor 1 +effect give @s[scores={regen_armor=100..}] regeneration 10 0 true +scoreboard players set @s[scores={regen_armor=100..}] regen_armor 0 diff --git a/src/main/resources/data/flytre/functions/armor/resistor.mcfunction b/src/main/resources/data/flytre/functions/armor/resistor.mcfunction new file mode 100644 index 0000000..f0ceb5e --- /dev/null +++ b/src/main/resources/data/flytre/functions/armor/resistor.mcfunction @@ -0,0 +1,7 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +effect give @s resistance 5 0 diff --git a/src/main/resources/data/flytre/functions/armor_base.mcfunction b/src/main/resources/data/flytre/functions/armor_base.mcfunction new file mode 100644 index 0000000..7b7c706 --- /dev/null +++ b/src/main/resources/data/flytre/functions/armor_base.mcfunction @@ -0,0 +1,14 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +execute as @a[nbt={Inventory:[{Slot:103b,tag:{ability:"regenerator"}}]}] at @s run function flytre:armor/regenerator +execute as @a[nbt={Inventory:[{Slot:102b,tag:{ability:"regenerator"}}]}] at @s run function flytre:armor/regenerator +execute as @a[nbt={Inventory:[{Slot:101b,tag:{ability:"regenerator"}}]}] at @s run function flytre:armor/regenerator +execute as @a[nbt={Inventory:[{Slot:100b,tag:{ability:"regenerator"}}]}] at @s run function flytre:armor/regenerator +execute as @a[nbt={Inventory:[{Slot:103b,tag:{ability:"resistor"}}]}] at @s run function flytre:armor/resistor +execute as @a[nbt={Inventory:[{Slot:102b,tag:{ability:"resistor"}}]}] at @s run function flytre:armor/resistor +execute as @a[nbt={Inventory:[{Slot:101b,tag:{ability:"resistor"}}]}] at @s run function flytre:armor/resistor +execute as @a[nbt={Inventory:[{Slot:100b,tag:{ability:"resistor"}}]}] at @s run function flytre:armor/resistor diff --git a/src/main/resources/data/flytre/functions/base_second.mcfunction b/src/main/resources/data/flytre/functions/base_second.mcfunction new file mode 100644 index 0000000..fbe2ad2 --- /dev/null +++ b/src/main/resources/data/flytre/functions/base_second.mcfunction @@ -0,0 +1,42 @@ +execute as @a[nbt={SelectedItem:{id:"minecraft:diamond_sword"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/melee/apex_sword +execute as @a[nbt={SelectedItem:{id:"minecraft:diamond_axe"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/melee/apex_axe +execute as @a[nbt={SelectedItem:{id:"minecraft:iron_sword"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/melee/elite_sword +execute as @a[nbt={SelectedItem:{id:"minecraft:iron_axe"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/melee/battleaxe +execute as @a[nbt={SelectedItem:{id:"minecraft:shield"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/melee/shield +execute as @a[nbt={SelectedItem:{id:"minecraft:bow"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/ranged/bow +execute as @a[nbt={SelectedItem:{id:"minecraft:crossbow"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/ranged/crossbow +execute as @a[nbt={SelectedItem:{id:"minecraft:trident"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:weapons/ranged/trident + +execute as @a[nbt={Inventory:[{id:"minecraft:diamond_boots",Slot:100b}]}] unless data entity @s Inventory[{Slot:100b}].tag.display run loot replace entity @s armor.feet loot flytre:armor/diamond/boots +execute as @a[nbt={Inventory:[{id:"minecraft:diamond_chestplate",Slot:102b}]}] unless data entity @s Inventory[{Slot:102b}].tag.display run loot replace entity @s armor.chest loot flytre:armor/diamond/chest +execute as @a[nbt={Inventory:[{id:"minecraft:diamond_helmet",Slot:103b}]}] unless data entity @s Inventory[{Slot:103b}].tag.display run loot replace entity @s armor.head loot flytre:armor/diamond/helm +execute as @a[nbt={Inventory:[{id:"minecraft:diamond_leggings",Slot:101b}]}] unless data entity @s Inventory[{Slot:101b}].tag.display run loot replace entity @s armor.legs loot flytre:armor/diamond/legs +execute as @a[nbt={SelectedItem:{id:"minecraft:diamond_boots"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/diamond/boots +execute as @a[nbt={SelectedItem:{id:"minecraft:diamond_chestplate"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/diamond/chest +execute as @a[nbt={SelectedItem:{id:"minecraft:diamond_helmet"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/diamond/helm +execute as @a[nbt={SelectedItem:{id:"minecraft:diamond_leggings"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/diamond/legs + +execute as @a[nbt={Inventory:[{id:"minecraft:iron_boots",Slot:100b}]}] unless data entity @s Inventory[{Slot:100b}].tag.display run loot replace entity @s armor.feet loot flytre:armor/iron/boots +execute as @a[nbt={Inventory:[{id:"minecraft:iron_chestplate",Slot:102b}]}] unless data entity @s Inventory[{Slot:102b}].tag.display run loot replace entity @s armor.chest loot flytre:armor/iron/chest +execute as @a[nbt={Inventory:[{id:"minecraft:iron_helmet",Slot:103b}]}] unless data entity @s Inventory[{Slot:103b}].tag.display run loot replace entity @s armor.head loot flytre:armor/iron/helm +execute as @a[nbt={Inventory:[{id:"minecraft:iron_leggings",Slot:101b}]}] unless data entity @s Inventory[{Slot:101b}].tag.display run loot replace entity @s armor.legs loot flytre:armor/iron/legs +execute as @a[nbt={SelectedItem:{id:"minecraft:iron_boots"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/iron/boots +execute as @a[nbt={SelectedItem:{id:"minecraft:iron_chestplate"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/iron/chest +execute as @a[nbt={SelectedItem:{id:"minecraft:iron_helmet"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/iron/helm +execute as @a[nbt={SelectedItem:{id:"minecraft:iron_leggings"}}] unless data entity @s SelectedItem.tag.display run loot replace entity @s weapon.mainhand loot flytre:armor/iron/legs + +effect give @a[nbt={Inventory:[{tag:{ability:"strength"}}]}] strength 2 0 true + +effect give @a[scores={hunger=..18},nbt={Inventory:[{tag:{ability:"saturated"}}]}] saturation 1 0 true + +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] poison +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] wither +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] blindness +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] nausea +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] glowing +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] slowness +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] levitation +effect clear @a[nbt={Inventory:[{tag:{ability:"resilience"}}]}] weakness + + +schedule function flytre:base_second 1s replace \ No newline at end of file diff --git a/src/main/resources/data/flytre/functions/base_tick.mcfunction b/src/main/resources/data/flytre/functions/base_tick.mcfunction new file mode 100644 index 0000000..82e784f --- /dev/null +++ b/src/main/resources/data/flytre/functions/base_tick.mcfunction @@ -0,0 +1,8 @@ +execute as @a[scores={deaths=1..},nbt={Inventory:[{tag:{ability:"nuker"}}]}] at @s run summon fireball ~ ~ ~ {direction:[0.0,-100.0,0.0],ExplosionPower:3.0,Motion:[0.0,-1.0,0.0]} +clear @a[scores={deaths=1..},nbt={Inventory:[{tag:{ability:"nuker"}}]}] minecraft:nether_star{ability:"nuker"} 1 +scoreboard players set @a deaths 0 + +effect give @a[nbt={Inventory:[{tag:{ability:"fleeting"}}],HurtTime:9s}] speed 3 0 true + + +schedule function flytre:base_tick 1t replace \ No newline at end of file diff --git a/src/main/resources/data/flytre/functions/bow_arrow_init.mcfunction b/src/main/resources/data/flytre/functions/bow_arrow_init.mcfunction new file mode 100644 index 0000000..04e0ae8 --- /dev/null +++ b/src/main/resources/data/flytre/functions/bow_arrow_init.mcfunction @@ -0,0 +1,14 @@ +execute as @a run scoreboard players operation @s enderID2 = @s enderID +execute as @s[type=arrow,tag=!init] at @s run scoreboard players operation @a enderID2 -= @s enderID +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"ender"}}},distance=..10] run tag @s add custom_arrow +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"ender"}}},distance=..10] run tag @s add ender +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"explosive"}}},distance=..10] run tag @s add custom_arrow +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"explosive"}}},distance=..10] run tag @s add explosive +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"barbed"}}},distance=..10] run tag @s add custom_arrow +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"barbed"}}},distance=..10] run tag @s add barbed +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"sniper"}}},distance=..10] run data modify entity @s NoGravity set value 1 +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"sniper"}}},distance=..10] run data modify entity @s PierceLevel set value 2 +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"sniper"}}},distance=..10] run data modify entity @s crit set value true +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"sniper"}}},distance=..10] run tag @s add custom_arrow +execute as @s[type=arrow,tag=!init] at @s if entity @a[scores={enderID2=0},nbt={SelectedItem:{tag:{ability:"sniper"}}},distance=..10] run tag @s add sniper +execute as @e[type=arrow,tag=!custom_arrow,tag=!init,limit=1] at @s run function flytre:bow_arrow_init diff --git a/src/main/resources/data/flytre/functions/bow_base.mcfunction b/src/main/resources/data/flytre/functions/bow_base.mcfunction new file mode 100644 index 0000000..89dc226 --- /dev/null +++ b/src/main/resources/data/flytre/functions/bow_base.mcfunction @@ -0,0 +1,34 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +execute as @a store result score @s enderID run data get entity @s UUIDLeast 0.00000000001 +execute as @e[type=arrow] at @s store result score @s enderID run data get entity @s OwnerUUIDLeast 0.00000000001 +execute as @a[nbt={SelectedItem:{tag:{ability:"ender"}}}] at @s run execute as @e[type=arrow,distance=..10,tag=!init,limit=1] at @s run function flytre:bow_arrow_init +execute as @e[type=arrow,tag=ender,nbt={inGround:0b}] at @s positioned ~ ~0.25 ~ run particle portal ~ ~-0.06 ~0 0 0.12 0 0 30 force +execute as @e[type=arrow,tag=ender,nbt={inGround:0b}] at @s run kill @e[type=armor_stand,distance=..8,tag=ender,limit=1] +execute as @e[type=arrow,tag=ender,nbt={inGround:0b}] at @s run summon armor_stand ~ ~1 ~ {Tags:[ender,arrow_stand],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,PersistenceRequired:1,DisabledSlots:2039583} +execute as @e[type=arrow,tag=ender] at @s store result score @e[type=armor_stand,tag=ender,limit=1,distance=..8] enderID run data get entity @s OwnerUUIDLeast 0.00000000001 +execute as @e[type=armor_stand,tag=ender,scores={arrowDetection=3}] at @s run function flytre:bows/ender +execute as @a[nbt={SelectedItem:{tag:{ability:"explosive"}}}] at @s run execute as @e[type=arrow,distance=..10,tag=!init,limit=1] at @s run function flytre:bow_arrow_init +execute as @e[type=arrow,tag=explosive,nbt={inGround:0b}] at @s positioned ~ ~0.25 ~ run particle flame ~ ~-0.06 ~0 0 0.12 0 0 30 force +execute as @e[type=arrow,tag=explosive,nbt={inGround:0b}] at @s run kill @e[type=armor_stand,distance=..8,tag=explosive,limit=1] +execute as @e[type=arrow,tag=explosive,nbt={inGround:0b}] at @s run summon armor_stand ~ ~1 ~ {Tags:[explosive,arrow_stand],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,PersistenceRequired:1,DisabledSlots:2039583} +execute as @e[type=arrow,tag=explosive] at @s store result score @e[type=armor_stand,tag=explosive,limit=1,distance=..8] enderID run data get entity @s OwnerUUIDLeast 0.00000000001 +execute as @e[type=armor_stand,tag=explosive,scores={arrowDetection=3}] at @s run summon fireball ~ ~ ~ {direction:[0.0,-100.0,0.0],ExplosionPower:2.5,Motion:[0.0,-1.0,0.0]} +execute as @a[nbt={SelectedItem:{tag:{ability:"barbed"}}}] at @s run execute as @e[type=arrow,distance=..10,tag=!init,limit=1] at @s run function flytre:bow_arrow_init +execute as @e[type=arrow,tag=barbed,nbt={inGround:0b}] at @s positioned ~ ~0.25 ~ run particle cloud ~ ~-0.06 ~0 0 0.12 0 0 30 force +execute as @e[type=arrow,tag=barbed,nbt={inGround:0b}] at @s run kill @e[type=armor_stand,distance=..8,tag=barbed,limit=1] +execute as @e[type=arrow,tag=barbed,nbt={inGround:0b}] at @s run summon armor_stand ~ ~1 ~ {Tags:[barbed,arrow_stand],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,PersistenceRequired:1,DisabledSlots:2039583} +execute as @e[type=arrow,tag=barbed] at @s store result score @e[type=armor_stand,tag=barbed,limit=1,distance=..8] enderID run data get entity @s OwnerUUIDLeast 0.00000000001 +execute as @e[type=armor_stand,tag=barbed,scores={arrowDetection=3}] at @s run effect give @e[distance=..4] slowness 2 1 +execute as @a[nbt={SelectedItem:{tag:{ability:"sniper"}}}] at @s run execute as @e[type=arrow,distance=..10,tag=!init,limit=1] at @s run function flytre:bow_arrow_init +execute as @e[type=arrow,tag=sniper,nbt={inGround:0b}] at @s run kill @e[type=armor_stand,distance=..8,tag=sniper,limit=1] +execute as @e[type=arrow,tag=sniper,nbt={inGround:0b}] at @s run summon armor_stand ~ ~1 ~ {Tags:[sniper,arrow_stand],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,PersistenceRequired:1,DisabledSlots:2039583} +execute as @e[type=arrow,tag=sniper] at @s store result score @e[type=armor_stand,tag=sniper,limit=1,distance=..8] enderID run data get entity @s OwnerUUIDLeast 0.00000000001 +tag @e[type=arrow] add init +scoreboard players add @e[type=armor_stand,tag=arrow_stand] arrowDetection 1 +kill @e[type=arrow,tag=custom_arrow,nbt={inGround:1b}] +kill @e[type=armor_stand,tag=arrow_stand,scores={arrowDetection=4..}] diff --git a/src/main/resources/data/flytre/functions/bows/ender.mcfunction b/src/main/resources/data/flytre/functions/bows/ender.mcfunction new file mode 100644 index 0000000..037a076 --- /dev/null +++ b/src/main/resources/data/flytre/functions/bows/ender.mcfunction @@ -0,0 +1,14 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +execute as @s run execute as @a run scoreboard players operation @s enderID3 = @s enderID +execute as @s run scoreboard players operation @a enderID3 -= @s enderID +tag @a[scores={enderID3=0}] add bow_ender +execute as @s run tp @a[tag=bow_ender] @s +tag @a remove bow_ender +scoreboard players reset * enderID3 +tag @s add effectDone +execute as @e[type=armor_stand,tag=ender,tag=!effectDone,scores={arrowDetection=3},sort=random,limit=1] at @s run function flytre:bows/ender diff --git a/src/main/resources/data/flytre/functions/custom_support/covering_fire.mcfunction b/src/main/resources/data/flytre/functions/custom_support/covering_fire.mcfunction new file mode 100644 index 0000000..6350524 --- /dev/null +++ b/src/main/resources/data/flytre/functions/custom_support/covering_fire.mcfunction @@ -0,0 +1,26 @@ +summon arrow ~ ~3 ~ {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~1 ~3 ~ {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~ ~3 ~1 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~-1 ~3 ~ {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~ ~3 ~-1 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~1 ~3 ~1 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} +summon arrow ~1 ~3 ~-1 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} +summon arrow ~-1 ~3 ~1 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} +summon arrow ~-1 ~3 ~-1 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~2 ~3 ~ {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~ ~3 ~2 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~-2 ~3 ~ {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + +summon arrow ~ ~3 ~-2 {Fire:40s,Motion:[0.0d,-0.2d,0.0d],damage:0.1d,life:1160s} + + + +data modify entity @s[type=!trident] Fire set value 100 \ No newline at end of file diff --git a/src/main/resources/data/flytre/functions/custom_support/hunter.mcfunction b/src/main/resources/data/flytre/functions/custom_support/hunter.mcfunction new file mode 100644 index 0000000..650b441 --- /dev/null +++ b/src/main/resources/data/flytre/functions/custom_support/hunter.mcfunction @@ -0,0 +1,25 @@ + +execute at @a[distance=1..13] run playsound minecraft:block.anvil.land player @s + +execute as @a[distance=1..7] run stopsound @s player + +execute if block ~ ~-1 ~ stone as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~5 ~ ~ +execute if block ~ ~-1 ~ stone as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~-5 ~ ~ +execute if block ~ ~-1 ~ stone as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~ ~ ~5 +execute if block ~ ~-1 ~ stone as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~ ~ ~-5 + +execute if block ~ ~-1 ~ #sand as @a[distance=1..7] at @s run playsound minecraft:block.sand.step player @s ~5 ~ ~ +execute if block ~ ~-1 ~ #sand as @a[distance=1..7] at @s run playsound minecraft:block.sand.step player @s ~-5 ~ ~ +execute if block ~ ~-1 ~ #sand as @a[distance=1..7] at @s run playsound minecraft:block.sand.step player @s ~ ~ ~5 +execute if block ~ ~-1 ~ #sand as @a[distance=1..7] at @s run playsound minecraft:block.sand.step player @s ~ ~ ~-5 + + +execute if block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.grass.step player @s ~5 ~ ~ +execute if block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.grass.step player @s ~-5 ~ ~ +execute if block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.grass.step player @s ~ ~ ~5 +execute if block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.grass.step player @s ~ ~ ~-5 + +execute unless block ~ ~-1 ~ stone unless block ~ ~-1 ~ #sand unless block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~5 ~ ~ +execute unless block ~ ~-1 ~ stone unless block ~ ~-1 ~ #sand unless block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~-5 ~ ~ +execute unless block ~ ~-1 ~ stone unless block ~ ~-1 ~ #sand unless block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~ ~ ~5 +execute unless block ~ ~-1 ~ stone unless block ~ ~-1 ~ #sand unless block ~ ~-1 ~ grass as @a[distance=1..7] at @s run playsound minecraft:block.stone.step player @s ~ ~ ~-5 \ No newline at end of file diff --git a/src/main/resources/data/flytre/functions/generic_base.mcfunction b/src/main/resources/data/flytre/functions/generic_base.mcfunction new file mode 100644 index 0000000..2db8ef3 --- /dev/null +++ b/src/main/resources/data/flytre/functions/generic_base.mcfunction @@ -0,0 +1,12 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +function flytre:ability_base +function flytre:armor_base +function flytre:bow_base +function flytre:shield_base +function flytre:sword_base +function flytre:trident_base diff --git a/src/main/resources/data/flytre/functions/info.mcfunction b/src/main/resources/data/flytre/functions/info.mcfunction new file mode 100644 index 0000000..e95f02a --- /dev/null +++ b/src/main/resources/data/flytre/functions/info.mcfunction @@ -0,0 +1,23 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +tellraw @s ["",{"text":"/give @s diamond_sword{ability:\"zeus\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s diamond_sword{ability:\"zeus\"}"}},{"text":": give yourself a(n) zeus sword.","color":"green"}] +tellraw @s ["",{"text":"/give @s diamond_sword{ability:\"adrenaline\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s diamond_sword{ability:\"adrenaline\"}"}},{"text":": give yourself a(n) adrenaline sword.","color":"green"}] +tellraw @s ["",{"text":"/give @s diamond_sword{ability:\"icy\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s diamond_sword{ability:\"icy\"}"}},{"text":": give yourself a(n) icy sword.","color":"green"}] +tellraw @s ["",{"text":"/give @s diamond_sword{ability:\"poisoned\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s diamond_sword{ability:\"poisoned\"}"}},{"text":": give yourself a(n) poisoned sword.","color":"green"}] +tellraw @s ["",{"text":"/give @s bow{ability:\"ender\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s bow{ability:\"ender\"}"}},{"text":": give yourself a(n) ender bow.","color":"green"}] +tellraw @s ["",{"text":"/give @s bow{ability:\"explosive\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s bow{ability:\"explosive\"}"}},{"text":": give yourself a(n) explosive bow.","color":"green"}] +tellraw @s ["",{"text":"/give @s bow{ability:\"barbed\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s bow{ability:\"barbed\"}"}},{"text":": give yourself a(n) barbed bow.","color":"green"}] +tellraw @s ["",{"text":"/give @s bow{ability:\"sniper\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s bow{ability:\"sniper\"}"}},{"text":": give yourself a(n) sniper bow.","color":"green"}] +tellraw @s ["",{"text":"/give @s diamond_helmet{ability:\"regenerator\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s diamond_helmet{ability:\"regenerator\"}"}},{"text":": give yourself a(n) null helmet.","color":"green"}] +tellraw @s ["",{"text":"/give @s diamond_helmet{ability:\"resistor\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s diamond_helmet{ability:\"resistor\"}"}},{"text":": give yourself a(n) null helmet.","color":"green"}] +tellraw @s ["",{"text":"/give @s shield{ability:\"wither\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s shield{ability:\"wither\"}"}},{"text":": give yourself a(n) wither shield.","color":"green"}] +tellraw @s ["",{"text":"/give @s shield{ability:\"tempered\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s shield{ability:\"tempered\"}"}},{"text":": give yourself a(n) tempered shield.","color":"green"}] +tellraw @s ["",{"text":"/give @s shield{ability:\"resisting\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s shield{ability:\"resisting\"}"}},{"text":": give yourself a(n) resisting shield.","color":"green"}] +tellraw @s ["",{"text":"/give @s trident{ability:\"zeus\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s trident{ability:\"zeus\"}"}},{"text":": give yourself a(n) zeus trident.","color":"green"}] +tellraw @s ["",{"text":"/give @s trident{ability:\"poisoned\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s trident{ability:\"poisoned\"}"}},{"text":": give yourself a(n) poisoned trident.","color":"green"}] +tellraw @s ["",{"text":"/give @s trident{ability:\"icy\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s trident{ability:\"icy\"}"}},{"text":": give yourself a(n) icy trident.","color":"green"}] +tellraw @s ["",{"text":"/give @s trident{ability:\"cover_fire\"}","color":"gold","clickEvent":{"action":"suggest_command","value":"/give @s trident{ability:\"cover_fire\"}"}},{"text":": give yourself a(n) cover_fire trident.","color":"green"}] diff --git a/src/main/resources/data/flytre/functions/init_items.mcfunction b/src/main/resources/data/flytre/functions/init_items.mcfunction new file mode 100644 index 0000000..492a390 --- /dev/null +++ b/src/main/resources/data/flytre/functions/init_items.mcfunction @@ -0,0 +1,16 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +scoreboard objectives add rightclick minecraft.used:minecraft.carrot_on_a_stick +scoreboard objectives add custom_item dummy +scoreboard objectives add enderID dummy +scoreboard objectives add enderID2 dummy +scoreboard objectives add arrowDetection dummy +scoreboard objectives add shieldblock minecraft.custom:minecraft.damage_blocked_by_shield +scoreboard objectives add damageDealt minecraft.custom:minecraft.damage_dealt +scoreboard objectives add killedEntity totalKillCount +scoreboard objectives add enderID3 dummy +scoreboard objectives add regen_armor dummy diff --git a/src/main/resources/data/flytre/functions/shield_base.mcfunction b/src/main/resources/data/flytre/functions/shield_base.mcfunction new file mode 100644 index 0000000..650265c --- /dev/null +++ b/src/main/resources/data/flytre/functions/shield_base.mcfunction @@ -0,0 +1,16 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +execute as @a[scores={shieldblock=1..},nbt={SelectedItem:{tag:{ability:"wither"}}}] at @s run tag @s add shielded +execute as @a[scores={shieldblock=1..},nbt={SelectedItem:{tag:{ability:"wither"}}}] at @s run execute positioned ^ ^ ^2 run effect give @e[distance=..2,tag=!shielded] wither 4 0 +execute as @a[scores={shieldblock=1..},nbt={SelectedItem:{tag:{ability:"wither"}}}] at @s run tag @a remove shielded +execute as @a[nbt={SelectedItem:{tag:{ability:"tempered"}}}] at @s run effect clear @s wither +execute as @a[nbt={Inventory:[{Slot: -106b, tag:{ability:"tempered"}}]}] at @s run effect clear @s wither +execute as @a[nbt={SelectedItem:{tag:{ability:"tempered"}}}] at @s run effect clear @s poison +execute as @a[nbt={Inventory:[{Slot: -106b, tag:{ability:"tempered"}}]}] at @s run effect clear @s poison +execute as @a[nbt={SelectedItem:{tag:{ability:"resisting"}}}] at @s run effect give @s resistance 5 0 true +execute as @a[nbt={Inventory:[{Slot: -106b, tag:{ability:"resisting"}}]}] at @s run effect give @s resistance 5 0 true +scoreboard players set @a[scores={shieldblock=1..}] shieldblock 0 diff --git a/src/main/resources/data/flytre/functions/sword_base.mcfunction b/src/main/resources/data/flytre/functions/sword_base.mcfunction new file mode 100644 index 0000000..adb8bd7 --- /dev/null +++ b/src/main/resources/data/flytre/functions/sword_base.mcfunction @@ -0,0 +1,17 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +execute as @a[scores={damageDealt=1..},nbt={SelectedItem:{tag:{ability:"zeus"}}}] at @s run effect give @s resistance 1 4 true +execute as @a[scores={damageDealt=1..},nbt={SelectedItem:{tag:{ability:"zeus"}}}] at @s run execute as @e[nbt={HurtTime:10s},distance=..5,limit=1] at @s run summon lightning_bolt +execute as @a[scores={killedEntity=1..},nbt={SelectedItem:{tag:{ability:"adrenaline"}}}] at @s run effect give @s regeneration 4 1 true +execute as @a[scores={killedEntity=1..},nbt={SelectedItem:{tag:{ability:"adrenaline"}}}] at @s run effect give @s speed 5 0 true +execute as @a[scores={killedEntity=1..},nbt={SelectedItem:{tag:{ability:"adrenaline"}}}] at @s run effect give @s strength 5 0 true +execute as @a[scores={damageDealt=1..},nbt={SelectedItem:{tag:{ability:"icy"}}}] at @s run execute as @e[nbt={HurtTime:10s},distance=..5,limit=1] at @s run effect give @s slowness 3 0 true +execute as @a[scores={damageDealt=1..},nbt={SelectedItem:{tag:{ability:"poisoned"}}}] at @s run execute as @e[nbt={HurtTime:10s},distance=..5,limit=1] at @s run effect give @s poison 5 0 true +scoreboard players set @a[scores={damageDealt=1..}] damageDealt 0 +scoreboard players set @a[scores={killedEntity=1..}] killedEntity 0 +scoreboard players set @a[scores={damageDealt=1..}] damageDealt 0 +scoreboard players set @a[scores={killedEntity=1..}] killedEntity 0 diff --git a/src/main/resources/data/flytre/functions/trident_base.mcfunction b/src/main/resources/data/flytre/functions/trident_base.mcfunction new file mode 100644 index 0000000..466a8ad --- /dev/null +++ b/src/main/resources/data/flytre/functions/trident_base.mcfunction @@ -0,0 +1,16 @@ +#################################################################################################### +#Automatically Generated File +#Created Using: Flytre's Custom Item Generator +#Created: 11/29/2019 17:33 +#################################################################################################### + +execute as @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"zeus"}}},tag=!effectApplied] at @s run execute as @e[limit=1,sort=nearest,nbt={HurtTime:10s},distance=..5] at @s run summon lightning_bolt +execute as @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"zeus"}}},tag=!effectApplied] at @s unless entity @e[limit=1,sort=nearest,nbt={HurtTime:10s},distance=..5] run summon lightning_bolt +tag @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"zeus"}}},tag=!effectApplied] add effectApplied +execute as @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"poisoned"}}},tag=!effectApplied] at @s run execute as @e[limit=1,sort=nearest,nbt={HurtTime:10s},distance=..5] at @s run effect give @s poison 8 1 true +tag @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"poisoned"}}},tag=!effectApplied] add effectApplied +execute as @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"icy"}}},tag=!effectApplied] at @s run execute as @e[limit=1,sort=nearest,nbt={HurtTime:10s},distance=..5] at @s run effect give @s slowness 7 0 true +tag @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"icy"}}},tag=!effectApplied] add effectApplied +execute as @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"cover_fire"}}},tag=!effectApplied] at @s run execute as @e[limit=1,sort=nearest,nbt={HurtTime:10s},distance=..5] at @s run function flytre:custom_support/covering_fire +execute as @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"cover_fire"}}},tag=!effectApplied] at @s unless entity @e[limit=1,sort=nearest,nbt={HurtTime:10s},distance=..5] run function flytre:custom_support/covering_fire +tag @e[type=trident,nbt={DealtDamage:1b,Trident:{tag:{ability:"cover_fire"}}},tag=!effectApplied] add effectApplied diff --git a/src/main/resources/data/flytre/loot_tables/armor/chain/boots.json b/src/main/resources/data/flytre/loot_tables/armor/chain/boots.json new file mode 100644 index 0000000..632f238 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/chain/boots.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 1024, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Keeps baby zombies from nipping", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "on your toes!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_boots", + "weight": 32, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/chain/chest.json b/src/main/resources/data/flytre/loot_tables/armor/chain/chest.json new file mode 100644 index 0000000..4b2c777 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/chain/chest.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 1024, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 5, + "name": "", + "attribute": "generic.max_health", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 5.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Extremely heavy, but", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "very protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_chestplate", + "weight": 32, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/chain/helm.json b/src/main/resources/data/flytre/loot_tables/armor/chain/helm.json new file mode 100644 index 0000000..4916a13 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/chain/helm.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 1024, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A Knight's best", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_helmet", + "weight": 32, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/chain/legs.json b/src/main/resources/data/flytre/loot_tables/armor/chain/legs.json new file mode 100644 index 0000000..6dac0b1 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/chain/legs.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 1024, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Knight Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Try doing 50 laps on the track", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "with these on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:chainmail_leggings", + "weight": 32, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/chain/random.json b/src/main/resources/data/flytre/loot_tables/armor/chain/random.json new file mode 100644 index 0000000..fba2dda --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/chain/random.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/chain\/helm", + "weight": 16, + "type": "loot_table" + }, + { + "name": "flytre:armor\/chain\/chest", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/chain\/legs", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/chain\/boots", + "weight": 1, + "type": "loot_table" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/cloth/boots.json b/src/main/resources/data/flytre/loot_tables/armor/cloth/boots.json new file mode 100644 index 0000000..752cb97 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/cloth/boots.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.19, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shoes", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "running away!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/cloth/chest.json b/src/main/resources/data/flytre/loot_tables/armor/cloth/chest.json new file mode 100644 index 0000000..53cb685 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/cloth/chest.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.19, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Shirt", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You're going into combat", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "in a shirt?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/cloth/helm.json b/src/main/resources/data/flytre/loot_tables/armor/cloth/helm.json new file mode 100644 index 0000000..564424e --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/cloth/helm.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.19, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cap", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "No one sane would ever consider", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "wearing this cap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/cloth/legs.json b/src/main/resources/data/flytre/loot_tables/armor/cloth/legs.json new file mode 100644 index 0000000..8b2ebff --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/cloth/legs.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.19, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Pants", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A pair of very tattered, old", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "pants.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/cloth/random.json b/src/main/resources/data/flytre/loot_tables/armor/cloth/random.json new file mode 100644 index 0000000..9ce6477 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/cloth/random.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/cloth\/helm", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/cloth\/chest", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/cloth\/legs", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/cloth\/boots", + "weight": 1, + "type": "loot_table" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/dark/boots.json b/src/main/resources/data/flytre/loot_tables/armor/dark/boots.json new file mode 100644 index 0000000..7697298 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/dark/boots.json @@ -0,0 +1,928 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.22, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Don't get hit, it'll hurt!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "You're basically wearing cloth!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_boots", + "weight": 7, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/dark/chest.json b/src/main/resources/data/flytre/loot_tables/armor/dark/chest.json new file mode 100644 index 0000000..d6f9a8d --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/dark/chest.json @@ -0,0 +1,928 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 5, + "name": "", + "attribute": "generic.max_health", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.22, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Speedy and stealthy!", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_chestplate", + "weight": 7, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/dark/helm.json b/src/main/resources/data/flytre/loot_tables/armor/dark/helm.json new file mode 100644 index 0000000..c9a630e --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/dark/helm.json @@ -0,0 +1,928 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.22, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Fade into the shadows with", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "this helmet on.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_helmet", + "weight": 7, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/dark/legs.json b/src/main/resources/data/flytre/loot_tables/armor/dark/legs.json new file mode 100644 index 0000000..36d438b --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/dark/legs.json @@ -0,0 +1,928 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.22, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{color:0},HideFlags:61}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.05, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ninja Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Parkour is just the warm up", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "now!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:leather_leggings", + "weight": 7, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/dark/random.json b/src/main/resources/data/flytre/loot_tables/armor/dark/random.json new file mode 100644 index 0000000..4c5db75 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/dark/random.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/dark\/helm", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/dark\/chest", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/dark\/legs", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/dark\/boots", + "weight": 1, + "type": "loot_table" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/diamond/boots.json b/src/main/resources/data/flytre/loot_tables/armor/diamond/boots.json new file mode 100644 index 0000000..f757cdc --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/diamond/boots.json @@ -0,0 +1,951 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 100, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.16, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Lightweight and protective, a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "unique find.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_boots", + "weight": 3, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/diamond/chest.json b/src/main/resources/data/flytre/loot_tables/armor/diamond/chest.json new file mode 100644 index 0000000..e7e8135 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/diamond/chest.json @@ -0,0 +1,951 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 100, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 5, + "name": "", + "attribute": "generic.max_health", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.16, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 8.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "More expensive than a noble's", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "ransom.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_chestplate", + "weight": 3, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/diamond/helm.json b/src/main/resources/data/flytre/loot_tables/armor/diamond/helm.json new file mode 100644 index 0000000..901709b --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/diamond/helm.json @@ -0,0 +1,951 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 100, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.16, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The envy of any", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "seasoned warrior.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_helmet", + "weight": 3, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/diamond/legs.json b/src/main/resources/data/flytre/loot_tables/armor/diamond/legs.json new file mode 100644 index 0000000..95adb66 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/diamond/legs.json @@ -0,0 +1,951 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 100, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.16, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.02, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.5, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A once in a lifetime", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_leggings", + "weight": 3, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/diamond/random.json b/src/main/resources/data/flytre/loot_tables/armor/diamond/random.json new file mode 100644 index 0000000..ed79d13 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/diamond/random.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/diamond\/helm", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/diamond\/chest", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/diamond\/legs", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/diamond\/boots", + "weight": 1, + "type": "loot_table" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/golden/boots.json b/src/main/resources/data/flytre/loot_tables/armor/golden/boots.json new file mode 100644 index 0000000..64d8bb7 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/golden/boots.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.04, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 1.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These boots are great for", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for absolutely nothing!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_boots", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/golden/chest.json b/src/main/resources/data/flytre/loot_tables/armor/golden/chest.json new file mode 100644 index 0000000..8b630cf --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/golden/chest.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 4.5, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A sword slices through gold", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "like a hot knife through butter.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/golden/helm.json b/src/main/resources/data/flytre/loot_tables/armor/golden/helm.json new file mode 100644 index 0000000..b524f6a --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/golden/helm.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Your brain is slowly being compressed", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "by the weight of this helmet.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_helmet", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/golden/legs.json b/src/main/resources/data/flytre/loot_tables/armor/golden/legs.json new file mode 100644 index 0000000..00d9683 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/golden/legs.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 2048, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.08, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Golden Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "These leggings are insanely heavy,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "don't say you weren't warned!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:golden_leggings", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/golden/random.json b/src/main/resources/data/flytre/loot_tables/armor/golden/random.json new file mode 100644 index 0000000..7604f37 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/golden/random.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/golden\/helm", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/golden\/chest", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/golden\/legs", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/golden\/boots", + "weight": 1, + "type": "loot_table" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/iron/boots.json b/src/main/resources/data/flytre/loot_tables/armor/iron/boots.json new file mode 100644 index 0000000..1edb086 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/iron/boots.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.5, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "feet", + "operation": "multiply_base" + }, + { + "amount": 2.0, + "name": "", + "attribute": "generic.armor", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "feet", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "feet", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Boots", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "If you kick a friend with these,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "you'll have one less friend.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_boots", + "weight": 15, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/iron/chest.json b/src/main/resources/data/flytre/loot_tables/armor/iron/chest.json new file mode 100644 index 0000000..e2e83a1 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/iron/chest.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 7.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 5, + "name": "", + "attribute": "generic.max_health", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "chest", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "chest", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "chest", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Chestguard", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Heavier than chain, and", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "more protective.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_chestplate", + "weight": 15, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/iron/helm.json b/src/main/resources/data/flytre/loot_tables/armor/iron/helm.json new file mode 100644 index 0000000..111db37 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/iron/helm.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.5, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "head", + "operation": "multiply_base" + }, + { + "amount": 3.0, + "name": "", + "attribute": "generic.armor", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "head", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "head", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Helmet", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Makes you as tanky as a", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "golem, while staying just as smart!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_helmet", + "weight": 15, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/iron/legs.json b/src/main/resources/data/flytre/loot_tables/armor/iron/legs.json new file mode 100644 index 0000000..6bd079e --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/iron/legs.json @@ -0,0 +1,888 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 6.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 512, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resistor\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Resistor", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"regenerator\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Regenerator", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cyborg\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.2, + "name": "", + "attribute": "generic.attack_damage", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Cyborg", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 8, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"vital\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4, + "name": "", + "attribute": "generic.max_health", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Vitality", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 2, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"protective\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 2}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Protective", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"thorny\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:thorns\",\"lvl\": 3}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Thorny", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"armored\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.1, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Armored", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 0.03, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Light", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 15, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 1}]}" + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.06, + "name": "", + "attribute": "generic.movement_speed", + "slot": "legs", + "operation": "multiply_base" + }, + { + "amount": 5.0, + "name": "", + "attribute": "generic.armor", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 2, + "name": "", + "attribute": "generic.armor_toughness", + "slot": "legs", + "operation": "addition" + }, + { + "amount": 0.25, + "name": "", + "attribute": "generic.knockback_resistance", + "slot": "legs", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Golem Leggings", + "italic": false + } + }, + { + "lore": [ + [ + { + "color": "green", + "text": "Enchantment:", + "italic": false + }, + { + "color": "gold", + "text": " Heavy", + "italic": false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nothing is getting through this", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "thick iron.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_leggings", + "weight": 15, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/iron/random.json b/src/main/resources/data/flytre/loot_tables/armor/iron/random.json new file mode 100644 index 0000000..06c7ed8 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/iron/random.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/iron\/helm", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/iron\/chest", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/iron\/legs", + "weight": 1, + "type": "loot_table" + }, + { + "name": "flytre:armor\/iron\/boots", + "weight": 1, + "type": "loot_table" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/random.json b/src/main/resources/data/flytre/loot_tables/armor/random.json new file mode 100644 index 0000000..d97ad05 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/random.json @@ -0,0 +1,45 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/cloth\/random", + "weight": 100, + "type": "loot_table", + "quality": -15 + }, + { + "name": "flytre:armor\/chain\/random", + "weight": 40, + "type": "loot_table", + "quality": 0 + }, + { + "name": "flytre:armor\/golden\/random", + "weight": 100, + "type": "loot_table", + "quality": -30 + }, + { + "name": "flytre:armor\/iron\/random", + "weight": 20, + "type": "loot_table", + "quality": 7 + }, + { + "name": "flytre:armor\/diamond\/random", + "weight": 5, + "type": "loot_table", + "quality": 5 + }, + { + "name": "flytre:armor\/dark\/random", + "weight": 12, + "type": "loot_table", + "quality": 6 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/armor/random_mid.json b/src/main/resources/data/flytre/loot_tables/armor/random_mid.json new file mode 100644 index 0000000..ec273fb --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/armor/random_mid.json @@ -0,0 +1,45 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:armor\/cloth\/random", + "weight": 50, + "type": "loot_table", + "quality": -15 + }, + { + "name": "flytre:armor\/chain\/random", + "weight": 50, + "type": "loot_table", + "quality": 0 + }, + { + "name": "flytre:armor\/golden\/random", + "weight": 30, + "type": "loot_table", + "quality": -30 + }, + { + "name": "flytre:armor\/iron\/random", + "weight": 25, + "type": "loot_table", + "quality": 7 + }, + { + "name": "flytre:armor\/diamond\/random", + "weight": 7, + "type": "loot_table", + "quality": 5 + }, + { + "name": "flytre:armor\/dark\/random", + "weight": 16, + "type": "loot_table", + "quality": 6 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/armor.json b/src/main/resources/data/flytre/loot_tables/charms/armor.json new file mode 100644 index 0000000..d4ca0c8 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/armor.json @@ -0,0 +1,62 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Destruction Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"destruction\"}" + }, + { + "lore": [ + [ + { + "text": "Passive", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Nearby armor corrodes.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/fleeting.json b/src/main/resources/data/flytre/loot_tables/charms/fleeting.json new file mode 100644 index 0000000..e8a9366 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/fleeting.json @@ -0,0 +1,69 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Fleeting Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"fleeting\"}" + }, + { + "lore": [ + [ + { + "text": "Activated during combat", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "I'd rather be alive and a coward", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "than dead and honorable.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/hunter.json b/src/main/resources/data/flytre/loot_tables/charms/hunter.json new file mode 100644 index 0000000..f2eb220 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/hunter.json @@ -0,0 +1,69 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Hunter's Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"hunter\"}" + }, + { + "lore": [ + [ + { + "text": "Passive", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Only time will tell the secrets", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "of this charm.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/nuker.json b/src/main/resources/data/flytre/loot_tables/charms/nuker.json new file mode 100644 index 0000000..5210392 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/nuker.json @@ -0,0 +1,62 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Nuker Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"nuker\"}" + }, + { + "lore": [ + [ + { + "text": "Activated on death", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "I ain't going down alone!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/random.json b/src/main/resources/data/flytre/loot_tables/charms/random.json new file mode 100644 index 0000000..0fac89b --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/random.json @@ -0,0 +1,40 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:charms/fleeting", + "weight": 10, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:charms/hunter", + "weight": 5, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:charms/nuker", + "weight": 5, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:charms/resilience", + "weight": 5, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:charms/saturated", + "weight": 10, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:charms/strength", + "weight": 10, + "type": "minecraft:loot_table" + } + ], + "rolls": 1 + } + ], + "type": "minecraft:generic" +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/resilience.json b/src/main/resources/data/flytre/loot_tables/charms/resilience.json new file mode 100644 index 0000000..5e1a14a --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/resilience.json @@ -0,0 +1,62 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Resilience Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"resilience\"}" + }, + { + "lore": [ + [ + { + "text": "Passive", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Because debuffs are lame!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/saturated.json b/src/main/resources/data/flytre/loot_tables/charms/saturated.json new file mode 100644 index 0000000..542994e --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/saturated.json @@ -0,0 +1,69 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Saturated Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"saturated\"}" + }, + { + "lore": [ + [ + { + "text": "Passive", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "I used to love eating...", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "is this charm a curse?", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/charms/strength.json b/src/main/resources/data/flytre/loot_tables/charms/strength.json new file mode 100644 index 0000000..07169a1 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/charms/strength.json @@ -0,0 +1,62 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Strength Charm", + "italic": false + } + }, + { + "function": "set_nbt", + "tag": "{ability:\"strength\"}" + }, + { + "lore": [ + [ + { + "text": "Passive", + "color": "green", + "italic" : false + } + ], + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Free strength...that's a deal!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:nether_star", + "weight": 1024, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/food.json b/src/main/resources/data/flytre/loot_tables/food.json new file mode 100755 index 0000000..92ff392 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/food.json @@ -0,0 +1,910 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Carrot", + "italic": false + } + } + ], + "name": "minecraft:carrot", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Potato", + "italic": false + } + } + ], + "name": "minecraft:potato", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Baked Potato", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:baked_potato", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Egg", + "italic": false + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:egg", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Apple", + "italic": false + } + } + ], + "name": "minecraft:apple", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Beetroot", + "italic": false + } + } + ], + "name": "minecraft:beetroot", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Bread", + "italic": false + } + } + ], + "name": "minecraft:bread", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Porkchop", + "italic": false + } + } + ], + "name": "minecraft:porkchop", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cooked Porkchop", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cooked_porkchop", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cod", + "italic": false + } + } + ], + "name": "minecraft:cod", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cod", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cod", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Salmon", + "italic": false + } + } + ], + "name": "minecraft:salmon", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cooked Salmon", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cooked_salmon", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Beef", + "italic": false + } + } + ], + "name": "minecraft:beef", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cooked Beef", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cooked_beef", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Chicken", + "italic": false + } + } + ], + "name": "minecraft:chicken", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cooked Chicken", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cooked_chicken", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Rabbit", + "italic": false + } + } + ], + "name": "minecraft:rabbit", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cooked Rabbit", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cooked_rabbit", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Mutton", + "italic": false + } + } + ], + "name": "minecraft:mutton", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Cooked Mutton", + "italic": false + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:cooked_mutton", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Golden Apple", + "italic": false + } + } + ], + "name": "minecraft:golden_apple", + "weight": 16, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Melon Slice", + "italic": false + } + } + ], + "name": "minecraft:melon_slice", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Sweet Berries", + "italic": false + } + } + ], + "name": "minecraft:sweet_berries", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Cookie", + "italic": false + } + } + ], + "name": "minecraft:cookie", + "weight": 128, + "type": "item" + }, + { + "functions": [ + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Honey Bottle", + "italic": false + } + } + ], + "name": "minecraft:honey_bottle", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{Name:'{\"text\":\"Potion of Bursting Speed\",\"color\":\"aqua\",\"italic\":false}'},CustomPotionEffects:[{Id:1b,Amplifier:2b,Duration:200}],CustomPotionColor:3381759}" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Potion of Bursting Speed", + "italic": false + } + } + ], + "name": "minecraft:potion", + "weight": 12, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{Name:'{\"text\":\"Potion of Bursting Strength\",\"color\":\"red\",\"italic\":false}'},CustomPotionEffects:[{Id:5b,Amplifier:0b,Duration:200}],CustomPotionColor:11215908}" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Potion of Bursting Strength", + "italic": false + } + } + ], + "name": "minecraft:potion", + "weight": 12, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{Name:'{\"text\":\"Potion of Toxic Waste\",\"color\":\"green\",\"italic\":false}'},CustomPotionEffects:[{Id:19b,Amplifier:1b,Duration:300}],CustomPotionColor:3088471}" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Potion of Toxic Waste", + "italic": false + } + } + ], + "name": "minecraft:splash_potion", + "weight": 12, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{Name:'{\"text\":\"Potion of 1000 Thorns\",\"color\":\"green\",\"italic\":false}'},CustomPotionEffects:[{Id:7b,Amplifier:1b,Duration:1}],CustomPotionColor:32012}" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": false, + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Potion of 1000 Thorns", + "italic": false + } + } + ], + "name": "minecraft:splash_potion", + "weight": 12, + "type": "item" + }, + { + "functions": [ + { + "function": "set_nbt", + "tag": "{display:{Name:'{\"text\":\"Trollish Regeneration\",\"color\":\"dark_red\",\"italic\":false}'},CustomPotionEffects:[{Id:10b,Amplifier:2b,Duration:300}],CustomPotionColor:11215908}" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Trollish Regeneration", + "italic": false + } + } + ], + "name": "minecraft:splash_potion", + "weight": 6, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/random.json b/src/main/resources/data/flytre/loot_tables/random.json new file mode 100644 index 0000000..0a50ed1 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/random.json @@ -0,0 +1,33 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:food", + "weight": 5, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:resources", + "weight": 4, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/random", + "weight": 3, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:armor\/random", + "weight": 7, + "type": "minecraft:loot_table" + } + ], + "rolls": { + "min": 2, + "max": 4 + } + } + ], + "type": "minecraft:generic" +} diff --git a/src/main/resources/data/flytre/loot_tables/random_mid.json b/src/main/resources/data/flytre/loot_tables/random_mid.json new file mode 100644 index 0000000..58c836a --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/random_mid.json @@ -0,0 +1,33 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:food", + "weight": 3, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:resources", + "weight": 3, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/random_mid", + "weight": 5, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:armor\/random_mid", + "weight": 8, + "type": "minecraft:loot_table" + } + ], + "rolls": { + "min": 2, + "max": 4 + } + } + ], + "type": "minecraft:generic" +} diff --git a/src/main/resources/data/flytre/loot_tables/random_supply.json b/src/main/resources/data/flytre/loot_tables/random_supply.json new file mode 100644 index 0000000..df4d0fd --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/random_supply.json @@ -0,0 +1,76 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:weapons\/melee\/apex_axe", + "weight": 10, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/melee\/apex_sword", + "weight": 10, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/melee\/battleaxe", + "weight": 15, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/melee\/elite_sword", + "weight": 15, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/melee\/shield", + "weight": 15, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/ranged\/bow", + "weight": 15, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/ranged\/crossbow", + "weight": 10, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:weapons\/ranged\/trident", + "weight": 5, + "type": "minecraft:loot_table" + } + ], + "rolls": { + "min": 1, + "max": 2 + } + }, + { + "entries": [ + { + "name": "flytre:armor\/dark\/random", + "weight": 20, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:armor\/diamond\/random", + "weight": 15, + "type": "minecraft:loot_table" + }, + { + "name": "flytre:armor\/iron\/random", + "weight": 20, + "type": "minecraft:loot_table" + } + ], + "rolls": { + "min": 2, + "max": 3 + } + } + ], + "type": "minecraft:generic" +} diff --git a/src/main/resources/data/flytre/loot_tables/resources.json b/src/main/resources/data/flytre/loot_tables/resources.json new file mode 100755 index 0000000..c992afa --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/resources.json @@ -0,0 +1,309 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Stick", + "italic": false + } + } + ], + "name": "minecraft:stick", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Iron Ingot", + "italic": false + } + } + ], + "name": "minecraft:iron_ingot", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Diamond", + "italic": false + } + } + ], + "name": "minecraft:diamond", + "weight": 7, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Flint", + "italic": false + } + } + ], + "name": "minecraft:flint", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Feather", + "italic": false + } + } + ], + "name": "minecraft:feather", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Arrow", + "italic": false + } + } + ], + "name": "minecraft:arrow", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 5 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Coal", + "italic": false + } + } + ], + "name": "minecraft:coal", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 3 + } + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Snowball", + "italic": false + } + } + ], + "name": "minecraft:snowball", + "weight": 64, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Bottle o' Enchanting", + "italic": false + } + } + ], + "name": "minecraft:experience_bottle", + "weight": 32, + "type": "item" + }, + { + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Ender Pearl", + "italic": false + } + } + ], + "name": "minecraft:ender_pearl", + "weight": 7, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/apex_axe.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/apex_axe.json new file mode 100644 index 0000000..1194fc4 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/apex_axe.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 12.5, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.7, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Battle Axe", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "The legendary axe warriors", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "of old used this masterpiece.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_axe", + "weight": 1, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/apex_sword.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/apex_sword.json new file mode 100644 index 0000000..17dcdde --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/apex_sword.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 8.0, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -1.9, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "gold", + "text": "Apex Sword", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Only the top 1% of fighters", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "will ever call this their own.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§6§lLEGENDARY" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:diamond_sword", + "weight": 1, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/battleaxe.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/battleaxe.json new file mode 100644 index 0000000..d229024 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/battleaxe.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 10.0, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.8, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Battle Axe", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A battle axe used by", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "experienced warriors.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_axe", + "weight": 4, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/elite_sword.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/elite_sword.json new file mode 100644 index 0000000..88b91b5 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/elite_sword.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 6.5, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.0, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Elite Sword", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Any long-time fighter", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "has used one of these.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:iron_sword", + "weight": 4, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/fang.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/fang.json new file mode 100644 index 0000000..b77332c --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/fang.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 3.0, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -1.5, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Fang", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Any swordsman would just scoff", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "at this pathetic weapon.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:ghast_tear", + "weight": 128, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe.json new file mode 100644 index 0000000..6b5d310 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.015 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 6.5, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -3.0, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Lumber Axe", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "Meant for chopping wood,", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "not players.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:stone_axe", + "weight": 16, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe2.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe2.json new file mode 100644 index 0000000..1480835 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/lumber_axe2.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 8.0, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.9, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Lumber Axe II", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A slightly upgraded", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "lumber axe.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:stone_axe", + "weight": 8, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/random.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/random.json new file mode 100644 index 0000000..77c0b2f --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/random.json @@ -0,0 +1,75 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:weapons\/melee\/training_sword", + "weight": 100, + "type": "loot_table", + "quality": -25 + }, + { + "name": "flytre:weapons\/melee\/fang", + "weight": 70, + "type": "loot_table", + "quality": -10 + }, + { + "name": "flytre:weapons\/melee\/sword", + "weight": 40, + "type": "loot_table", + "quality": -5 + }, + { + "name": "flytre:weapons\/melee\/elite_sword", + "weight": 15, + "type": "loot_table", + "quality": 5 + }, + { + "name": "flytre:weapons\/melee\/apex_sword", + "weight": 3, + "type": "loot_table", + "quality": 8 + }, + { + "name": "flytre:weapons\/melee\/rookie_axe", + "weight": 100, + "type": "loot_table", + "quality": -25 + }, + { + "name": "flytre:weapons\/melee\/lumber_axe", + "weight": 80, + "type": "loot_table", + "quality": -15 + }, + { + "name": "flytre:weapons\/melee\/lumber_axe2", + "weight": 50, + "type": "loot_table", + "quality": -7 + }, + { + "name": "flytre:weapons\/melee\/battleaxe", + "weight": 16, + "type": "loot_table", + "quality": 6 + }, + { + "name": "flytre:weapons\/melee\/apex_axe", + "weight": 4, + "type": "loot_table", + "quality": 9 + }, + { + "name": "flytre:weapons\/melee\/shield", + "weight": 10, + "type": "loot_table", + "quality": 8 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/random_mid.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/random_mid.json new file mode 100644 index 0000000..28274a9 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/random_mid.json @@ -0,0 +1,75 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:weapons\/melee\/training_sword", + "weight": 50, + "type": "loot_table", + "quality": -25 + }, + { + "name": "flytre:weapons\/melee\/fang", + "weight": 50, + "type": "loot_table", + "quality": -10 + }, + { + "name": "flytre:weapons\/melee\/sword", + "weight": 50, + "type": "loot_table", + "quality": -5 + }, + { + "name": "flytre:weapons\/melee\/elite_sword", + "weight": 20, + "type": "loot_table", + "quality": 5 + }, + { + "name": "flytre:weapons\/melee\/apex_sword", + "weight": 4, + "type": "loot_table", + "quality": 8 + }, + { + "name": "flytre:weapons\/melee\/rookie_axe", + "weight": 50, + "type": "loot_table", + "quality": -25 + }, + { + "name": "flytre:weapons\/melee\/lumber_axe", + "weight": 50, + "type": "loot_table", + "quality": -15 + }, + { + "name": "flytre:weapons\/melee\/lumber_axe2", + "weight": 50, + "type": "loot_table", + "quality": -7 + }, + { + "name": "flytre:weapons\/melee\/battleaxe", + "weight": 24, + "type": "loot_table", + "quality": 6 + }, + { + "name": "flytre:weapons\/melee\/apex_axe", + "weight": 5, + "type": "loot_table", + "quality": 9 + }, + { + "name": "flytre:weapons\/melee\/shield", + "weight": 12, + "type": "loot_table", + "quality": 8 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/rookie_axe.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/rookie_axe.json new file mode 100644 index 0000000..32eba06 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/rookie_axe.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 4.75, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -3.0, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Rookie Axe", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "You'd have to pay someone to", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "buy this from you.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:wooden_axe", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/shield.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/shield.json new file mode 100644 index 0000000..ef5735a --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/shield.json @@ -0,0 +1,112 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resilient\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.max_health\",Name:\"generic.max_health\",Amount:8,Operation:0,UUIDLeast:215304,UUIDMost:417826,Slot:\"offhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Resilient\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"heavy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.max_health\",Name:\"generic.knockback_resistance\",Amount:0.5,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"offhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Heavy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"resisting\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Resistor\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"tempered\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Tempered\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"wither\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Withering\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Shield", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "It's all fun and games", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "until you get strafed.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:shield", + "weight": 5, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/sword.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/sword.json new file mode 100644 index 0000000..1e4b1e0 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/sword.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.02 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 5.5, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.2, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_green", + "text": "Sword", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A standard weapon", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "for amateurs.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§2§lUNCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:stone_sword", + "weight": 16, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/melee/training_sword.json b/src/main/resources/data/flytre/loot_tables/weapons/melee/training_sword.json new file mode 100644 index 0000000..0d7db9c --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/melee/training_sword.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"adrenaline\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Adrenaline\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Icy\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"knockback\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:knockback\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Knockback\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sharpness\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:sharpness\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sharpness\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"fiery\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Fiery\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"speedy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], AttributeModifiers:[{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:0.1,Operation:1,UUIDLeast:215304,UUIDMost:417826,Slot:\"mainhand\"}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Light\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 3.25, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.4, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "white", + "text": "Training Sword", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "For training purposes only.", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "Not for live combat.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§f§lCOMMON" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:wooden_sword", + "weight": 64, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/random.json b/src/main/resources/data/flytre/loot_tables/weapons/random.json new file mode 100644 index 0000000..d50f6a8 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/random.json @@ -0,0 +1,21 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:weapons\/ranged\/random", + "weight": 8, + "type": "loot_table", + "quality": 3 + }, + { + "name": "flytre:weapons\/melee\/random", + "weight": 100, + "type": "loot_table", + "quality": -10 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/random_mid.json b/src/main/resources/data/flytre/loot_tables/weapons/random_mid.json new file mode 100644 index 0000000..ab8e065 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/random_mid.json @@ -0,0 +1,21 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:weapons\/ranged\/random", + "weight": 20, + "type": "loot_table", + "quality": 3 + }, + { + "name": "flytre:weapons\/melee\/random_mid", + "weight": 100, + "type": "loot_table", + "quality": -10 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/ranged/bow.json b/src/main/resources/data/flytre/loot_tables/weapons/ranged/bow.json new file mode 100644 index 0000000..a881d71 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/ranged/bow.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"infinity\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:infinity\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Infinity\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"ender\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Warping\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"explosive\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Explosive\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"barbed\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Barbed\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sniper\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sniper\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"power\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:power\",\"lvl\": 2}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Powerful\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"punch\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:punch\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Punch\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"flame\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:flame\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Flame\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.1, + "name": "", + "attribute": "generic.movement_speed", + "slot": "mainhand", + "operation": "multiply_base" + }, + { + "amount": -0.1, + "name": "", + "attribute": "generic.movement_speed", + "slot": "offhand", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Bow", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A standard weapon used by rangers", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "and gladiators alike.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:bow", + "weight": 5, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/ranged/crossbow.json b/src/main/resources/data/flytre/loot_tables/weapons/ranged/crossbow.json new file mode 100644 index 0000000..df77a1a --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/ranged/crossbow.json @@ -0,0 +1,151 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"multishot\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:multishot\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Multishot\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"ender\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Warping\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"explosive\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Explosive\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"barbed\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Barbed\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"sniper\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Sniper\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"quickcharge\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:quick_charge\",\"lvl\": 2}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Quick Charge\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"piercing\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:piercing\",\"lvl\": 2}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Piercing\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.025 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": -0.1, + "name": "", + "attribute": "generic.movement_speed", + "slot": "mainhand", + "operation": "multiply_base" + }, + { + "amount": -0.1, + "name": "", + "attribute": "generic.movement_speed", + "slot": "offhand", + "operation": "multiply_base" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_purple", + "text": "Crossbow", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "A bow for those that need", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "a handicap.", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "lore": [ + "§5§lEPIC" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:crossbow", + "weight": 5, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/ranged/random.json b/src/main/resources/data/flytre/loot_tables/weapons/ranged/random.json new file mode 100644 index 0000000..9bfd2af --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/ranged/random.json @@ -0,0 +1,27 @@ +{ + "pools": [ + { + "entries": [ + { + "name": "flytre:weapons\/ranged\/bow", + "weight": 50, + "type": "loot_table", + "quality": 5 + }, + { + "name": "flytre:weapons\/ranged\/trident", + "weight": 100, + "type": "loot_table", + "quality": 0 + }, + { + "name": "flytre:weapons\/ranged\/crossbow", + "weight": 75, + "type": "loot_table", + "quality": 5 + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/flytre/loot_tables/weapons/ranged/trident.json b/src/main/resources/data/flytre/loot_tables/weapons/ranged/trident.json new file mode 100644 index 0000000..a27b978 --- /dev/null +++ b/src/main/resources/data/flytre/loot_tables/weapons/ranged/trident.json @@ -0,0 +1,151 @@ +{ + "pools": [ + { + "entries": [ + { + "functions": [ + { + "function": "set_nbt", + "tag": "{enchanted: false, HideFlags: 61, display:{Lore:[\"\"]}}" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"zeus\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}],display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Lightning\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"poisoned\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Venomous\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"icy\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:protection\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Barbed\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"riptide\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:riptide\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Riptide\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"impaling\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:impaling\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Impaling\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"cover_fire\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:fire_aspect\",\"lvl\": 1}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Covering Fire\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.035 + } + ] + }, + { + "function": "set_attributes", + "modifiers": [ + { + "amount": 7.0, + "name": "", + "attribute": "generic.attack_damage", + "slot": "mainhand", + "operation": "addition" + }, + { + "amount": -2.7, + "name": "", + "attribute": "generic.attack_speed", + "slot": "mainhand", + "operation": "addition" + } + ] + }, + { + "function": "set_name", + "name": { + "color": "dark_aqua", + "text": "Trident", + "italic": false + } + }, + { + "lore": [ + [ + { + "text": " " + } + ], + [ + { + "color": "gray", + "text": "What's that? You missed?", + "italic": true + } + ], + [ + { + "color": "gray", + "text": "Good luck without a weapon!", + "italic": true + } + ] + ], + "function": "minecraft:set_lore", + "replace": "false", + "entity": "this" + }, + { + "function": "set_nbt", + "tag": "{enchanted: false, ability: \"loyalty\", HideFlags: 61, Enchantments:[{\"id\":\"minecraft:loyalty\",\"lvl\": 2}], display:{Lore:[\"[{\\\"text\\\":\\\"Enchantment: \\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":false}, {\\\"text\\\":\\\"Loyalty\\\",\\\"italic\\\":false,\\\"color\\\":\\\"gold\\\"}]\",\"[{\\\"text\\\":\\\"\\\"}]\",\"[{\\\"text\\\":\\\"I. Am. Power!\\\",\\\"color\\\":\\\"gray\\\",\\\"italic\\\":false}]\"]}}", + "conditions": [ + { + "condition": "random_chance", + "chance": 0.25 + } + ] + }, + { + "lore": [ + "§3§lRARE" + ], + "function": "set_lore", + "replace": "false", + "entity": "this" + } + ], + "name": "minecraft:trident", + "weight": 9, + "type": "item" + } + ], + "rolls": 1 + } + ] +} diff --git a/src/main/resources/data/minecraft/tags/functions/load.json b/src/main/resources/data/minecraft/tags/functions/load.json new file mode 100644 index 0000000..0ef502e --- /dev/null +++ b/src/main/resources/data/minecraft/tags/functions/load.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "flytre:init_items", + "flytre:base_second", + "flytre:base_tick" + ] +} diff --git a/src/main/resources/data/minecraft/tags/functions/tick.json b/src/main/resources/data/minecraft/tags/functions/tick.json new file mode 100644 index 0000000..5f38065 --- /dev/null +++ b/src/main/resources/data/minecraft/tags/functions/tick.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "flytre:generic_base" + ] +}