▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Impatient Torch
Impatient Torch

Impatient Torch

Overclocks your blocks!

Оцените первым
1.3K
2
Все версии→Impatient Torch 0.1.0-1.21.1-neoforge

Impatient Torch 0.1.0-1.21.1-neoforge

Release16.02.2025

Список изменений

Changelog

Added

  • Message Registration:

    • Registered Messages class for managing server and client communication using PayloadRegistrar and PacketDistributor.

    • 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 onClientSetup method to handle client-side setup tasks using FMLClientSetupEvent.
    • Registered cutout render layers for all torch block variants (Normal, Medium, Small, Mini, and their compressed forms).
  • 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.
    • ItemReg:

      • Handles item registration for all torch types and sizes.
    • Torch Configurations:
      • Introduced NormalTorchScreen for 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.

  • Rework: Modular Utility Classes:

    • CallConstants: Utility class for consistent ResourceLocation creation using MODID.
    • ConfigSlider: A custom slider widget with adjustable ranges and dynamic text for configuration control.

Improved

  • Code Maintainability:

    • Modularized and consolidated content registration into separate Reg classes (e.g., BlockReg, EntityReg, ItemReg) for improved readability and scalability.
    • Refactored Messages for modular communication and simplified packet handling.
  • Customizability:

    • Enhanced configuration system via NormalTorchScreen and ConfigSlider.
    • Support for fine-tuning entity settings, ranges, and speeds directly within the UI.
  • Scalability:

    • Simplified the addition of new variants for torches (sizes, types) with the modularized registration and configuration system.

Файлы

impatient-0.1.0-1.21.1-neoforge.jar(185.46 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

0.1.0-1.21.1-neoforge

Загрузчики

NeoForge

Версии игры

1.21.1

Загрузок

48

Дата публикации

16.02.2025

Загрузил

ID версии

Главная