Pozoj's Mechanization Skript [1.21] icon

Pozoj's Mechanization Skript [1.21] -----

The script utilizes machines for harvesting crops, chopping trees, mining ores and much more.




  • This update now includes full compatibility with SkBee 3.6.0+ and fully supports the new NBT system for version 1.21.
  • The option to adjust the operating speed of the machines has been added. The operating speed and filling speed are now separate.
  • FIXED: The Angler now correctly catches books as well.
Important: If you're still using SkBee 3.5.9, please use version 4.0.2.
----------, Sep 11, 2024

  • The functionality has been updated to prevent players from using the shift key while crafting Mechanization items, addressing previous issues related to shift-click crafting, such as item duplication or unintended behavior.
----------, Aug 28, 2024

  • Fixed: "on inventory click:" works better during crafting.
  • Modified: Max Pump Storage: from 1000 to 5000.
  • Modified: Generator Container Fill Rate: from 100 to 1000.
  • Added in Options: Pump Container Fill Rate: 10.
  • Fixed: The generator always empties, regardless of the amount of steam in it.
----------, Aug 26, 2024

  • Two new machines have been added: the Generator and the Tank. Containers for water, lava, and steam have been added also.

  • All machines, items, and parts are crafted on the crafting table, with recipes unlocking when certain materials are collected. The option to use custom heads or vanilla blocks for recipes is still available.

  • When setting up a machine, a structure is placed with a dispenser on the front side and a hopper behind if needed for the machine.

  • The way fuel is used has been modified again. Fuel is stored within the machine and remains inside after the machine is destroyed, just as before. The fuel is compatible with the previous version of the fuel, but you will likely need to set up the machine again. Steam is now used as fuel instead of lava. It is generated in the newly added Generator and stored in the Steam Container.

  • To refuel the machine, place the Steam Container into the dispenser within the machine while sneaking.

  • The method for locking machines has been slightly modified. Players now need to right-click to lock or unlock the machine while crouching.

  • The Elevator's operation has been slightly modified, as the lift area is now 3x3 blocks. The platform functions beneath all blocks of the elevator, covering the entire 3x3 area.

  • The issue with crafting backpacks and machines has been fixed, so you can no longer craft more than one machine or backpack at a time.

  • If TPS drops, the machines will automatically slow down to reduce resource strain.

  • Many changes have been made to the code, resulting in an approximately 30% increase in code size.
----------, Aug 5, 2024

  • BUG FIX - Experience Bottler bug fix.
  • The duplicate code has been removed.
----------, Apr 28, 2024

Update 3.1.1:
  • BUG FIX - There is no more free fuel in the Pump.
----------, Apr 13, 2024

  • The lava pump no longer requires storage to be placed above it to function. It stores lava in an internal tank. The pump can be used to fill machines by right-clicking on the pump in the machine interface. If there are empty buckets in the storage above the pump, they will be filled with lava. The maximum storage capacity in the internal tank is 6000, which can be changed in the settings.
  • Compatible with SkBee 3.4.3.
----------, Apr 7, 2024

  • BUG FIX - Forester no longer deletes items thrown into its area.
  • Added missing text to the GUI for the Breaker and Placer.
  • Corrected the command for Golden tools in the /pozoj command.
  • Accelerated operation of the Transmuter and Quarry.
  • The default fuel value of lava buckets has been increased from 15 to 20.
  • When using Vein Mine or Multi Block Mode, the chance of depleting the food bar has been reduced.
----------, Mar 17, 2024

  • The script now works on SkBee 3.4.1.
  • The sound when placing torches has been fixed.
  • Andesite, diorite, and granite are added as materials used in Placer and Breaker machines.
----------, Mar 15, 2024

  • The script now works on SkBee 3.4.0
  • The duplicate sound when placing torches has been removed.
  • Bug fix - Breaking crops with a hoe will break a 3x3 of them again.
----------, Mar 8, 2024

  • New data storage NBT system.
  • Global variables are no longer used except for setting teleporter locations, which are deleted upon destroying teleporters.
  • 85% of the code has been completely rewritten, and a lot of errors have been corrected.
  • The method of crafting machines has been changed so that all machines are now crafted on the crafting table, with recipes unlocking when certain materials are collected. The option to use custom heads or vanilla blocks for recipes is available.
  • When setting up a machine, a dispenser and furnace are placed. The furnace behind the dispenser serves as a power source, so now each machine operates independently.
  • The way fuel is used has been modified. Fuel is now stored within the machine and remains inside it after the machine is destroyed. The type of fuel remains the same but is now used differently.
  • The method of locking machines has been changed so that by default, all machines are locked, and keys are used to unlock machines or to lock chests, Shulker boxes, or barrels above them.
  • Bugs in Angler have been corrected, so drop percentages now function as intended. The issue with water bottles and enchanted books has been fixed.
  • Some materials have been added to Breaker and Placer.
  • The functionality of the Quarry has been changed so that there is now an option to mine all blocks within the machine's working area. If the Quarry encounters water or lava, it converts it into cobblestone.
  • The way the Loader operates has been changed.
  • When destroying a teleporter, coordinates are now deleted, preventing teleportation to the location from which the teleporter was removed.
  • An Elevator has been added. It consists of two parts: the machine placed atop the structure and the platforms serving as floors. The Elevator operates by placing the machine at the highest point, with waxed cut copper blocks used as platforms underneath it. If the Elevator is locked, only the owner can use it.
  • A Collector has been added. It gathers all materials within its working area.
  • A Nullifier has been added. It prevents mobs from naturally spawning within its area of effect and kills any mob that enters the area.
  • A command has been added, allowing players to obtain machines, tools, keys, and backpacks. Components for building machines and backpacks are not included in the command.
  • Backpacks (Bundles, if custom heads are not used) with 3x3 tools have been added, along with the Vein Miner and Tree Capitator functions.
  • Additional features have been added, including:
- The Health Display shows the health of mobs in the action bar.
- Fast Leaf Decay enables the almost instant disappearance of leaves after chopping down trees.
- Harvest Experience grants experience points when harvesting crops using hoes.
- Experience Bottler allows players to transfer their XP into glass bottles by left-clicking on the enchanting table.
- Natural Light Growth allows plants to grow only in daylight, specifically with a light level of 8 or higher.
- Inventory Totem allows direct usage from the inventory upon death if the option is true.
- Torch Placer allows players to place torches from their inventory by right-clicking a block while holding any tool.
----------, Feb 23, 2024

Considering that the first version had quite a few errors and didn't function properly, I decided to create a new version. The code has been rebuilt from scratch, taking up 62% less space. New features have been added, the creation process has been altered, a GUI has been added to each machine, and a manual book has been included in the game. Machines now operate on 'on dispense,' allowing multiple machines to work simultaneously. There's no longer a limit on how many machines can be created.

  • Rewritten code so machines will need to be reset and variables removed, so before upgrading I recommend first making a backup, removing existing devices, and then installing the update.

  • A recipe has been created for each machine using a dispenser. After placing all the necessary materials in a dispenser, exit the GUI, and the machine pops up above the dispenser.
  • An instruction book has been added, automatically given to every new player. If lost, a new book can be obtained by right-clicking a crafting table while crouching.
  • All machines can be placed in any direction except downward.
  • Each machine now has a GUI and inside it a book displaying brief information about functions.
  • Fuel is added within the GUI, and waypoints are selected (and deleted) for the Teleporter.
  • The fuel status displays the remaining time in seconds and indicates whether the machine is locked.
  • Machines operate on "on dispense," allowing many to work simultaneously without lag (tested with 100+ machines).
  • Accelerator functionality has changed.
  • Forester's (Tree Farm) working area is fixed to the same area for all tree types.
  • Annihilator (Mob Grinder) no longer leaves drops after killing mobs.
  • Angler (Fisher) functions on a 9x9 surface, requiring 30 water blocks to start fishing.
  • Loader (Chunk Loader) now holds chunks active when fueled. When out of fuel, the chunk is automatically unloaded.
  • Machines can be locked with a gold ingot and unlocked the same way. Chests, trapped chests, barrels, dispensers, or hoppers can also be locked.
  • Machine operation can be stopped via a redstone signal. Note: If the lever is not on the machine, activate the block behind it.
  • Placing a machine automatically creates an observer underneath, unbreakable while the machine is above.
  • Alongside the existing Mob Health Display, Fast Leaf Decay, Harvest Experience, and Natural Light Grow (latter disabled by default) have been added.
----------, Jan 7, 2024

  • The update is compatible with Minecraft version 1.20.4 and Skript 2.7.3.
  • The method of creating machines has been changed. Machines are created by placing the required material in the first dispenser slot and clicking on it with an observer. All previously placed machines, except the Teleporters, continue to function.
    Teleporter variables are cleared when the script is executed.
  • Creation of Block Breaker, Block Placer, Experience Extractor, Fluid Pump, Teleporters, Quarry, and Chunk Loader no longer depends on the orientation of the dispenser.
  • Growth Accelerator is now created by clicking on it with an observer.
  • Chunk Loader requires fuel to operate. The creation of the Chunk Loader has been modified. The Lodestone that was above the dispenser is now inside it. Other materials are not required.
  • Crops Farm for construction of the working surface, no longer uses a water bucket. Dirt or Soul sand must be in the second dispenser slot.
  • Fisher still needs a 3x3x1 area in front of it but one block lower than the dispenser (3x3x-1).
  • Tree Farm uses a 17x17x27 surface for all woods. Moss Carpet has been added to harvestable blocks.
  • Experience Extractor can now use an upgrade for speed.
  • Quarry no longer requires Cobblestone to operate.
  • Teleporters are created by placing chiseled stone bricks, quartz pillar or purpur pillar in the first dispenser slot.
  • Materials for upgrades have been changed.
    Silence armor trim smithing template - silence
    Netherite upgrade smithing template – speed
    Dune armor trim smithing template – grinder
  • If the material is removed from the first slot, machines do not use fuel, but the indicator still displays the fuel status.
  • With sneaking and right-clicking on the dispenser, information is displayed in the chat.
  • When crafting a crafting table, chest, barrel, dispenser, composter, or observer for the first time, text appears in the chat with a list of machines and additional information. The list is available later by typing the /pozoj command.
----------, Dec 22, 2023

  • Added an Experience Extractor that converts blocks and items into experience.
  • Added a Fluid Pump that fills empty buckets with lava.
  • In addition to wheat, potatoes, carrots, beetroots, torchflower, pitcher pod, nether wart, pumpkin, melon, and mushrooms you can also harvest sweet berries, cactus, and sugar cane.
  • A string and one of the nuggets or flint are no longer needed in the chest above the dispenser.
  • All fuel consumption times have been adjusted to match the burning time in a furnace.
  • Lava has been added as a fuel source. Now, in addition to coal, charcoal, and redstone, you can also use lava as fuel.
  • If the machine is within the range of an explosion, the explosion will not occur. If the source of the explosion is TNT, it will disappear.
----------, Oct 11, 2023

  • New compostable items have been added. These items can be inserted into the composter in two ways: manually or by using a hopper.
  • The machine can no longer be created if there is a hopper below the dispenser.
  • The hopper can no longer be placed under the dispenser if the dispenser is part of the machine.
  • The health of the armor stand is no longer displayed in the action bar.
  • Crops Farm items duplication fixed
----------, Sep 19, 2023

  • The fuel consumption fix (line 554 "...contains fishing rod and observer")
----------, Sep 17, 2023

  • The fuel consumption fix
  • Growth Accelerator hopper duplication fixed
----------, Sep 17, 2023

  • Added Mob Grinder. Only adult animals and monsters are killed
----------, Sep 17, 2023

  • Auto Shearer bug fix. Shearer now works.
----------, Sep 7, 2023

  • The fuel system has been reworked again.
  • The ability to use Redstone blocks, coal, coal blocks, and charcoal as fuel has been added.
  • Each type of fuel lasts differently, and when placed in the machine, it is automatically loaded and thus disappears from the machine’s inventory.
  • If the machine is destroyed, the fuel is reset to zero.
  • From now on, a visual indicator shows how long the machine will continue to work with the remaining fuel.
----------, Sep 6, 2023

  • Fixed a bug with the quarry, so now it mines instead of exchanging cobblestone for the ore.
  • Machines no longer eject their contents when receiving a redstone signal.
  • Block breaker with grinder upgrade converts cobbled deepslate into 2 cobblestones and deepslate into 2 stones.
  • Block placer places cobbled deepslate and deepslate.
----------, Sep 3, 2023

  • Added Shearer. Shearing works on sheep and chickens.
  • The tools in machines automatically wear out during operations.
  • Fuel is consumed less.
  • The ability to add a Speed upgrade to Fisher has been added.
  • The working area of Tree Farms has been slightly expanded again
----------, Aug 29, 2023

  • Rewritten code so machines will need to be reset and variables removed, so before upgrading I recommend first making a backup, removing existing devices, and then installing the update.
  • Slightly different requirements have been set for setting up machines, so now each dispenser must be filled first.
  • The ability to add upgrades to machines has been added, such as speeding up the Quarry, adding the Grinder function to the Block Breaker, and upgrading devices to perform silently.
  • Block Placer has been added.
  • Now it is visible in the chat what machine was built and what was destroyed.
  • Visual indicators for fuel status in machines have been added.
  • An action bar info has been added for living entities showing the amount of health.
  • Errors related to the Crops Accelerator have been corrected.
  • The Crops Accelerator no longer ejects Bonemeal when placing a Hopper above the full Composter.
  • An error related to the Chunk Loader has been corrected, so now all players can place it.
  • The working area of Tree Farms has been slightly expanded and lag during their operation has been reduced.
----------, Aug 23, 2023

  • Fisher has been added
  • A chunk Loader has been added
  • Some errors regarding Auto Tree Farm have been fixed
  • Tree Farm is now compatible with Fast Leaves Decay skript
----------, Aug 21, 2023

  • Added an element of randomness to the tree fertilization process
  • An error that was previously present in the fertilization process is corrected, and as a result, the fertilization process is now functioning as intended.
----------, Aug 19, 2023

  • The Tree Farm has been added
  • The Growth Accelerator can now be used on oak, spruce, birch, jungle, acacia, and dark oak saplings
  • The system for fueling machines has been reworked and now functions as intended
  • Only one Quarry is allowed per player
  • From now on, the dispenser must have the required material in its inventory in order to be able to create a machine when placing a chest
  • The material required to create a teleporter has been changed. From now on, 3 blocks are used, each from a different dimension


[​IMG]

[​IMG]

The Tree Farm will automatically plant and harvest all saplings in a 17x17 area around it (depending on the sapling). It uses Redstone as a fuel.

The Tree Farm is created by placing a chest above a horizontally facing Dispenser while the player is sneaking. The Farm must contain a Redstone, an observer, and a netherite axe before a chest is placed down. The saplings can be added to the dispenser afterward. The saplings for planting must be located in the chest above the dispenser.

Upgrades can be added to the machine. First, the Netherite Upgrade Smithing template must be added, and then a block of any wool for the machine to operate silently
----------, Aug 19, 2023

  • The system for fueling machines has been reworked
  • Fixed a bug related to Quarry so that it now correctly recognizes the Nether dimension and accordingly digging takes longer
  • Limited placement of Quarry to 1 per player, as well as Farm
    (Farm is subject to change after testing)
  • Set removal of all variables when removing the machine or when exiting the game
  • Halved the script loading time
  • Cleaned up the code and removed unnecessary lines
----------, Aug 15, 2023

  • Added Growth Accelerator
  • Quarry mine slower in the Nether now
  • Fixed an error with the inventory not checking if the chest has enough seeds.


[​IMG]

[​IMG]

When placed on farmland, it will speed up the growth of bonemealable crops within a 4x4 radius by bonemealing them. It does not use any fuel.

A Growth Accelerator can be created by crouching and placing a hopper above a Composter. When placed, it will speed up the growth of bonemealable crops within a 4x4 radius by bonemealing them. It also can bonemeal any tree. The items used for bonemealing will be pulled from the hopper placed above it. It does not use any Redstone.
----------, Aug 14, 2023

Resource Information
Author:
----------
Total Downloads: 2,869
First Release: Aug 13, 2023
Last Update: Sep 11, 2024
Category: ---------------
All-Time Rating:
0 ratings
Find more info at www.patreon.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings