Class GoldRenderer
java.lang.Object
com.wdiscute.starcatcher.shaders.GoldRenderer
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Map<net.minecraft.resources.Identifier, GoldRenderer.GoldTextureInstance> static final GoldRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getOrCreateEntity(net.minecraft.resources.Identifier loc, Function<net.minecraft.resources.Identifier, net.minecraft.client.renderer.rendertype.RenderType> renderTypeGetter) getOrCreateItem(net.minecraft.client.resources.model.geometry.BakedQuad quad) static net.minecraft.resources.IdentifiergetTextureLoc(net.minecraft.resources.Identifier resourceLoc)
-
Field Details
-
cache
-
INSTANCE
-
-
Constructor Details
-
GoldRenderer
public GoldRenderer()
-
-
Method Details
-
getTextureLoc
public static net.minecraft.resources.Identifier getTextureLoc(net.minecraft.resources.Identifier resourceLoc) -
getOrCreateItem
public GoldRenderer.GoldTextureInstance getOrCreateItem(net.minecraft.client.resources.model.geometry.BakedQuad quad) -
getOrCreateEntity
public GoldRenderer.GoldTextureInstance getOrCreateEntity(net.minecraft.resources.Identifier loc, Function<net.minecraft.resources.Identifier, net.minecraft.client.renderer.rendertype.RenderType> renderTypeGetter) -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-