Adjusted the spawn rate and gave a config setting that can be changed in the config/ingame config for the spawn rate, updated the loader versioning from the neoforge 21.1.72 to 21.1.118 to be closer to the latest
Adjusted the spawn rate and gave a config setting that can be changed in the config/ingame config for the spawn rate, updated the loader versioning from the forge 52.0.24 to 52.0.53 to be closer to the latest
Fixed: Screen scrolling where when you scrolled you couldnt click on or change the configs.
Updated: Changed the recipe to be more like the original recipes.
Added: redstone function to the Main Torches to be able to turn them off to match with the Mob Torches.
Brought up to date with the neoforge verstion Fixed Scrolling Issue: Added a scroll bar on the side to address cases where the mouse wheel didn't work for some users Torch Improvement: Updated the flame sprite on torches to better match their designs. New Torch Entities: Added two new torch types: Hostile Mob Torches and Passive Mob Torches. These new torches also include the existing tier system: Small: Covers a 5x5 area. Medium: Covers a 7x7 area. Normal: Covers a 9x9 area.
- Fixed Scrolling Issue: Added a scroll bar on the side to address cases where the mouse wheel didn't work for some users
- Torch Improvement: Updated the flame sprite on torches to better match their designs.
- New Torch Entities: Added two new torch types: Hostile Mob Torches and Passive Mob Torches.
- These new torches also include the existing tier system:
- Small: Covers a 5x5 area.
- Medium: Covers a 7x7 area.
- Normal: Covers a 9x9 area.
- These new torches also include the existing tier system:
Changelog
Added
-
Message Registration:
-
Registered
Messagesclass for managing server and client communication usingPayloadRegistrarandPacketDistributor. -
Methods:
sendToServer: Sends packets from client to server.sendToPlayer: Sends packets from server to specific players.
-
Built on NeoForge's
RegisterPayloadHandlersEvent.
-
-
Client Setup Enhancements:
- Added
onClientSetupmethod to handle client-side setup tasks usingFMLClientSetupEvent. - Registered cutout render layers for all torch block variants (
Normal,Medium,Small,Mini, and their compressed forms).
- Added
-
Modular Content Registration:
-
EntityReg:- Registers block entities for all torch types and their wall-mounted variants, including compressed versions.
-
BlockReg:- Efficient management of torch blocks and their wall-mounted variants via
DeferredRegister.
- Efficient management of torch blocks and their wall-mounted variants via
-
ItemReg:- Handles item registration for all torch types and sizes.
-
-
- Torch Configurations:
- Introduced
NormalTorchScreenfor managing base torch entity settings when activated in the configuration. - Features:
-
Adjustable X & Z range slider directly within the screen.
- Y range adjustments remain disabled unless explicitly enabled in the configuration.
-
Torch speed is determined by the configuration and cannot be changed via the screen.
-
Sliders and settings are only accessible if the feature is activated in the configuration.
-
Utilizes a grid-based layout for scalable and modular UI design.
-
- Introduced
- Torch Configurations:
-
Rework: Modular Utility Classes:
CallConstants: Utility class for consistentResourceLocationcreation usingMODID.ConfigSlider: A custom slider widget with adjustable ranges and dynamic text for configuration control.
Improved
-
Code Maintainability:
- Modularized and consolidated content registration into separate
Regclasses (e.g.,BlockReg,EntityReg,ItemReg) for improved readability and scalability. - Refactored
Messagesfor modular communication and simplified packet handling.
- Modularized and consolidated content registration into separate
-
Customizability:
- Enhanced configuration system via
NormalTorchScreenandConfigSlider. - Support for fine-tuning entity settings, ranges, and speeds directly within the UI.
- Enhanced configuration system via
-
Scalability:
- Simplified the addition of new variants for torches (sizes, types) with the modularized registration and configuration system.
Updated to have support for the Farming Block!
fixed issue with recipes and lootTables not loading and fixed dup bug when lootTables were fixed!
Fixed an issue where when the torch is broken it didnt drop the item!
ported to forge
inital upload



