Список изменений
Fixed
-
Fixed enum-based block property cycling in
cycleValue()- Previously, enum properties such as
facing,axis,half,shape,hinge,instrument,attachment,orientation, androtationwere not processed correctly and returned unchanged values. - This caused most block interactions (doors, stairs, rails, logs, furnaces, etc.) to not respond to right-click state changes.
- Previously, enum properties such as
-
Fixed missing invocation of
allowBlockState()inPermission.java- Permission checks for
nerfstick.use.minecraft.<block>.<property>were not enforced at runtime. - As a result, players could modify any block property regardless of permissions.
- Permission checks for
-
Fixed crash in
allowBlockState()for blocks without explicit namespace- Added safe parsing to prevent
ArrayIndexOutOfBoundsException.
- Added safe parsing to prevent
Changed
-
Refactored block state cycling system using
BlockStateUtil-
Replaced manual property handling with reflection-based detection of Bukkit/Paper state interfaces:
DirectionalOrientableBisectedAgeableLevelledPowerableMultipleFacing
-
Automatically resolves valid enum values via
getEnumConstants().
-
-
Improved handling of multi-face block states
- Proper support for blocks such as fences, glass panes, and similar structures using
MultipleFacing#setFaceinstead of generic enum cycling.
- Proper support for blocks such as fences, glass panes, and similar structures using
-
Changed block update behavior
- Replaced
block.setBlockData(data, false)withblock.setBlockData(data, true) - Ensures correct physics and neighbor updates (doors, rails, redstone components).
- Replaced
Added
-
Added soft dependency support in
plugin.yml:- WorldGuard
- GriefPrevention
- Ensures correct load order for region protection integration.
-
Added update checker (optional)
-
Sources:
- Modrinth (
nerfstick-remastered) - GitHub Releases (
AREKKUZZERA/nerfstick)
- Modrinth (
-
Runs asynchronously
-
Does not perform automatic updates
-
Configurable via
check-for-updatesinconfig.yml -
Admin-only notification on player join
-
Файлы
Nerfstick-1.0.5.jar(20.19 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.5
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
3
Дата публикации
19.06.2026

