generated from kappa-maintainer/1.12.2-FG6-Template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3b8b68
commit 8c6021c
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
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
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
18 changes: 18 additions & 0 deletions
18
src/main/java/com/cleanroommc/fugue/transformer/logisticpipes/LogisticsPipesTrigger.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.cleanroommc.fugue.transformer.logisticpipes; | ||
|
||
import net.minecraft.launchwrapper.Launch; | ||
import top.outlands.foundation.IExplicitTransformer; | ||
|
||
public class LogisticsPipesTrigger implements IExplicitTransformer { | ||
@Override | ||
public byte[] transform(byte[] bytes) { | ||
try { | ||
Launch.classLoader.findClass("logisticspipes.network.packets.routingdebug.RoutingUpdateUntrace"); | ||
Launch.classLoader.findClass("logisticspipes.network.packets.modules.SupplierPipeMode"); | ||
Launch.classLoader.findClass("logisticspipes.network.packets.pipe.FluidSupplierMinMode"); | ||
Launch.classLoader.findClass("logisticspipes.network.abstractguis.ModuleCoordinatesGuiProvider"); | ||
Launch.classLoader.findClass("logisticspipes.network.guis.upgrade.SneakyUpgradeConfigGuiProvider"); | ||
} catch (ClassNotFoundException ignored) {} | ||
return bytes; | ||
} | ||
} |