Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.19.4/main #1010

Draft
wants to merge 4 commits into
base: 1.19.2/main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
- discord/status:
success_message: ${DISCORD_MSG}
success_only: true
webhook: ${VS2_1192_WEBHOOK}
webhook: ${VS2_1194_WEBHOOK}

# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ body:
options:
- 1.16
- 1.18
- 1.19
- 1.19.2
- 1.19.4
- 1.20.x
validations:
required: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- '1.18.x/*'
- '1.19.2/*'
- '1.19.4/*'
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
Expand Down
8 changes: 4 additions & 4 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ dependencies {

//Common create compat,
//We just use a version from a platform and hope the classes exist on both versions and mixins apply correctly
modCompileOnly("com.simibubi.create:create-fabric-${minecraft_version}:${create_fabric_version}")
{ exclude group: 'com.github.AlphaMode', module: 'fakeconfigtoml' }
//modCompileOnly("com.simibubi.create:create-fabric-${minecraft_version}:${create_fabric_version}")
// { exclude group: 'com.github.AlphaMode', module: 'fakeconfigtoml' }
modCompileOnly("net.fabricmc.fabric-api:fabric-api:${fabric_api_version}")
modCompileOnly("com.jozufozu.flywheel:flywheel-fabric-${minecraft_version}:${flywheel_version_fabric}")
//modCompileOnly("com.jozufozu.flywheel:flywheel-fabric-${minecraft_version}:${flywheel_version_fabric}")

//implementation("io.github.fabricators_of_create.Porting-Lib:Porting-Lib:$port_lib_version+$minecraft_version")

modCompileOnly("maven.modrinth:create-big-cannons:${createbigcannons_version}")
//modCompileOnly("maven.modrinth:create-big-cannons:${createbigcannons_version}")
// modCompileOnly("io.github.fabricators_of_create:Porting-Lib:${port_lib_version}+${minecraft_version}")

//Bluemap fabric 1.19
Expand Down
4 changes: 2 additions & 2 deletions common/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port_lib_version=2.1.1096
port_lib_modules = accessors,base,entity,extensions,fake_players,networking,obj_loader,tags,transfer

# https://modrinth.com/mod/cloth-config/version/8.3.103+fabric
cloth_config_version = 8.3.103
cloth_config_version = 10.1.135

# https://modrinth.com/mod/sodium/versions
sodium_version = mc1.19.2-0.4.4
sodium_version = mc1.19.4-0.4.10

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.spongepowered.asm.mixin.Mixins;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
import org.spongepowered.asm.service.MixinService;
import org.valkyrienskies.mod.compat.VSRenderer;

/**
Expand Down Expand Up @@ -73,15 +72,6 @@ public boolean shouldApplyMixin(final String s, final String mixinClassName) {
if (mixinClassName.contains("org.valkyrienskies.mod.mixin.feature.render_pathfinding")) {
return PATH_FINDING_DEBUG;
}
if (mixinClassName.contains("org.valkyrienskies.mod.mixin.mod_compat.create.client.trackOutlines")) {
//interactive has its own track outline stuff so disable fixed version of VS2's track outline stuff
if (classExists("org.valkyrienskies.create_interactive.mixin.client.MixinTrackBlockOutline")) {
MixinService.getService().getLogger("mixin")
.info("[VS2] found Interactive, disabling VS2's trackOutline Compat - " +
mixinClassName.substring(mixinClassName.lastIndexOf(".") + 1));
return false;
}
}

return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
public class ValkyrienMixinErrorHandler implements IMixinErrorHandler {

private final Set<String> warnList = new HashSet<>(Arrays.asList(
"org.valkyrienskies.mod.mixin.feature.water_in_ships_entity.MixinEntity",
"org.valkyrienskies.mod.mixin.mod_compat.create_big_cannons.MixinAbstractCannonProjectile",
"org.valkyrienskies.mod.mixin.mod_compat.create_big_cannons.MixinPitchOrientedContraptionEntity"
"org.valkyrienskies.mod.mixin.feature.water_in_ships_entity.MixinEntity"
));

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.valkyrienskies.mod.mixin.accessors.resource;

import java.util.Map;
import net.minecraft.resources.ResourceKey;
import net.minecraft.resources.ResourceLocation;
import org.spongepowered.asm.mixin.Mixin;
Expand All @@ -10,11 +9,6 @@
@Mixin(ResourceKey.class)
public interface ResourceKeyAccessor {

@Accessor("VALUES")
static Map<String, ResourceKey<?>> getValues() {
throw new AssertionError();
}

@Accessor
ResourceLocation getRegistryName();

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.valkyrienskies.mod.mixin.client;

import com.mojang.math.Quaternion;
import com.mojang.math.Vector3f;
import net.minecraft.client.Camera;
import net.minecraft.util.Mth;
import net.minecraft.world.entity.Entity;
Expand All @@ -16,8 +14,10 @@
import org.jetbrains.annotations.NotNull;
import org.joml.Quaterniond;
import org.joml.Quaterniondc;
import org.joml.Quaternionf;
import org.joml.Vector3d;
import org.joml.Vector3dc;
import org.joml.Vector3f;
import org.joml.primitives.AABBi;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
Expand All @@ -26,7 +26,6 @@
import org.valkyrienskies.core.api.ships.ClientShip;
import org.valkyrienskies.core.api.ships.properties.ShipTransform;
import org.valkyrienskies.mod.client.IVSCamera;
import org.valkyrienskies.mod.common.util.VectorConversionsMCKt;
import org.valkyrienskies.mod.common.world.RaycastUtilsKt;

@Mixin(Camera.class)
Expand All @@ -53,7 +52,7 @@ public abstract class MixinCamera implements IVSCamera {
private float yRot;
@Shadow
@Final
private Quaternion rotation;
private Quaternionf rotation;
@Shadow
private boolean detached;
@Shadow
Expand Down Expand Up @@ -119,13 +118,13 @@ private void setRotationWithShipTransform(final float yaw, final float pitch, fi
renderTransform.getShipCoordinatesToWorldCoordinatesRotation().mul(originalRotation, new Quaterniond());
this.xRot = pitch;
this.yRot = yaw;
VectorConversionsMCKt.set(this.rotation, newRotation);
this.rotation.set(newRotation);
this.forwards.set(0.0F, 0.0F, 1.0F);
this.forwards.transform(this.rotation);
this.rotation.transform(this.forwards);
this.up.set(0.0F, 1.0F, 0.0F);
this.up.transform(this.rotation);
this.rotation.transform(this.up);
this.left.set(1.0F, 0.0F, 0.0F);
this.left.transform(this.rotation);
this.rotation.transform(this.left);
}

/**
Expand Down

This file was deleted.

Loading
Loading