-
Notifications
You must be signed in to change notification settings - Fork 9
Changelog
Starting from version 0.6.0, I'll document the changes made to the project here.
I am too lazy to include all the previous versions (sorry!), but going forward, I'll keep this updated with each new release. 🎉
[1.4.0] - 16-08-2025 - 1.20.1/1.21.1
- Added support for block drops: added support for block loot tables for loot restrictions.
- Added server staging: added server staging support for dimension restrictions.
- Completely rewrite of ore restrictions: ore restrictions were completely rewritten, this includes color mapping, support for items, changed render type, destroy speed, face rendering and so on.
- New command: new command for ore restrictions.
-
New command: new
astages_utilscommands. - New properties for ore restrictions: added a way to lock all states of a block for ore restrictions.
- New configs: added custom configs for restrictions.
- Custom whitelist: new whitelist for containers (by default, only Barrels and Chests are whitelisted).
- Plugins: global support for attributes attachment.
- Solved bug: solved a bug which prevents simple ore restrictions command to work as expected.
- Solved bug: solved a bug which prevents simple ore restrictions to be reload correctly.
- Solved bug: solved a bug which removes enchantments from enchanted books/items.
- Solved bug: solved a bug which prevents structure data to be stored correctly.
- Solved bug: solved bug which prevents command for structure type to work correctly.
- Solved bug: solved bug which prevents command for armor type to work correctly.
- Solved bug: solved bug which displays incorrect tooltip for armor restrictions.
- Solved bug: solved stage synchronisation with clients.
- Solved bug: solved a bug which prevents custom stages from appear in the suggestion list.
- New Type Wrapper: added type wrapper for ATime class.
- Solved bug: solved a bug using inControl mod.
- Solved bug: solved bug using vanilla crafter. (1.21.X only).
- Solved bug: solved bug using FastWorkbench mod. (1.21.X only).
- Solved bug: solved bug which prevents containers to work as expected.
This build includes experimental features that MUST be manually actived.
[1.3.0] - 01-07-2025 - 1.20.1/1.21.1
-
New
removecommand: addedremovecommands for simple restrictions. Wiki -
New
astages handcommand: added and info command for item restrictions. -
Added
setHiddenNamemethod: addedsetHiddenNamemethod for item restrictions. Wiki - Dynamic add/delete: finally completely supported dynamic add/delete operations and client synchronization for all restrictions.
- Server stages managing: added KubeJS methods to manipulate server stages. Wiki
- Command blacklist: added command blacklist for region restrictions. Wiki
- Plugin manager: brand new way to develop plugins for AStages using first-party methods.
- Create: Schematicannon integration: an addon will be released soon. #32
- New restriction: brand new loot restrictions. #27 Wiki
- Loot and item/mob integration: you will be able to create a loot restriction directly from item/mob restriction already developed. Wiki
- Screen restrictions additions: added custom checker for screen restrictions. Wiki
- Curios integration: an addon will be released soon.
- New properties: added new properties for mob restriction to prevent interaction and attack. Wiki
- Pufferfish Skills compatibility: an addon will be released soon. #24
- New customisation methods: brand new methods for the customisation of singular stages. Wiki
- New Discord Server: check CurseForge page to get more info.
- Server staging: added server stages support for structure restrictions.
-
Container check: added containers check for item restrictions with new property,
setCanBeStoredInContainers.
-
markAsDirtymethod: nowmarkAsDirtymethod works as expected. - Suggestion list: now a suggestion list will be showed for simple restrictions to prevent error during id typing.
- Solved bug: solved a bug which prevents correct input/output setup for mechanical arm (Create mod). #18
- Solved bug: solved a bug which doesn't clear crafting table for a restricted recipe. #33
- Solved bug: solved a bug which prevents ore restrictions to be reloaded correctly.
- Solved bug: solved a bug which shows an empty chat message after add/remove stage operations.
- Solved bug: solved a bug which shows restricted items/recipes in Jei after server reload.
- Solved bug: solved a bug which prevents simple restrictions to work correclty after server reload.
[1.2.2] - 19-04-2025 - 1.21.1
- Solved bug: fixed a bug which prevented world from loading correctly if mob restrictions were used. (Thanks Mr.Guasto)
- Solved bug: solved a crash that occurred after the player attempted to enter a restricted dimension. #25
- Solved bug: fixed a bug which allowed mob spawning even thought that type was restricted.
- Solved bug: fixed a bug which didn't show unrestricted tooltip in jade for mob restrictions.
[1.2.2] - 19-04-2025 - 1.20.1
- Solved bug: fixed a bug which didn't show unrestricted tooltip in jade for mob restrictions.
[1.2.1] - 18-04-2025 - 1.21.1
- Solved bug: fixed a bug about owner set which prevent recipe restrictions from working as excepted.
[1.2.0] - 17-04-2025 - 1.21.1
Added - WIKI
- Added Timers for Dimension Restriction: a fantastic way to limit access to a dimension just after timer expires.
- New property for Mobs: a complete refractor of mob restrictions.
- New Region Restriction and support for Server Staging: lock a region of the world by using this brand new restriction.
- New Client Info command: added a command to get stages in the current client.
- Stonecutter recipe support: added support for stonecutter menu.
- Complete rewrite of Recipe Restrictions: rewrite from the foundations.
- Speed up Dimension Restrictions: dimension restrictions optimised.
- Optimised Item Restrictions: empty stacks ignored.
- Optimised Tooltip handling: now tooltips get is ignored during JEI startup.
- Solved bug: solved a bug that didn't show recipe in JEI correctly.
- Solved bug: fixed a bug which didn't manage correctly server staging.
- Solved bug: solved a bug which didn't set correctly the color of unfamiliar items in JEI and JADE.
- Solved bug: solved a bug which brought items to not be stacked correctly in player inventory. #20
- Solved bug: fixed crash with Cold Sweat. #17
- Solved bug: fixed crash using Recipe Restrictions. #23
- Solved bug: fixed crash using Mob Restrictions. (Thanks MrGuasto.)
- Solved bug: fixed crash which throw an error about config after world reload.
- Solved bug: fixed crash which throw an error after adding a stage.
[1.2.0] - 17-04-2025 - 1.20.1
Added - WIKI
- Added Timers for Dimension Restriction: a fantastic way to limit access to a dimension just after timer expires.
- New property for Mobs: a complete refractor of mob restrictions.
- New Region Restriction and support for Server Staging: lock a region of the world by using this brand new restriction.
- New Client Info command: added a command to get stages in the current client.
- Stonecutter recipe support: added support for stonecutter menu.
- Complete rewrite of Recipe Restrictions: rewrite from the foundations.
- Speed up Dimension Restrictions: dimension restrictions optimised.
- Optimised Item Restrictions: empty stacks ignored.
- Optimised Tooltip handling: now tooltips get is ignored during JEI startup.
- Solved bug: solved a bug that didn't show recipe in JEI correctly.
- Solved bug: fixed a bug which didn't manage correctly server staging.
- Solved bug: fixed crash with Cold Sweat. #17
- Solved bug: fixed crash with Radium Reforged. #19 #21
- Solved bug: fixed crash with Canary. #21
- Solved bug: fixed crash with Lithium.
[1.1.0] - 07-03-2025 - 1.21.1
- Added support for Crafter: 1.21 added crafter as new auto-crafting table, so in this version it's supported.
-
Method rename
AStages#getPlayerCapability(player)->AStages#getPlayerData(player): change made to be in line with the new semantics.
[1.1.0] - 07-03-2025 - 1.20.1
- Added Models: new model system for predicate restrictions added.
- New property for Dimensions: bidirectional now works as excepted, also added a new leave message property.
- Server staging: a brand new way to add stages! WIKI
- New Structure Behaviour: if a restriction enables players to place blocks, now those ones are normally breakable and not restricted just because in the structure bounding box.
- Performance boost: speed up JEI hiding/showing for item restriction.
-
Changed method signature:
AStages#addRestrictionForPredicate(id, stage, predicate)->AStages#addRestrictionForPredicate(id, stage, model). -
Changed method:
AStages#addRestrictionForTag(id, stage, tag, ignoredItems)->AStages#addRestrictionForTag(id, stage, tag).ignoreItems(items). -
Changed method:
AStages#addRestrictionForMod(id, stage, mod, [ignoredItems], [ignoredTags])->AStages#addRestrictionForMod(id, stage, mod).ignoreItems(items).ignoreTags(tags).
- Solved bug: solved different bugs! (And as many introduced...)
[1.0.1] - 01-02-2025
- Solved bug: solved a weird bug when player right/left clicks blocks.
[1.0.0] - 01-02-2025
- Mob Restriction reworked: new methods for mob restriction: here.
- New methods in Item Restriction: new methods for handling better tags and blacklists, check wiki for more info!
- New Utils methods: wiki.
- New Recipe Restriction method: added possibility to natively perform restriction to all mod recipes. (Thanks mum's spaghetti!)
- New methods for Structure Restriction: with new methods, developers can now allow players to interact with allowed blocks and entities. (Thanks acr0matic!)
- Efficiency update: efficient update for nearly every restriction (Items still in development). (Thanks Holla!).
- Solved bug: solved different bugs related to structure.
- Solved bugs: different bugs solved. (I don't remember them...).
[0.9.0] - 18-01-2025
- All old methods: re-add all previous methods (and prefer it!). (Thanks Holla for the help).
- Added blacklist for tag in tag restriction method: added tag blacklist (and not only item). #8. (Thanks squidman0307).
- Added new properties for mob restriction: see wiki for more info. (Thanks mum's spaghetti).
- Added new properties for item restriction: see wiki for more info, in particular block interaction method.
- New Utils methods and wiki section: again, see wiki for more info.
- Updated wiki: wiki.
- Solved bug: that doesn't re-add stages correctly to player after end teleporting #9 (Thanks squidman0307).
- Solved bug: reload for custom stages now works correctly. (Thanks ION).
[0.8.0] - 2025-01-09
- Tons of changes done at the core of the mod: please see the wiki for more info!
-
addRestrictionForArmormethod: this method now supports multiple items through variadic parameter.
- Solved bug: fixed a bug that did not allow the furnace status to be updated correctly.
- Solved bug: solved a bug which didn't allow the correct updating of inventory/equipment item restriction properties.
- Solved bug: fixed a bug which didn't re-render client world after script reloading.
- Solved bug: solved a bug which didn't reload ore restrictions correctly.
- Solved bug: fixed a bug which didn't correctly check player inventory when a different container was opened.
- Solved bug: finally solved THE bug that didn't allow the correct copying of stages after death.
[0.7.0] - 2025-01-01
- Enchant Restriction: restrict enchanting table, anvil enchants and enchantments in player inventory thanks to this new restriction.
-
Added Campfire Recipe Support: added support for
minecraft:campfire_smokingrecipe type. -
Added Smithing Recipe Support: added support for
minecraft:smithingrecipe type. -
Added Crafting Shaped and Shapeless Support: added support for
minecraft:craftingrecipe type.
Remember that AStages mod adds support only for vanilla recipe types: for modded ones check Recipe Machine Stage mod by @Sixik.
-
Removed
canBlockBeUsed: completely removedcanBlockBeUsedproperty/getter/setter from AItemRestriction. -
Added
canItemBeRightClicked: added newcanItemBeRightClickedproperty/getter/setter in AItemRestriction. -
Added
canItemBeLeftClicked: added newcanItemBeLeftClickedproperty/getter/setter in AItemRestriction. - Rewriting of Structure Restriction: see wiki for more info!
- Another Improvement for Item Restriction Inventory Checking: now restrictions are checked only for the slot that effectively changes. (Not like ticking used in first versions or whole inventory checking until 0.6.1).
- Structure Restriction via commands: structure restriction via commands now works as intended.
- Solved bug: solved a bug that doesn't show hidden tooltip of an item over hotbar.
- Solved bug: solved a bug which made items disappear in player inventory after block placing.
- Solved bug: solved a bug that prevented structure restrictions from reloading correctly.
- Solved bug: solved a bug that doesn't transfer stages after death.
-
Solved bug: solved a bug that doesn't set the target of
/astages infocommand correctly.
[0.6.1] - 2024-12-24
- Added properties for Structure restriction: structure restriction now has properties like any other type to ensure better customisation.
- Moved Mekanism recipe restriction to an addon: I'm excited to annouce the second addon for AStages: AStagesMekanism for compatibility between these two mods! (Mod under approval)
- Solved bug: solved a bug that prevent from disappearing message after block destroying. Issue #5
- Solved bug: solved a bug that doesn't synchronise changes to the client after placing a block restricted.
HAPPY CHRISTMAS! 🎄🎅
[0.6.0] - 2024-12-07
- Complete server compatibility: items, ores and recipes are now synchronized with clients to support the amazing world of community servers.
- Introduced Recipe restrictions: a brand new way to lock recipes by their id. (For now only smelting, mod support with addons!)
- Added In Control! integration: self explanatory, maybe?!
- Add restrictions with commands: a new way to add recipe via commands. (Not tested entirely) WIKI
- Introduced Structure restrictions: limit player access to structure and other features!
- Introduced Crop restrictions: limit crops growth! (Now checked the nearest player)
- Introduced Effect restrictions: limit effects that player can have!
- Moved Create recipe restriction to an addon: I'm excited to annouce the first addon for AStages: AStagesCreate for compatibility between these two mods!
Documentation:
-
Restrictions
- Crop
- Dimension
- Effect
- Enchant
- Item (Old)
- Loot
- Mob
- Ore
- Pet
- Recipe
- Region
- Screen
- Structure -
Addons
- Curios API
- Pufferfish Skill's -
Simple Restrictions (via commands)
Brand new and intuitive way to add restriction! -
Developers
- Plugin
- Restrictions
- Simple Restrictions
- Stage System
- Utils -
Q&A
A place where questions are on the agenda! -
Changelogs
Changelogs since 0.6.0 version! -
What's Happened? (FLOP!)
New code formatting is coming!