Bump flywheel build
- New project slug - StitchedSprite changes
This commit is contained in:
parent
569975bc07
commit
7a4ed99fb5
4 changed files with 7 additions and 8 deletions
|
@ -139,10 +139,10 @@ dependencies {
|
|||
implementation fg.deobf(registrate)
|
||||
shade registrate
|
||||
|
||||
if (findProject(':Flywheel') != null) {
|
||||
implementation project(':Flywheel') // jozu: I use a gradle workspace with both projects
|
||||
if (findProject(':Flywheel-Forge') != null) {
|
||||
implementation project(':Flywheel-Forge') // jozu: I use a gradle workspace with both projects
|
||||
} else {
|
||||
implementation fg.deobf("com.jozufozu.flywheel:Flywheel:${flywheel_version}")
|
||||
implementation fg.deobf("com.jozufozu.flywheel:Flywheel-Forge:${flywheel_version}")
|
||||
}
|
||||
|
||||
compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}:api")
|
||||
|
@ -256,7 +256,7 @@ String getChangelogText() {
|
|||
// if (project.hasProperty('simi_curseforge_key')) {
|
||||
// apiKey = project.simi_curseforge_key
|
||||
// }
|
||||
//
|
||||
//
|
||||
// project {
|
||||
// id = project.projectId
|
||||
// changelog = System.getenv('CHANGELOG') == null || System.getenv('CHANGELOG').equals('none') ? getChangelogText() : System.getenv('CHANGELOG')
|
||||
|
|
|
@ -18,7 +18,7 @@ parchment_version = 2021.10.31
|
|||
|
||||
# dependency versions
|
||||
registrate_version = MC1.17.1-1.0.14
|
||||
flywheel_version = 1.17-0.3.0.15
|
||||
flywheel_version = 1.17-0.3.0.17
|
||||
jei_version = 8.2.0.36
|
||||
|
||||
# curseforge information
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
package com.simibubi.create;
|
||||
|
||||
import com.jozufozu.flywheel.core.AtlasStitcher;
|
||||
import com.jozufozu.flywheel.core.StitchedSprite;
|
||||
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
|
||||
public class AllStitchedTextures {
|
||||
|
||||
public static final StitchedSprite SUPER_GLUE = AtlasStitcher.getInstance().get(new ResourceLocation(Create.ID, "entity/super_glue/slime"));
|
||||
public static final StitchedSprite SUPER_GLUE = new StitchedSprite(new ResourceLocation(Create.ID, "entity/super_glue/slime"));
|
||||
|
||||
public static void init() {
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ public class GlueInstance extends EntityInstance<SuperGlueEntity> implements ITi
|
|||
float maxV;
|
||||
|
||||
if (USE_ATLAS) {
|
||||
TextureAtlasSprite sprite = AllStitchedTextures.SUPER_GLUE.getSprite();
|
||||
TextureAtlasSprite sprite = AllStitchedTextures.SUPER_GLUE.get();
|
||||
minU = sprite.getU0();
|
||||
maxU = sprite.getU1();
|
||||
minV = sprite.getV0();
|
||||
|
|
Loading…
Reference in a new issue