Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package dev.redstudio.alfheim.lighting;

// stub class to appease javac
public class LightingEngine {
}
6 changes: 6 additions & 0 deletions src/main/java/gregtech/api/util/world/DummyWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import net.minecraftforge.fml.common.Optional.Method;
import net.minecraftforge.fml.relauncher.FMLLaunchHandler;

import dev.redstudio.alfheim.lighting.LightingEngine;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -116,4 +117,9 @@ public int getLightFromNeighborsFor(EnumSkyBlock type, BlockPos pos) {
public int alfheim$getLight(BlockPos pos, boolean checkNeighbors) {
return 15;
}

@Method(modid = Mods.Names.ALFHEIM)
public LightingEngine getAlfheim$lightingEngine() {
return null;
}
}
Loading