Class Sheets
java.lang.Object
net.minecraft.client.renderer.Sheets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RenderTypestatic final Identifierprivate static final RenderTypestatic final SpriteIdstatic final SpriteMapperstatic final SpriteIdstatic final Identifierprivate static final Map<Identifier, SpriteId> static final SpriteMapperstatic final Identifierprivate static final SpriteId[]static final SpriteMapperstatic final SpriteMapperstatic final Identifierstatic final MultiblockChestResources<SpriteId> static final MultiblockChestResources<SpriteId> static final MultiblockChestResources<SpriteId> static final MultiblockChestResources<SpriteId> static final MultiblockChestResources<SpriteId> static final SpriteMapperstatic final MultiblockChestResources<SpriteId> static final Identifierstatic final MultiblockChestResources<SpriteId> private static final RenderTypeprivate static final RenderTypeprivate static final RenderTypestatic final SpriteIdstatic final SpriteMapperstatic final Identifierstatic final SpriteIdstatic final Map<ResourceKey<DecoratedPotPattern>, SpriteId> static final SpriteIdstatic final SpriteIdstatic final Identifierstatic final SpriteMapperstatic final SpriteMapperstatic final Identifierstatic final Identifierstatic final SpriteIdstatic final SpriteIdstatic final SpriteMapperstatic final SpriteIdstatic final Identifierprivate static final Map<Identifier, SpriteId> static final SpriteMapperstatic final Identifierstatic final SpriteMapperstatic final Identifierprivate static final RenderTypeprivate static final RenderTypeprivate static final RenderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddWoodType(WoodType woodType) Not threadsafe.static RenderTypearmorTrimsSheet(boolean decal) static SpriteIdchooseSprite(ChestRenderState.ChestMaterialType materialType, ChestType type) static IdentifiercolorToResourceSprite(DyeColor color) static IdentifiercolorToShulkerSprite(DyeColor color) static SpriteIdcreateBedSprite(DyeColor color) private static SpriteIdstatic SpriteIdcreateShulkerSprite(DyeColor color) private static SpriteIdcreateSignSprite(WoodType type) static RenderTypestatic RenderTypestatic RenderTypestatic SpriteIdgetBannerSprite(Holder<BannerPattern> pattern) static SpriteIdgetBedSprite(DyeColor color) static @Nullable SpriteIdgetDecoratedPotSprite(@Nullable ResourceKey<DecoratedPotPattern> pattern) static SpriteIdgetHangingSignSprite(WoodType type) static SpriteIdgetShieldSprite(Holder<BannerPattern> pattern) static SpriteIdgetShulkerBoxSprite(DyeColor color) static SpriteIdgetSignSprite(WoodType type) static RenderTypestatic RenderTypestatic RenderType
-
Field Details
-
SHULKER_SHEET
-
BED_SHEET
-
BANNER_SHEET
-
SHIELD_SHEET
-
SIGN_SHEET
-
CHEST_SHEET
-
ARMOR_TRIMS_SHEET
-
DECORATED_POT_SHEET
-
GUI_SHEET
-
MAP_DECORATIONS_SHEET
-
PAINTINGS_SHEET
-
CELESTIAL_SHEET
-
ARMOR_TRIMS_SHEET_TYPE
-
ARMOR_TRIMS_DECAL_SHEET_TYPE
-
CUTOUT_BLOCK_SHEET
-
TRANSLUCENT_BLOCK_SHEET
-
CUTOUT_BLOCK_ITEM_SHEET
-
TRANSLUCENT_BLOCK_ITEM_SHEET
-
CUTOUT_ITEM_SHEET
-
TRANSLUCENT_ITEM_SHEET
-
ITEMS_MAPPER
-
BLOCKS_MAPPER
-
BLOCK_ENTITIES_MAPPER
-
BANNER_MAPPER
-
SHIELD_MAPPER
-
CHEST_MAPPER
-
DECORATED_POT_MAPPER
-
BED_MAPPER
-
SHULKER_MAPPER
-
SIGN_MAPPER
-
HANGING_SIGN_MAPPER
-
DEFAULT_SHULKER_TEXTURE_LOCATION
-
SHULKER_TEXTURE_LOCATION
-
SIGN_SPRITES
-
HANGING_SIGN_SPRITES
-
BANNER_BASE
-
SHIELD_BASE
-
SHIELD_BASE_NO_PATTERN
-
BANNER_PATTERN_BASE
-
SHIELD_PATTERN_BASE
-
BANNER_SPRITES
-
SHIELD_SPRITES
-
DECORATED_POT_SPRITES
-
DECORATED_POT_BASE
-
DECORATED_POT_SIDE
-
BED_TEXTURES
-
ENDER_CHEST_LOCATION
-
CHEST_REGULAR
-
CHEST_TRAPPED
-
CHEST_CHRISTMAS
-
CHEST_COPPER_UNAFFECTED
-
CHEST_COPPER_EXPOSED
-
CHEST_COPPER_WEATHERED
-
CHEST_COPPER_OXIDIZED
-
-
Constructor Details
-
Sheets
public Sheets()
-
-
Method Details
-
armorTrimsSheet
-
cutoutBlockSheet
-
translucentBlockSheet
-
cutoutBlockItemSheet
-
cutoutItemSheet
-
translucentItemSheet
-
translucentBlockItemSheet
-
getBedSprite
-
colorToResourceSprite
-
createBedSprite
-
getShulkerBoxSprite
-
colorToShulkerSprite
-
createShulkerSprite
-
createSignSprite
-
createHangingSignSprite
-
getSignSprite
-
getHangingSignSprite
-
getBannerSprite
-
getShieldSprite
-
getDecoratedPotSprite
public static @Nullable SpriteId getDecoratedPotSprite(@Nullable ResourceKey<DecoratedPotPattern> pattern) -
chooseSprite
public static SpriteId chooseSprite(ChestRenderState.ChestMaterialType materialType, ChestType type) -
addWoodType
Not threadsafe. Enqueue it in client setup.
-