-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Showing
14 changed files
with
228 additions
and
23 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,5 @@ public enum TraitEventType { | |
ENTITY_DAMAGED, | ||
PLAYER_DAMAGED, | ||
TICK, | ||
RIGHT_CLICK | ||
INTERACT | ||
} |
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
48 changes: 48 additions & 0 deletions
48
.../io/github/sefiraat/slimetinker/items/tinkermaterials/setup/TinkersMaterialsNetworks.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,48 @@ | ||
package io.github.sefiraat.slimetinker.items.tinkermaterials.setup; | ||
|
||
import io.github.sefiraat.slimetinker.items.tinkermaterials.TinkerMaterial; | ||
import io.github.sefiraat.slimetinker.utils.Ids; | ||
import io.github.sefiraat.slimetinker.utils.SkullTextures; | ||
import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
@SuppressWarnings("SpellCheckingInspection") | ||
public final class TinkersMaterialsNetworks { | ||
|
||
private TinkersMaterialsNetworks() { | ||
throw new UnsupportedOperationException("Utility Class"); | ||
} | ||
|
||
private static final Map<String, TinkerMaterial> CM_MAP = new HashMap<>(); | ||
|
||
private static final TinkerMaterial MOLTEN_PRESENCE = new TinkerMaterial(Ids.MOLTEN_PRESENCE, SlimefunItem.getById("NTW_INTERDIMENSIONAL_PRESENCE").getItem(), "#15ab26") | ||
.setLiquidTexture(SkullTextures.ALLOY_GREEN) | ||
.setFormBlock("NTW_INTERDIMENSIONAL_PRESENCE") | ||
.build(); | ||
|
||
private static final TinkerMaterial REMOTININIUM = new TinkerMaterial(Ids.REMOTININIUM, SlimefunItem.getById("NTW_REMOTE_PRISTINE").getItem(), "#acacac") | ||
.setLiquidTexture(SkullTextures.ALLOY_SILVER) | ||
.setFormBlock("NTW_REMOTE_PRISTINE") | ||
.build(); | ||
|
||
private static final TinkerMaterial ULTIMANINIUM = new TinkerMaterial(Ids.ULTIMANINIUM, SlimefunItem.getById("NTW_REMOTE_ULTIMATE").getItem(), "#acacac") | ||
.setLiquidTexture(SkullTextures.ALLOY_SILVER) | ||
.addAlloyRecipe( | ||
MOLTEN_PRESENCE.getLiquidItemStack(1), | ||
REMOTININIUM.getLiquidItemStack(2) | ||
) | ||
.setTraitArmorLinks(Traits.NTW_UTLIMANINIUM) | ||
.build(); | ||
|
||
static { | ||
CM_MAP.put(Ids.MOLTEN_PRESENCE, MOLTEN_PRESENCE); | ||
CM_MAP.put(Ids.REMOTININIUM, REMOTININIUM); | ||
CM_MAP.put(Ids.ULTIMANINIUM, ULTIMANINIUM); | ||
} | ||
|
||
public static Map<String, TinkerMaterial> getCmMap() { | ||
return CM_MAP; | ||
} | ||
} |
Oops, something went wrong.