Jkdsjk
Some checks failed
build / build (push) Failing after 1m31s

This commit is contained in:
2026-07-31 14:42:27 +02:00
parent aa8fa05506
commit 9226c1cd87
14 changed files with 1237 additions and 92 deletions

View File

@@ -0,0 +1,30 @@
package com.aranroig.editor;
import net.minecraft.network.RegistryFriendlyByteBuf;
import net.minecraft.network.codec.ByteBufCodecs;
import net.minecraft.network.codec.StreamCodec;
public class RunInfo {
public static final StreamCodec<RegistryFriendlyByteBuf, RunInfo> CODEC =
StreamCodec.composite(
ByteBufCodecs.STRING_UTF8,
RunInfo::getEntrypoint,
RunInfo::new
);
// Class with file info
private String entrypoint;
public RunInfo(String entrypoint) {
this.entrypoint = entrypoint;
}
public String getEntrypoint() {
return entrypoint;
}
public void setEntrypoint(String entrypoint) {
this.entrypoint = entrypoint;
}
}