
GriefPrevention3D
A fork of GriefPrevention that adds 3D subdivisions
Оцените первым
2.2K
4
Список изменений
GriefPrevention3D v18.0.6
Wiki: GriefPrevention3D Wiki
Highlights
- Java 8 Bytecode — The plugin now compiles to Java 8 bytecode (class version 52.0), allowing it to load on servers running Java 8. This resolves
UnsupportedClassVersionErroron 1.8.8 servers that cannot upgrade beyond Java 8.
Java 8 Migration
- Replaced all
List.of()/List.of(a)/List.of(a, b, c)withCollections.emptyList()/Collections.singletonList()/Arrays.asList() - Replaced all
Set.of()/Set.of(a)/Set.of(a, b)withCollections.emptySet()/Collections.singleton()/Collections.unmodifiableSet(new HashSet<>(Arrays.asList(...))) - Replaced all
Map.of()/Map.of(k, v)withCollections.emptyMap()/Collections.singletonMap() - Replaced all
Map.copyOf()andList.copyOf()withCollections.unmodifiableMap(new HashMap<>(...))andCollections.unmodifiableList(new ArrayList<>(...)) - Replaced
String.isBlank()withCompat.isBlank()(trim + isEmpty) - Replaced
String.repeat(n)withCompat.repeat()(StringBuilder loop) - Replaced
Files.writeString()andFiles.readString()withFiles.write()/Files.readAllBytes()+ String constructor - Replaced
FileReader(File, Charset)withInputStreamReader(new FileInputStream(file), charset) - Replaced
varwith explicit types - Replaced
@Deprecated(since = ...)/@Deprecated(forRemoval = true, ...)with plain@Deprecated - Created
Compatutility class (com.griefprevention.compat.Compat) forisBlank(),repeat()
Compatibility
| Category | Support |
|---|---|
| Minecraft Versions | 1.8.8 -> 26.1.x |
| Minimum Java | Java 8 |
| Bukkit API Target | 1.13 |
Migration
No data migration is required.
Existing claims, configs, and player data remain compatible.
Файлы
GriefPrevention3D.jar(754.06 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
18.0.6
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.8.8–26.1.2
Загрузок
38
Дата публикации
30.05.2026
