mirror of
https://gitlab.com/cable-mc/cobblemon.git
synced 2026-10-20 14:16:26 -04:00
you were not supposed to be there
Signed-off-by: Polymeta <4726322-polymeta@users.noreply.gitlab.com>
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ class MovesLearnsetWidget(val pX: Int, val pY: Int) : SoundlessWidget(
|
||||
|
||||
private val moveSlot = cobblemonResource("textures/gui/pokedex/move_slot.png")
|
||||
private val moveSlotSelected = cobblemonResource("textures/gui/pokedex/move_slot_select.png")
|
||||
private val tmSprite = cobblemonResource("textures/item/tms/blank_tm.png")
|
||||
private val tmSprite = cobblemonResource("textures/item/tms/blank_disc.png")
|
||||
private val tmSpriteUndiscovered = cobblemonResource("textures/gui/pokedex/tm_undiscovered.png")
|
||||
private val scrollBorderTop = cobblemonResource("textures/gui/pokedex/move_scroll_border.png")
|
||||
|
||||
|
||||
+3
-3
@@ -99,12 +99,12 @@ class DiscShelfBlockEntityRenderer(ctx: BlockEntityRendererProvider.Context) :
|
||||
|
||||
if (item.item == CobblemonItems.TECHNICAL_MACHINE) {
|
||||
val elementId = item.components.get(CobblemonItemComponents.TM_MOVE)!!.move.elementalType.showdownId
|
||||
val resource = cobblemonResource("textures/block/disc_shelf/${elementId}_tm.png")
|
||||
val texture = cobblemonResource("textures/block/disc_shelf/${elementId}_tm.png")
|
||||
renderSlotQuad(
|
||||
poseStack,
|
||||
buffer,
|
||||
resource,
|
||||
0xFFFFFF,
|
||||
texture,
|
||||
0xFFFFFF,
|
||||
packedLight,
|
||||
slotWidth,
|
||||
slotHeight,
|
||||
|
||||
Reference in New Issue
Block a user