forked from mirrors/cobblemon
Party overlay config fix
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ out
|
|||||||
*.ipr
|
*.ipr
|
||||||
*.iws
|
*.iws
|
||||||
*.iml
|
*.iml
|
||||||
.idea
|
.idea/*
|
||||||
|
!.idea/icon.png
|
||||||
|
|
||||||
# gradle
|
# gradle
|
||||||
build
|
build
|
||||||
|
|||||||
Generated
BIN
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
+1
@@ -24,6 +24,7 @@ abstract class AnimatedPortraitDrawer : PortraitDrawer {
|
|||||||
private val stateAtIndex = hashMapOf<Int, Pair<UUID, FloatingState>>()
|
private val stateAtIndex = hashMapOf<Int, Pair<UUID, FloatingState>>()
|
||||||
|
|
||||||
override fun draw(pokemon: Pokemon, poseStack: PoseStack, partialTicks: Float, isSelected: Boolean, index: Int) {
|
override fun draw(pokemon: Pokemon, poseStack: PoseStack, partialTicks: Float, isSelected: Boolean, index: Int) {
|
||||||
|
state.currentAspects = pokemon.aspects
|
||||||
drawPosablePortrait(
|
drawPosablePortrait(
|
||||||
identifier = pokemon.species.resourceIdentifier,
|
identifier = pokemon.species.resourceIdentifier,
|
||||||
matrixStack = poseStack,
|
matrixStack = poseStack,
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ class CobblemonConfig {
|
|||||||
var summaryPokemonFollowCursor = true
|
var summaryPokemonFollowCursor = true
|
||||||
|
|
||||||
@CobblemonConfigField(Category.Interface, lang = "party_portrait_animations", CLIENT)
|
@CobblemonConfigField(Category.Interface, lang = "party_portrait_animations", CLIENT)
|
||||||
var partyPortraitAnimations = PortraitStyle.NEVER_ANIMATE
|
var partyPortraitAnimations = PortraitStyle.ANIMATE_SELECTED
|
||||||
|
|
||||||
@CobblemonConfigField(Category.Riding, lang = "third_person_view_bobbing", CLIENT)
|
@CobblemonConfigField(Category.Riding, lang = "third_person_view_bobbing", CLIENT)
|
||||||
var thirdPersonViewBobbing = true
|
var thirdPersonViewBobbing = true
|
||||||
|
|||||||
Reference in New Issue
Block a user