Switch from FG to archloom + essential-gradle-toolkit

- Upgrade Gradle to 8.7
- Increase build daemon max memory to 8GB because archloom can compile a lot
  more projects at the same time.
- Disable Minecraft 1.8 (not 1.8.9) because archloom fails to set up for that
This commit is contained in:
Jonas Herzig
2022-05-29 18:08:42 +02:00
parent 706d46f6a9
commit ad49a69f37
19 changed files with 390 additions and 767 deletions

View File

@@ -101,7 +101,7 @@ public class EXRWriter implements FrameConsumer<BitmapFrame> {
for (int i = 0; i < numChannels; i++) {
FloatBuffer channel = images.slice();
channel.position(width * height * i);
imagePointers.put(i, channel.slice());
imagePointers.put(i, memAddress(channel));
if (i == 4) {
depthChannel = channel;
} else {
@@ -125,8 +125,8 @@ public class EXRWriter implements FrameConsumer<BitmapFrame> {
int ret = SaveEXRImageToFile(image, header, path.toString(), err);
if (ret != TINYEXR_SUCCESS) {
String message = err.getStringASCII(0);
FreeEXRErrorMessage(err.getByteBuffer(0));
String message = memASCII(err.get(0));
nFreeEXRErrorMessage(err.get(0));
throw new IOException(message);
}
} catch (Throwable t) {

View File

@@ -404,7 +404,12 @@ public class FullReplaySender extends ChannelDuplexHandler implements ReplaySend
if (mc.world != null) {
for (PlayerEntity playerEntity : mc.world.getPlayers()) {
if (!playerEntity.updateNeeded && playerEntity instanceof OtherClientPlayerEntity) {
// FIXME preprocessor should (and used to) be able to map this
//#if MC>=11400
playerEntity.tickMovement();
//#else
//$$ playerEntity.onLivingUpdate();
//#endif
}
}
}

View File

@@ -4,7 +4,7 @@
"name": "Replay Mod",
"description": "A Mod which allows you to record, replay and share your Minecraft experience.",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -20,7 +20,7 @@
"name": "Replay Mod - Recording",
"description": "Recording Module of the ReplayMod",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -37,7 +37,7 @@
"name": "Replay Mod - Replay",
"description": "Replay Module of the ReplayMod",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -54,7 +54,7 @@
"name": "Replay Mod - Simple Pathing",
"description": "Simple Pathing Module of the ReplayMod - aka the original pathing",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -71,7 +71,7 @@
"name": "Replay Mod - Render",
"description": "Render Module of the ReplayMod",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -88,7 +88,7 @@
"name": "Replay Mod - Replay Editor",
"description": "Replay Editor Module of the ReplayMod",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -105,7 +105,7 @@
"name": "Replay Mod - Extras",
"description": "Extras Module of the ReplayMod - Small but neat additions",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [
@@ -122,7 +122,7 @@
"name": "Replay Mod - Compatibility",
"description": "Compatibility Module of the ReplayMod - Adds compatibility with other mods",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "https://replaymod.com",
"updateUrl": "https://replaymod.com/download",
"authorList": [