-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reload, and update functions now added, and fixed. Now it gives …
…you the configuration item once only, on your first join to the world loaded with this addon, added tacosfish entityTypes
- Loading branch information
Showing
45 changed files
with
709 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
execute as @s[hasitem={item=minecraft:fishing_rod}] run function AnglersDesire/reload | ||
execute as @s[hasitem={item=minecraft:fishing_rod}] run scriptevent yn:anglers dev_helper reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
scriptevent yn:anglers dev_helper update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
BP/scripts/custom_enchantment/available_custom_enchantments.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import { MyCustomItemTypes } from "fishing_system/items/custom_items"; | ||
import { CustomEnchantment } from "./custom_enchantment"; | ||
export class FishingCustomEnchantmentType { | ||
static get Nautilus() { | ||
return new CustomEnchantment({ | ||
icon: "textures/items/nautilus_hook", | ||
id: "Nautilus", | ||
itemID: MyCustomItemTypes.NautilusHook, | ||
name: "Nautilus Hook", | ||
description: "yn:fishing_got_reel.enchantments.nautilus.description", | ||
lore: "yn:fishing_got_reel.enchantments.nautilus.lore", | ||
level: 1, | ||
maxUsage: 75, | ||
conflicts: ["Pyroclasm Hook", "Fermented Hook"], | ||
}); | ||
} | ||
static get Luminous() { | ||
return new CustomEnchantment({ | ||
icon: "textures/items/luminous_siren_hook", | ||
id: "Luminous", | ||
itemID: MyCustomItemTypes.LuminousHook, | ||
name: "Luminous Hook", | ||
description: "yn:fishing_got_reel.enchantments.luminous.description", | ||
lore: "yn:fishing_got_reel.enchantments.luminous.lore", | ||
level: 1, | ||
maxUsage: 54, | ||
}); | ||
} | ||
static get Pyroclasm() { | ||
return new CustomEnchantment({ | ||
icon: "textures/items/pyroclasm_hook", | ||
id: "Pyroclasm", | ||
itemID: MyCustomItemTypes.PyroclasmHook, | ||
name: "Pyroclasm Hook", | ||
description: "yn:fishing_got_reel.enchantments.pyroclasm.description", | ||
lore: "yn:fishing_got_reel.enchantments.pyroclasm.lore", | ||
level: 1, | ||
maxUsage: 45, | ||
conflicts: ["Nautilus Hook"], | ||
}); | ||
} | ||
static get Tempus() { | ||
return new CustomEnchantment({ | ||
icon: "textures/items/tempus_hook", | ||
id: "Tempus", | ||
itemID: MyCustomItemTypes.TempusHook, | ||
name: "Tempus Hook", | ||
description: "yn:fishing_got_reel.enchantments.tempus.description", | ||
lore: "yn:fishing_got_reel.enchantments.tempus.lore", | ||
level: 1, | ||
maxUsage: 92, | ||
}); | ||
} | ||
static get FermentedEye() { | ||
return new CustomEnchantment({ | ||
icon: "textures/items/fermented_spider_eye_hook", | ||
id: "FermentedEye", | ||
itemID: MyCustomItemTypes.FermentedSpiderEyeHook, | ||
name: "Fermented Hook", | ||
description: "yn:fishing_got_reel.enchantments.fermentedeye.description", | ||
lore: "yn:fishing_got_reel.enchantments.fermentedeye.lore", | ||
level: 1, | ||
maxUsage: 60, | ||
conflicts: ["Nautilus Hook"], | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.