MidnightLib 0.2.8 - Command-based server configuration, Remove garbage, Better MidnightHats, Update MC

- Added a command-based way to configure server mods without having to edit the config file (only on dedicated servers)
- Update codebase to 1.17.1
- MidnightHats:
~ Remove Event Hats (irritating and unneeded)
~ Better Hats for Supporters (Cleanup, Glow, Lightweightness)
~ Hats of invisible players are now hidden
- MidnightConfig:
~ Better support for external value changing
~ Only tooltip-based titles now
- MidnightColorUtil:
~ add radialRainbow util for fancy rgb effects
- Better German translations
This commit is contained in:
Motschen
2021-10-28 23:20:40 +02:00
parent 7c55e3bfae
commit afa8cf9a5d
35 changed files with 253 additions and 495 deletions

View File

@@ -39,14 +39,12 @@ public class WitchHatModel<T extends LivingEntity> extends SinglePartEntityModel
@Override
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch) {
}
@Override
public void render(MatrixStack matrixStack, VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){
headwear.render(matrixStack, buffer, packedLight, packedOverlay);
}
headwear.render(matrixStack, buffer, packedLight, packedOverlay, red, green, blue, alpha);
}
@Override
public ModelPart getPart() {
@@ -57,6 +55,5 @@ public class WitchHatModel<T extends LivingEntity> extends SinglePartEntityModel
bone.pitch = x;
bone.yaw = y;
bone.roll = z;
}
}
}
}