Commit Graph

72 Commits

Author SHA1 Message Date
WinDanesz ae7064f5be fix: more potion effect desync fixed 2026-05-12 15:12:13 +00:00
WinDanesz ba71f2ae4a feat: Prevent crystal flowers from growing on client-side when bonemeal is used on grass. Fixes #907 2026-05-11 02:23:26 +02:00
WinDanesz 9a58332bf6 feat: Sneak clicking items place them in bookshelves. Sneak clicking a bookshelf with an empty hand removes items from the bookshelf 2026-05-11 02:00:24 +02:00
WinDanesz 5ac053ddd9 feat: Regenerating Shrines. The following config options were added:
- 'shrineRegenerationEnabled': Whether conquered shrines should regenerate after a period of time. Regeneration means wizards and loot will spawn again after a while.
      - 'shrineRegenerationTime': Time in minutes for a conquered shrine to regenerate.
      - 'shrineAllowMultipleLoot': Whether players can loot shrines multiple times. If false, each player can only loot each shrine once.
      When shrineRegenerationEnabled, Shrine chests behave a bit differently - upon defeating all wizards, the chest breaks immediately dropping or not dropping loot based on shrineAllowMultipleLoot. When shrineRegenerationEnabled, the shrine's altar block is unbreakable.
2025-08-31 17:39:22 +02:00
WinDanesz c166bac323 fix: convertToStatue shouldn't run on the clientside 2025-03-28 22:13:58 +01:00
Electroblob77 299510e663 Add armour classes!
- Added 3 new armour variants - the sage, the battlemage and the warlock - each in the 8 elemental varieties
- Added resplendent thread, crystal silver plating and ethereal crystalweave, used to upgrade regular armour into class armour
- Added the new armour upgrades to loot tables
- Added recipes for the new armour to JEI, along with info pages for the 3 upgrade items
- Added advancements for the new armour classes
- Removed legendary wizard armour
- Removed arcane seal of protection
- Removed the 'legendary' advancement
2021-01-16 23:02:03 +00:00
Electroblob77 55bb40a684 Copy contents of imbuement altar to new tile entity when activated or deactivated, fixes #576 2020-12-20 00:02:10 +00:00
Electroblob77 3d3806c20b Prevent receptacles dropping on neighbour change when attached to an imbuement altar, fixes #520 2020-11-03 01:08:11 +00:00
Electroblob77 55bcd92860 Replace dummy criteria with proper generic imbuement altar criterion 2020-10-23 14:48:02 +01:00
Electroblob77 62c7b6b7bb Fix imbuement altar not dropping its contents 2020-10-23 14:13:26 +01:00
Electroblob77 35ac115e8b Change imbuement altar face shapes back to how they should be and give receptacles a special case for attachment 2020-10-23 14:13:09 +01:00
Electroblob77 77d9bfc772 Blast modifier support for permafrost, plus various fixes and an attempt at slipperiness 2020-10-23 13:06:54 +01:00
Electroblob77 29617451d8 Add permafrost spell and fix dry frosted ice not being very icy 2020-10-23 01:22:28 +01:00
Electroblob77 d5d933b4e6 Add dire wolf pelt 2020-10-03 00:54:20 +01:00
Electroblob77 2f91573284 Block protection compat overhaul
- Unifies all block protection checks into helper methods in BlockUtils which trigger all the necessary forge events and vanilla methods
- Implements these checks in all the appropriate places and removes calls to EntityUtils#canDamageBlocks(...) where they are no longer needed
- Changes the mine spell to respect the config settings in line with the rest of the spells
- Fixes earthquake not respecting the settings at all
- Adds a separate config option for dispenser block damage and updates the description for the existing settings to reflect the changes
2020-09-23 00:57:55 +01:00
Electroblob77 ea4e07b2c9 Add ability to restore ruined spell books with the imbuement altar
For now this ignores dust elements but may change this in future
2020-09-14 15:37:05 +01:00
Electroblob77 ac14c8f931 Add ruined spell book item (usage will be added later) 2020-09-06 23:24:36 +01:00
Electroblob77 9d8b0b3a90 Add advancements for library update features 2020-08-01 23:24:33 +01:00
Electroblob77 fa0875e63b Add library ruins
- Adds two variants of library ruins: surface (generates in forested biomes) and underground (generates everywhere)
- Adds loot table support to bookshelves
- Adds antique atlas markers for library ruins
- Adds bookshelves and lecterns to the wood type template processor
- Makes bookshelves and lecterns rotate correctly in structure templates
- Generalises most of the methods in WorldGenSurfaceStructure to a new superclass WorldGenWizardryStructure
2020-07-13 16:51:01 +01:00
Electroblob77 7013cffeaa Allow scrolls to be placed in bookshelves and add in-world textures for them 2020-07-07 00:19:36 +01:00
Electroblob77 e6696a1758 Add comparator output for receptacles 2020-06-24 16:01:56 +01:00
Electroblob77 33c5f79ed7 Add archivist's eyeglass and spectral tether, plus some improvements to teleportation 2020-06-23 22:09:06 +01:00
Electroblob77 3a5a97c6b9 Add potency modifier support for forest of thorns 2020-06-19 21:03:35 +01:00
Electroblob77 6aacebcc74 Stop setting the block each tick to make thorns grow and do it properly in the tile entity and getActualState
Also fixes ownerless thorns not dealing damage and removes knockback
2020-06-19 20:46:46 +01:00
Electroblob77 c842fef2f7 Remove unnecessary tile entity from upper thorn blocks, and reminder to do the same for statue blocks 2020-06-19 16:37:03 +01:00
Electroblob77 f7f9190227 For some reason getTotalWorldTime isn't incrementing client-side in some cases when the doDaylightCycle is off, so replace them with alternatives wherever possible
What's really weird is sometimes it works just fine, even in client-side stuff
2020-06-18 16:20:10 +01:00
Electroblob77 8e8e249426 Add imbuement altar
- Adds imbuement altar block and associated tile entity
- Adds basic functionality for imbuing wizard armour (other stuff to be decided)
- Incorporates imbuement altar into glowing overlay model event (this could do with being tidied up and generalised)
- Adds a TESR for the ray effect (based on some of the oldest code in the entire mod, which definitely needs improving!)
- Adds a simple sound effect for the imbuement process, needs upgrading to a ticked sound later
2020-06-17 23:44:02 +01:00
Electroblob77 238b9d04bb Split up and reorganise WizardryUtilities 2020-06-13 23:29:01 +01:00
Electroblob77 6696be59a4 Allow crystal flowers to be placed in flower pots 2020-05-22 16:43:24 +01:00
Electroblob77 1275f1d31f Add remnants 2020-05-21 18:40:01 +01:00
Electroblob77 94a17a63c1 Sync tile entity when book texture changes 2020-05-16 22:24:14 +01:00
Electroblob77 48a350b63a Allow any book to be placed in a bookshelf
- Modifies the bookshelf model and blockstate to choose a texture dynamically based on the book item
- Changes bookshelf slots to accept all books from wizardry and vanilla minecraft by default
- Adds a couple of hooks to allow addons to register their own book items and model textures
- Adds a config option to allow modpack makers to add more book items
2020-05-15 22:52:32 +01:00
Electroblob77 a97abd26d0 Add receptacles 2020-05-11 18:42:00 +01:00
Electroblob77 301ec86c27 Add comparator behaviour to bookshelves 2020-04-22 17:14:21 +01:00
Electroblob77 4980beea87 Wooden things are now more wooden 2020-04-14 18:42:50 +01:00
Electroblob77 91b2ee1a13 Merge branch '1.12.2' into 4.3-dev 2020-04-14 17:41:33 +01:00
Electroblob77 c622158818 Fix syncing of everything 2020-04-12 18:35:30 +01:00
Electroblob77 b3fd39c42c Add config options for bookshelf blocks and bookshelf search radius 2020-04-10 22:42:31 +01:00
Electroblob77 c5b5172481 Add lecterns 2020-04-08 00:16:12 +01:00
Electroblob77 586840aa53 Add safety checks to prevent itemblocks with invalid metadata turning into invalid blockstates, fixes #382
(Because *some* mod authors are not very careful...)
2020-03-31 21:42:16 +01:00
Electroblob77 c161a74d73 Add bookshelf interface to arcane workbench
Implements the main functionality:
- Access bookshelves from within the workbench
- Search by spell name, tier, element and type
- Sort by tier, element or alphabetically, ascending or descending
- Three-way shift-clicking support
- Automatic return of books to bookshelves when wand is removed
2020-03-31 21:33:10 +01:00
Electroblob77 004c4c09e3 Add bookshelves 2020-03-25 14:29:27 +00:00
Electroblob77 3f80c56163 Add gilded wood 2020-03-01 13:04:15 +00:00
Electroblob77 275f514810 Substitute generic damage when caster is null, fixes #362 2020-02-22 11:12:14 +00:00
Electroblob77 d6b64b3576 Move !world.isRemote check to just the block breaking, potentially fixes #359 2020-02-19 21:32:54 +00:00
Electroblob77 9ade6442b2 Add config option to turn off growing crystal flowers with bonemeal, closes #308 2019-12-16 15:53:32 +00:00
Electroblob77 74345d0c3b Check if list is empty after removing current location, fixes #307 2019-12-16 12:18:46 +00:00
Electroblob77 fbecce0543 Fix spectral block lighting and make it full brightness 2019-09-03 17:18:20 +01:00
Electroblob77 960d97de49 Prevent IndexOutOfBoundsException when clicking an already-remembered stone circle, fixes second crash in #217 2019-09-02 16:03:40 +01:00
Electroblob77 f37812be3e That's one heck of a commit you've got there...
I may have got a bit behind with version control. A lot behind, in fact. Maybe I'll go back and split this sometime - then again, I probably won't. But hey, at least it's here!
2019-08-18 00:04:18 +01:00