macbrayne / spawn-protection-tweaks Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
there are some issues if you are on fabric 1.18.1, i think it isn't compatibe yet.
Hi, i'll begin to post my findings here in order to make this more organized.
My players told me today that the end dimension was unusable, even though i didn't configured any restrictions there. Logs seems to tell that it is not reading the dimension when on end. For the meantime i rolled back to 0.3.
[21:38:19] [Server thread/FATAL]: Error executing task on Server
java.lang.NullPointerException: Cannot read field "advancedEventConfig" because the return value of "de.macbrayne.fabric.spawnprotectiontweaks.utils.ModConfig.getDimension(net.minecraft.class_3218)" is null
at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents$PlayerPermissions.lambda$static$4(PlayerEvents.java:85) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents$PlayerPermissions.isEnabled(PlayerEvents.java:108) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents.isAllowedAt(PlayerEvents.java:62) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
at de.macbrayne.fabric.spawnprotectiontweaks.events.PlayerEvents.onUseItem(PlayerEvents.java:54) ~[spawnprotectiontweaks-0.4.1+1.17.1.jar:?]
at net.fabricmc.fabric.api.event.player.UseItemCallback.lambda$static$0(UseItemCallback.java:42) ~[fabric-events-interaction-v0-0.4+e99fbe1218-d7e0e2833ced922b.jar:?]
at net.minecraft.class_3225.handler$zbj000$interactItem(class_3225.java:591) ~[server-intermediary.jar:?]
at net.minecraft.class_3225.method_14256(class_3225.java) ~[server-intermediary.jar:?]
at net.minecraft.class_3244.method_12065(class_3244.java:1086) ~[server-intermediary.jar:?]
at net.minecraft.class_2886.method_12550(class_2886.java:25) ~[server-intermediary.jar:?]
at net.minecraft.class_2886.method_11054(class_2886.java:7) ~[server-intermediary.jar:?]
at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[server-intermediary.jar:?]
at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?]
at net.minecraft.class_1255.method_18859(class_1255.java:151) ~[server-intermediary.jar:?]
at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:788) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:164) ~[server-intermediary.jar:?]
at net.minecraft.class_1255.method_16075(class_1255.java:125) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:770) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:764) ~[server-intermediary.jar:?]
at net.minecraft.class_1255.method_18857(class_1255.java:134) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:749) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:701) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
After installing the mod, players in survival mod weren't able to attack mobs or destroy/place blocks ANYWHERE in the dimension.
This was fixed by running "/spawnprotectiontweaks dimensions radius set (dimension) 0" in each dimension. This also added corresponding dimension groups into the spawnprotectiontweaks.json config file.
running 1.18.1 with fabric launcher 0.12.12
mod list: https://pastebin.com/dZu7s3t4
also the following error in the server console when trying to break blocks (before running the command): https://pastebin.com/40TrgreB
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.