generated from FabricMC/fabric-example-mod
-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
30 changed files
with
68 additions
and
135 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
Binary file not shown.
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Binary file not shown.
32 changes: 32 additions & 0 deletions
32
src/main/java/de/rubixdev/enchantedshulkers/ClientMod.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
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
38 changes: 1 addition & 37 deletions
38
src/main/java/de/rubixdev/enchantedshulkers/SpriteAtlasStorage.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,43 +1,7 @@ | ||
package de.rubixdev.enchantedshulkers; | ||
|
||
import com.google.common.collect.ImmutableList; | ||
import java.util.List; | ||
import java.util.stream.Stream; | ||
import net.fabricmc.api.EnvType; | ||
import net.fabricmc.api.Environment; | ||
import net.minecraft.client.texture.SpriteAtlasTexture; | ||
import net.minecraft.client.util.SpriteIdentifier; | ||
import net.minecraft.util.Identifier; | ||
|
||
@Environment(EnvType.CLIENT) | ||
public class SpriteAtlasStorage { | ||
public static final Identifier CLOSED_CONTAINERS_ATLAS_TEXTURE_ID = | ||
new Identifier("enchantedshulkers:textures/atlas/closed_containers.png"); | ||
public static final SpriteIdentifier CLOSED_ENDER_TEXTURE_ID = new SpriteIdentifier( | ||
CLOSED_CONTAINERS_ATLAS_TEXTURE_ID, new Identifier("enchantedshulkers:entity/chest/closed_ender")); | ||
public static final SpriteIdentifier CLOSED_SHULKER_TEXTURE_ID = new SpriteIdentifier( | ||
CLOSED_CONTAINERS_ATLAS_TEXTURE_ID, new Identifier("enchantedshulkers:entity/shulker/closed_shulker")); | ||
public static final List<SpriteIdentifier> CLOSED_COLORED_SHULKER_BOXES_TEXTURE_IDS = Stream.of( | ||
"white", | ||
"orange", | ||
"magenta", | ||
"light_blue", | ||
"yellow", | ||
"lime", | ||
"pink", | ||
"gray", | ||
"light_gray", | ||
"cyan", | ||
"purple", | ||
"blue", | ||
"brown", | ||
"green", | ||
"red", | ||
"black") | ||
.map(string -> new SpriteIdentifier( | ||
CLOSED_CONTAINERS_ATLAS_TEXTURE_ID, | ||
new Identifier("enchantedshulkers:entity/shulker/closed_shulker_" + string))) | ||
.collect(ImmutableList.toImmutableList()); | ||
public static SpriteAtlasTexture closedContainersAtlasTexture = | ||
new SpriteAtlasTexture(CLOSED_CONTAINERS_ATLAS_TEXTURE_ID); | ||
} | ||
public class SpriteAtlasStorage {} |
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
57 changes: 0 additions & 57 deletions
57
src/main/java/de/rubixdev/enchantedshulkers/mixin/client/ModelLoaderMixin.java
This file was deleted.
Oops, something went wrong.
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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