COWMODSКаталог модов
Script Blocks

ВЕРСИИ (10)

alpha

0.0.10

0.0.10
25 окт. 2026 г.32Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.10 This update finishes the polishing pass started in the last update, at least for now. Some features require an update to modern Minecraft versions, which is the focus of the next update. All deprecated blocks still function like normal, but when they are placed in the world, they will send log (and optionally chat) messages with a warning and instructions on how to best replace them. Deprecated blocks will be removed eventually. ## Additions - the "predefined world spawn position" (set in the server config) now respects Spawn Point Delegation Blocks - added "Data Modification Block", has currently these functions: - add integer values to data when used like a "Data Relay Block" - perform modulo operation on data when used like a "Data Relay Block" - added location cooldowns - location entrances can define a cooldown which prevents players from entering a location using that entrance. The cooldown for a location is started automatically when the player dies while in a location or manually via the LocationCooldownStarterBlock. - added Location Cooldown Starter Block, this block starts the cooldown for all active locations of all players in a provided UUID List - added location reset item cost, defined by location (entrance) - added allow_regeneration boolean field to locations and location entrances. This enables the Location Reset button in the teleporter screen. - added block settings to toggle spawn effects and persistent entities to triggered (Villager) Spawner Blocks - added server config option for the tick interval of the Player Detector Block - added copper variants for the Script Blocks (trap)doors (Interactive Trigger, Teleporter, Use Relay) - added Interactive Trigger Soul Candle blocks, in 17 variants. These are functionally identical to the existing Interactive Trigger Candle blocks, but display soul flame particles and have a lower luminance. - added Interactive Trigger (Soul) Torch blocks - added Interactive Trigger (Soul) Lantern blocks - added "scriptblocks:prevent_interactions" data component, containing a list of strings. Some blocks can define a string. If the interacting player has at least one item with the component and the block given string is in the list, the player can't interact with that block. ### UUID List Handlers This new category of script blocks works with lists of UUIDs, namely the UUIDs of players. - added "UUID List Saving Block". This block saves a list of UUIDs. Other blocks can add to/remove from this list or read the current list. - added "UUID List Relay Block". Provides the same interactions as the "UUID List Saving Block", but relays them to another block at a configurable offset position instead. - added Two Areas Player Detector Block, triggers a block and sends a UUID list when a player enters a configured area, but only if the player was in another configured area before. When the direction is reversed, another block is triggered/receives the UUID list. - added "Status Effect Manipulation Block". When triggered, this block applies/removes/decrements amplifier of a status effect (tag) from a list of players provided by a UUID List Handler. Alternatively, a list can be provided directly to this block instead of relying on intermediate blocks. - added UUID List Messaging Block, sends a configurable message to all players in a received UUID List. The message can be displayed in chat, as overlay or as title. - added Triggering Respawn Anchor Block, sets the respawn position of all players in a received UUID List. When a player respawns, another block is triggered. ## Changes - changed id of "Jigsaw Placer Block" block entity from "scriptblocks:structure_placer_block" to "scriptblocks:jigsaw_placer_block". This happens automagically for already placed blocks using data fixers with help of the "Easy Data Fixer" mod. - fields in all custom data files were changed from "camelCase" to "snake_case". - replaced "(un)lock_advancement" fields with "unlock_predicate" field for locations and location entrances - all Interactive Trigger Block variants can now be triggered by other blocks - all Interactive Trigger Block variants now check for items with the "scriptblocks:prevent_interactions" data component - renamed "scriptblocks:removed_on_teleport" data component to "scriptblocks:removed_on_interactions" ### Boss Controller Block Rework - no longer defines an area - now gets the players engaged with the fight from a UUID List Handler - added block settings to toggle spawn effects and persistent boss entities ### Player Detector Block Rework - now triggers a block when a player leaves the area - also sends a UUID list of all entering/leaving players - the ticking area check can be disabled - when triggered, sends a UUID list of all players in the area and triggers a block when at least one player is in the area - is now a UUID List Handler, providing the players currently in its area ### Team Controller Block Rework - is now a UUID List Handler - when provided a list, the corresponding players are added to the current team - block ticking can now be disabled ### Teleporter Block Rework The Teleporter Block has become increasingly complex. This rework extracts some behaviour into other blocks - the Teleporter Block is no longer ticking and no longer defines an area. The "Portal Resistance" status effect is no longer used amd was removed - When triggered, the Teleporter Block now gets a UUID list from a UUID List Handler. - The Teleporter Block is now a UUID List Handler, when it receives a UUID list, the corresponding players are teleported/the teleporter screen opens. - the Teleporter Block now triggers another block before the teleport and a second block after the teleport - as usual, the block position offset etc. are configurable in the block's screen - UUIDs of teleported players (+ their teams if this is enabled) are now sent to a UUID List Handler block - as usual, the block position offset etc. are configurable in the block's screen - removed status effect removal/amplifier decrementing on teleporting. This behaviour can be restored by using the new "Status Effect Manipulation Block". - removed item removal on teleporting - added support for location cooldowns - direct block interactions now check for the "dimension owner only" setting - the creative mode screen now shows the "Access Position Offset" and the corresponding button only when the teleportation mode is set to "Locations" or "Location". This is done to make clear that other modes don't set the access position. - removed show_regenerate_button field from Teleporter Block Entity - added only_dimension_owner_can_teleport_message field to Teleporter Block Entity. This defines the message shown when only_teleport_dimension_owner is set to true and the player is not the dimension owner. - Teleporter Block now checks for items with the "scriptblocks:prevent_interactions" data component. The new prevent_interaction_identifier_string field defines the exact string to compare with the component. The new interaction_prevented_message field defines the message shown when the interaction is denied. - several improvements to the teleporter screen ### Triggered Damage Dealing Block Rework - is now a UUID List Handler - when provided a list, the corresponding players are getting damaged - when getting triggered, damages either all entities in the configured area or all players in the provided UUID list, depending on a new block setting ## Fixes - fixed JigsawPlacerBlock data saving ## Technical - migrated tracked data to data attachments
alpha

0.0.9

0.0.9
20 июл. 2026 г.200Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.9 This update marks the start of a polishing pass for the entire code base including a lot of refactoring and general house-keeping. This also includes the deprecation of several blocks. This has a variety of reasons. All deprecated blocks still function like normal, but when they are placed in the world, they will send log (and optionally chat) messages with a warning and instructions on how to best replace them. Deprecated blocks will be removed eventually. I will work on this process over multiple updates and the eventual removal of deprecated features will be announced well ahead of time. If you are using Script Blocks in a saved structure (using a Structure Block), it is recommended to resave that structure. ## Deprecations - deprecated Area Block - this block was one of the first blocks implemented in the mod, and it never really worked as intended - its functionality has since been split into several individual blocks (which work as intended), eg "Triggered Beacon Block", "Player Detector Block" - deprecated Entrance Delegation Block - this block was designed only to delegate location entrances specifically, but its functionality has proved to be very useful for other features. The replacement will have a more descriptive name and expanded functionality. - deprecated "Locked Use Relay Chest". Existing blocks should be replaced with the functionally identical "Trapped Use Relay Chest" or "Use Relay Chest" block. ## Polishing This includes: - block entity nbt fields were changed into "snake_case". This is happening automatically when a chunk with an already placed block is saved. - improvements to screens - small fixes and code clean up These blocks have been polished: - RelayTriggerBlock - TeamControllerBlock - JigsawPlacerBlock - including a rework of the data-driven appendices to the structure pool string, which are now a list of appendices. Existing blocks are converted automatically. - all "Use Relay Blocks" - Use Relay Blocks can now also be chained ## Additions - added "Spawn Point Delegation Block", the replacement for the deprecated "Entrance Delegation Block". Can delegate a spawn point randomly based on a list of saved positions. - added "Interactive Trigger Blocks" in candle form - added "Trapped Use Relay Chest", which replaces the deprecated "Locked Use Relay Chest". The new variant is functionally identical to the regular "Use Relay Chest", but uses the textures of the "Trapped Chest". - added API method for triggering/resetting a block position ## Changes - replaced "mimicDebugMode" game rule with server config option - small tweaks to the teleporter screen
alpha

0.0.8

0.0.8
9 мар. 2026 г.138Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.8 ## Additions - added "scriptblocks:removed_on_teleport" data component, which holds a list of strings - Teleporter Blocks can now remove status effects in a configurable tag on teleport (in addition to the existing "reduce level by 1" status effect tag) - Teleporter Blocks can now remove items from the player inventory on teleport - item stacks with the new "scriptblocks:removed_on_teleport" component are removed if the components string list contains a string specified by the Teleporter Block - added option to set the manual reset for Location Controller Blocks in their config screen - can be used to ensure that locations are reset when first visited, without the need for always resetting/player initialized reset before entering/complicated script block structures - added option to hide the "Cancel Teleport" button in the teleport screen - added "scriptblocks:adventure" status effect, players with this effect are under the same restrictions as if they were in adventure mode ## Changes - deprecated Lootable Vault Block and Interactive Loot Block - these block were extracted into a standalone mod - this includes all integration with the Lootables mod - existing blocks are still present, but several warning log messages were added and these blocks will be removed eventually - no longer depends on DimLib, the dynamic dimensions are now implemented using Fantasy (https://github.com/NucleoidMC/fantasy) - changed several mixin implementations to be more compatible - housing effects now affect players in survival mode
alpha

0.0.7

0.0.7
20 окт. 2025 г.134Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.7 ## Additions - "Boss Controller Block" can now trigger a block when no players are present in its defined area - added optional "triggersBlockWhenNoPlayersAround" boolean field to boss data files (false by default) - added "scriptblocks:interactive_key" data component, used to restrict several block interactions - added "Interactive Trigger Blocks" in door and trap door form ## Changes - "Boss Controller Block" no longer removes non-player entities in its defined area when reset. Use the "Triggered Entity Remover Block" for this instead. - Entrance Delegation Block now relays Triggered Spawner / Boss Controller Block spawn position - overhauled Use Relay Chest blocks, now use the new "interactive_key" feature and can trigger a block when opened ## Fixes - fixed "rollable" setting of Jigsaw Placer Block - fixed manual location reset in teleporter screen - fixed an issue where block entity data would not be updated when the block was rotated/mirrored - fixed several issues with the Boss Controller Block
alpha

0.0.6

0.0.6
14 окт. 2025 г.48Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.6 ## Additions - added Use Relay Lectern Block, another variant of the Use Relay Block - added Area Filler Block, when triggered fills a configurable area with a configurable block - added option to Teleporter Block to not teleport on tick, but when triggered - added option to Triggered Beacon Block to set applied effect duration - added Team Controller Block, creates configured team on trigger and adds entities in configured area to that team - added PVP Controller Block, controls player respawning during pvp battles, designed to work with RPG Inventory's "PVP Death" system - added data-driven 'PVP Arena Settings', used by the PVP Controller Block - added Triggered Damage Dealing Block, dealing configurable damage in a configurable area when triggered - added server config option to set world spawn to location entrance (note that the sky access requirement for the world spawn is still active) ## Changes - several data-driven features were restructured, see the test data for examples - the display order of location (entrance) names is now configurable - in addition to advancements, data (using Data Blocks) can now be used to (un)lock locations and dialogue answers - the force-loaded chunk area on location reset is now configurable in the LocationControllerBlock - overhauled the dialogue screen, allowing for greater customization by dialogues - the custom data location was moved from the "namespace/scriptblocks" to the "namespace" directory - visible, locked dialogue answer buttons are now inactive - "direct" teleport with Teleporter Block now works with Entrance Delegation Block - removed the "shouldJigSawGenerationBeDeterministic" and "shouldJigSawStructuresBeRandomlyRotated" server config options, as they are no longer needed ## Fixes - Jigsaw Placer Block no longer crashes the game when the specified template pool is not found - updating script blocks now properly resets them - structures placed by the JigsawPlacer block are now properly randomized - horizontal facing JigsawPlacer blocks now place the structure correctly (having proper test structures helps a lot) - fixed WorldLoadingScreen not showing when teleporting with Teleporter
alpha

0.0.5

0.0.5
20 мая 2025 г.129Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.5 - data-driven features refactor, items are now defined as itemStacks in the known format - added an optional additional dimension for public locations - added several new blocks - Player Detector Block, triggers another block when a player enters an area - Lootable Vault Block, a variant of the Vault Block that has integration for the 'Lootable' mod - Triggering Trial Spawner, a variant of the Trial Spawner, that can trigger blocks when changing the Trial Spawner State - Triggered Villager Spawner Block, a variant of the Triggered Spawner specifically for all entities that have VillagerData (has automatic support for mods that add villager professions or types) - Triggered Entity Remover Block, discards all non-player entities in an area when triggered - Triggered Dispenser Block, variant of the vanilla dispenser, but needs to be triggered, doesn't drop it's inventory and can't be interacted with in survival/adventure mode - Aesthetic Nether Portal, looks and sounds like a nether portal block, but is just aesthetic - Aesthetic Decorated Pot, looks like a decorated pot, but has no inventory and can't be smashed - Triggered Redstone Block, emits a redstone signal when triggered, has several states (signal strength, toggle/pulse) that change on (shift) right-click - added 'Fake Villager' entity type, looks and sounds like a villager, but has no AI and no default right-click interaction
alpha

0.0.4

0.0.4
5 мар. 2025 г.153Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.4 - added Teleporter(Trap)Doors, can be broken in survival and keep their settings - several small fixes
alpha

0.0.3

0.0.3
1 мар. 2025 г.124Minecraft: 1.21.1fabric
Скачать
Что нового
# 0.0.3 - updated to 1.21.1 - added (optional) compatibility with Lootables - now depends on Slot Customization API - now depends on Fzzy Config - removed dependency on AzureLib - removed dependency on Cardinal Components API - removed dependency on Cloth Config - lots of internal refactors, bug fixes and improvements, some highlights: - added "BossControllerBlock" and data-driven boss fights - added a series of "data blocks", that can save data in world and influence other script blocks - removed all custom mobs, TriggeredSpawner and BossController now work with every MobEntity - check the GitHub commits if you are interested in more details
alpha

0.0.2

0.0.2
30 мая 2024 г.451Minecraft: 1.20.1fabric
Скачать
Что нового
- added missing localization strings - added background gradient to all creative screens - added missing biome definitions
alpha

0.0.1

0.0.1
20 мая 2024 г.165Minecraft: 1.20.1fabric
Скачать
Что нового
First alpha release.\ Bugs and crashes are very possible.\ Make backups of your worlds or better, don't use this mod with existing worlds.\ Updates may make breaking changes!\ Feedback and bug reports are very appreciated!