mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-23 12:44:32 +01:00
23 lines
602 B
Java
23 lines
602 B
Java
package com.minelittlepony.client.settings;
|
|
|
|
import net.minecraft.client.MinecraftClient;
|
|
import net.minecraft.entity.player.PlayerEntity;
|
|
|
|
import com.minelittlepony.client.render.entities.MobRenderers;
|
|
import com.minelittlepony.settings.PonyConfig;
|
|
|
|
public class ClientPonyConfig extends PonyConfig {
|
|
|
|
public ClientPonyConfig() {
|
|
initWith(MobRenderers.values());
|
|
}
|
|
|
|
@Override
|
|
public void save() {
|
|
super.save();
|
|
PlayerEntity player = MinecraftClient.getInstance().player;
|
|
if (player != null) {
|
|
player.calculateDimensions();
|
|
}
|
|
}
|
|
}
|