This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ExampleEventListener.EVENT.register(outerEvent -> { | |
if (event.parameter.isDoingIt) { | |
outerEvent.setPayload(innerEvent -> { | |
innerEvent.parameter.doTheThingWith(outerEvent.world); | |
}); | |
return EventResult.EXECUTE; | |
} | |
return EventResult.CANCEL; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ExampleEventListener.EVENT | |
.registerDeterminator((parameter) -> { | |
if (parameter) | |
return CANCEL; | |
else | |
return EXECUTE; | |
}) | |
.registerPayload((parameter) -> { | |
parameter.world.killSomebody(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[17:48:25] [main/INFO]: Loading for game Minecraft 1.14.3 | |
[17:48:26] [main/WARN]: Non-mandatory unsatisfied dependencies! | |
- Mod roughlyenoughitems recommends mod {cloth-config @ [>=0.1.0]}, which is missing! | |
[17:48:26] [main/INFO]: [FabricLoader] Loading 43 mods: fabric-networking-blockentity-v0@0.1.1+25fd0c52, fabric-renderer-api-v1@0.1.1+9486cfbf, fabric-keybindings-v0@0.1.1+7dfef87c, modmenu@1.6.3+build.101, jankson@1.0.0+j1.1.2, libcd@1.2.0+1.14.2, fabricloader@0.4.8+build.155, cotton-resources@1.2.2+1.14.2, cotton@0.8.2+1.14.2, fabric-renderer-indigo@0.1.9+9486cfbf, fabric-containers-v0@0.1.2+25fd0c52, fabric-biomes-v1@0.1.0+896c7fbb, cotton-datapack@1.0.0-rc.1, fabric-events-interaction-v0@0.1.0+59147463, roughlyenoughitems@2.9.6+build.139, fabric-crash-report-info-v1@0.1.0+59147463, vivatech@${version}, libgui@1.1.0, libblockattributes@0.4.7, fabric-api-base@0.1.0+59147463, fabric-rendering-v0@0.1.1+6dad974e, cotton-energy@1.5.0+1.14.3, fabric-rendering-data-attachment-v1@0.1.0+02a46d5b, fabric-resou |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "Client thread" [16:38:08] [main/INFO]: [STDERR]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
[16:38:08] [main/INFO]: [STDERR]: at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:172) | |
[16:38:08] [main/INFO]: [STDERR]: at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:129) | |
[16:38:08] [main/INFO]: [STDERR]: at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26) | |
[16:38:08] [main/INFO]: [STDERR]: Caused by: java.lang.reflect.InvocationTargetException | |
[16:38:08] [main/INFO]: [STDERR]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
[16:38:08] [main/INFO]: [STDERR]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
[16:38:08] [main/INFO]: [STDERR]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
[16:38:08] [main/INFO]: [STDERR]: at java.base/java.lang.reflect.Method. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[13:35:44] [Server thread/ERROR]: Failed to reload data packs | |
java.util.concurrent.ExecutionException: java.lang.NullPointerException | |
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) ~[?:1.8.0_212] | |
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) ~[?:1.8.0_212] | |
at net.minecraft.server.MinecraftServer.reloadDataPacks(MinecraftServer.java:1446) [minecraft-1.14.3-mapped-net.fabricmc.yarn-12.jar:?] | |
at net.minecraft.server.MinecraftServer.loadWorldDataPacks(MinecraftServer.java:431) [minecraft-1.14.3-mapped-net.fabricmc.yarn-12.jar:?] | |
at net.minecraft.server.integrated.IntegratedServer.loadWorld(IntegratedServer.java:75) [minecraft-1.14.3-mapped-net.fabricmc.yarn-12.jar:?] | |
at net.minecraft.server.integrated.IntegratedServer.setupServer(IntegratedServer.java:94) [minecraft-1.14.3-mapped-net.fabricmc.yarn-12.jar:?] | |
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:602) [minecraft-1.14.3-mapped-net.fabricmc.yarn-12.jar:?] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double double_17 = doubles_1[int_8 * 4 + 0]; | |
double double_18 = doubles_1[int_8 * 4 + 1]; | |
double double_19 = doubles_1[int_8 * 4 + 2]; | |
int int_11 = Math.max(MathHelper.floor(double_17 - double_16), int_1); | |
int int_12 = Math.max(MathHelper.floor(double_18 - double_16), int_2); | |
int int_13 = Math.max(MathHelper.floor(double_19 - double_16), int_3); | |
int int_14 = Math.max(MathHelper.floor(double_17 + double_16), int_11); | |
int int_15 = Math.max(MathHelper.floor(double_18 + double_16), int_12); | |
int int_16 = Math.max(MathHelper.floor(double_19 + double_16), int_13); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id "fabric-loom" version "0.2.4-SNAPSHOT" apply false | |
id "com.jfrog.artifactory" version "4.9.0" apply false | |
} | |
def minecraft = "1.14.3" | |
def mappings = "1.14.3+build.12" | |
def loader = "0.4.8+build.155" | |
//Publishing details |
NewerOlder