Package com.supermartijn642.fusion.model
Class SpriteIdentifierImpl
java.lang.Object
com.supermartijn642.fusion.model.SpriteIdentifierImpl
- All Implemented Interfaces:
SpriteIdentifier
Created 30/04/2023 by SuperMartijn642
-
Constructor Summary
ConstructorsConstructorDescriptionSpriteIdentifierImpl(net.minecraft.client.resources.model.Material material) SpriteIdentifierImpl(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation texture) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetAtlas()net.minecraft.resources.ResourceLocationnet.minecraft.client.resources.model.Material
-
Constructor Details
-
SpriteIdentifierImpl
public SpriteIdentifierImpl(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation texture) -
SpriteIdentifierImpl
public SpriteIdentifierImpl(net.minecraft.client.resources.model.Material material)
-
-
Method Details
-
getAtlas
public net.minecraft.resources.ResourceLocation getAtlas()- Specified by:
getAtlasin interfaceSpriteIdentifier
-
getTexture
public net.minecraft.resources.ResourceLocation getTexture()- Specified by:
getTexturein interfaceSpriteIdentifier
-
toMaterial
public net.minecraft.client.resources.model.Material toMaterial()- Specified by:
toMaterialin interfaceSpriteIdentifier
-