Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ private void ac_renderSky(Matrix4f frustumMatrix, Matrix4f projectionMatrix, flo

// In 1.21, we need to create our own PoseStack since it's no longer passed
PoseStack poseStack = new PoseStack();
// Added mulPose to fix the skybox moving with the camera incorrectly
poseStack.mulPose(frustumMatrix);

runnable.run();
if (!foggy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,8 @@ public void onSyncedDataUpdated(EntityDataAccessor<?> dataAccessor) {
super.onSyncedDataUpdated(dataAccessor);
}

// 1.21: getDimensions(Pose) is now final in LivingEntity and cannot be overridden.
// Dimensions are now handled via EntityType.Builder.dimensions() or getDefaultDimensions().
// This method is kept for reference but renamed to avoid compilation errors.
private EntityDimensions getCustomDimensions(Pose pose) {
@Override
public EntityDimensions getDefaultDimensions(Pose poseIn) {
switch (this.getSlimeSize()) {
case 2:
return LARGE_DIMENSIONS;
Expand Down