-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/zeta120' into zeta120
# Conflicts: # src/main/java/org/violetmoon/quark/base/client/config/QButtonHandler.java
- Loading branch information
Showing
630 changed files
with
8,583 additions
and
7,542 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
9=\# | ||
8=java | ||
7=javax | ||
6=vazkii | ||
6=org.violetmoon | ||
5=top | ||
4=org | ||
3=net | ||
|
20 changes: 10 additions & 10 deletions
20
src/main/java/org/violetmoon/quark/QuarkForgeCapabilities.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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
package org.violetmoon.quark; | ||
|
||
import net.minecraftforge.common.capabilities.Capability; | ||
import net.minecraftforge.common.capabilities.CapabilityManager; | ||
import net.minecraftforge.common.capabilities.CapabilityToken; | ||
|
||
import org.violetmoon.quark.api.ICustomSorting; | ||
import org.violetmoon.quark.api.IMagnetTracker; | ||
import org.violetmoon.quark.api.IPistonCallback; | ||
import org.violetmoon.quark.api.IRuneColorProvider; | ||
import org.violetmoon.quark.api.ITransferManager; | ||
|
||
import net.minecraftforge.common.capabilities.Capability; | ||
import net.minecraftforge.common.capabilities.CapabilityManager; | ||
import net.minecraftforge.common.capabilities.CapabilityToken; | ||
|
||
//TODO: put this somewhere in a Forge-only API package | ||
// TODO: put this somewhere in a Forge-only API package | ||
public class QuarkForgeCapabilities { | ||
public static final Capability<ICustomSorting> SORTING = CapabilityManager.get(new CapabilityToken<>(){}); | ||
public static final Capability<ICustomSorting> SORTING = CapabilityManager.get(new CapabilityToken<>() {}); | ||
|
||
public static final Capability<ITransferManager> TRANSFER = CapabilityManager.get(new CapabilityToken<>(){}); | ||
public static final Capability<ITransferManager> TRANSFER = CapabilityManager.get(new CapabilityToken<>() {}); | ||
|
||
public static final Capability<IPistonCallback> PISTON_CALLBACK = CapabilityManager.get(new CapabilityToken<>(){}); | ||
public static final Capability<IPistonCallback> PISTON_CALLBACK = CapabilityManager.get(new CapabilityToken<>() {}); | ||
|
||
public static final Capability<IMagnetTracker> MAGNET_TRACKER_CAPABILITY = CapabilityManager.get(new CapabilityToken<>(){}); | ||
public static final Capability<IMagnetTracker> MAGNET_TRACKER_CAPABILITY = CapabilityManager.get(new CapabilityToken<>() {}); | ||
|
||
public static final Capability<IRuneColorProvider> RUNE_COLOR = CapabilityManager.get(new CapabilityToken<>(){}); | ||
public static final Capability<IRuneColorProvider> RUNE_COLOR = CapabilityManager.get(new CapabilityToken<>() {}); | ||
} |
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
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
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
Oops, something went wrong.