Compare commits

...
25 Commits
Author SHA1 Message Date
FalsePattern 2ba9772cca build: update gradle and buildscript 2026-08-09 15:46:15 +02:00
FalsePattern a780cde306 feat: update dependencies 2026-05-30 16:10:54 +02:00
FalsePattern 58fb32809c feat: add interop code for spool 2026-05-25 23:06:04 +02:00
FalsePattern 012ecc02af fix: avoid EndlessIDsTransformer getting initialized too early 2026-05-25 23:05:09 +02:00
FalsePattern 2d5dd8a52a Merge remote-tracking branch 'danyadev/optimize-transforming' 2026-05-25 22:11:30 +02:00
FalsePattern 15168f66e0 build: update fpgradle 2026-05-25 22:11:14 +02:00
FalsePattern c2cb18f98b build: update gradle 2026-05-25 22:11:09 +02:00
FalsePattern a3e69f1194 build: update fplib (new required apis) 2026-05-25 22:10:46 +02:00
danyadev ed03306597 optimize ChunkProviderSuperPatcher: don't create ClassNode in shouldTransformClass 2026-05-20 09:49:42 +03:00
FalsePattern 3dc556b807 docs: update readme 2026-05-17 16:01:59 +02:00
FalsePattern 16ff546f5c chore: Update copyright date 2026-02-06 21:13:18 +01:00
FalsePattern 3ef682b940 fix: Thermos compat
Merges: https://github.com/GTMEGA/EndlessIDs/pull/282
2026-02-06 20:59:45 +01:00
rjnasers b7d1cd2ee1 Revert accdiental header update 2026-01-27 16:24:05 +01:00
rjnasers 569818f9bd copyright 2026-01-27 15:43:34 +01:00
rjnasers 0041f04d28 Cleanup 2026-01-27 14:12:09 +01:00
rjnasers 3514f9098d Adding in AT, and fixing mixin 2026-01-25 21:59:19 +01:00
rjnasers 7bc4e82fdb Why you no work 2026-01-25 21:07:08 +01:00
rjnasers e2f0b85128 Organizing a bit 2026-01-24 23:00:08 +01:00
rjnasers a4aee25df0 Sort of a fix. Probably want to move to chunkapi rather than EID. It's unclear 2026-01-24 22:00:43 +01:00
rjnasers 761a5631fe A start 2026-01-24 01:17:44 +01:00
FalsePattern 0d7a4411a2 Merge remote-tracking branches 'pr275/cc-compat' and 'pr280/personal-space-compat' 2026-01-23 20:16:37 +01:00
FalsePattern fdd9fde9c9 fix: bump chunkapi dep to make new changes build 2026-01-23 20:14:44 +01:00
chrombread f0ab23044f correct name for dependency 2026-01-23 00:43:50 -08:00
chrombread 1c70006519 seems to work 2026-01-23 00:39:49 -08:00
RecursivePineapple 93fa055660 Cubic Chunks Compatibility 2025-11-26 11:12:47 -05:00
228 changed files with 1270 additions and 851 deletions

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ permissions:
jobs: jobs:
release-tags: release-tags:
uses: FalsePattern/fpgradle-workflows/.github/workflows/release-tags.yml@master uses: FalsePattern/fpgradle-workflows/.github/workflows/release-tags-2.yml@master
with: with:
workspace: "setupCIWorkspace" workspace: "setupCIWorkspace"
secrets: secrets:
+1 -1
View File
@@ -1,6 +1,6 @@
<component name="CopyrightManager"> <component name="CopyrightManager">
<copyright> <copyright>
<option name="notice" value="EndlessIDs&#10;&#10;Copyright (C) 2022-2025 FalsePattern, The MEGA Team&#10;All Rights Reserved&#10;&#10;The above copyright notice, this permission notice and the word &quot;MEGA&quot;&#10;shall be included in all copies or substantial portions of the Software.&#10;&#10;This program is free software: you can redistribute it and/or modify&#10;it under the terms of the GNU Lesser General Public License as published by&#10;the Free Software Foundation, only version 3 of the License.&#10;&#10;This program is distributed in the hope that it will be useful,&#10;but WITHOUT ANY WARRANTY; without even the implied warranty of&#10;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&#10;GNU Lesser General Public License for more details.&#10;&#10;You should have received a copy of the GNU Lesser General Public License&#10;along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;." /> <option name="notice" value="EndlessIDs&#10;&#10;Copyright (C) 2022-2026 FalsePattern, The MEGA Team&#10;All Rights Reserved&#10;&#10;The above copyright notice, this permission notice and the word &quot;MEGA&quot;&#10;shall be included in all copies or substantial portions of the Software.&#10;&#10;This program is free software: you can redistribute it and/or modify&#10;it under the terms of the GNU Lesser General Public License as published by&#10;the Free Software Foundation, only version 3 of the License.&#10;&#10;This program is distributed in the hope that it will be useful,&#10;but WITHOUT ANY WARRANTY; without even the implied warranty of&#10;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&#10;GNU Lesser General Public License for more details.&#10;&#10;You should have received a copy of the GNU Lesser General Public License&#10;along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;." />
<option name="myName" value="LGPL" /> <option name="myName" value="LGPL" />
</copyright> </copyright>
</component> </component>
+1 -1
View File
@@ -1,6 +1,6 @@
EndlessIDs EndlessIDs
Copyright (C) 2022-2025 FalsePattern, The MEGA Team Copyright (C) 2022-2026 FalsePattern, The MEGA Team
All Rights Reserved All Rights Reserved
The above copyright notice, this permission notice and the word "MEGA" The above copyright notice, this permission notice and the word "MEGA"
+12
View File
@@ -45,6 +45,18 @@ metadata `32767` as the OreDictionary wildcard value.
Using this specific metadata value in the world is fine if you convert it into item NBT or similar when the block is broken for pick-up. Using this specific metadata value in the world is fine if you convert it into item NBT or similar when the block is broken for pick-up.
## Strict No LLM / No AI Policy
No LLMs for issues.
No LLMs for patches / pull requests.
No LLMs for comments on the bug tracker, including translation.
English is encouraged, but not required. You are welcome to post in your native
language and rely on others to have their own translation tools of choice to
interpret your words.
## Mod compat ## Mod compat
This mod also contains patches for the following mods: This mod also contains patches for the following mods:
+9 -4
View File
@@ -1,5 +1,5 @@
plugins { plugins {
id("com.falsepattern.fpgradle-mc") version ("2.1.0") id("com.falsepattern.fpgradle-mc") version "4.1.0"
} }
group = "com.falsepattern" group = "com.falsepattern"
@@ -17,6 +17,7 @@ minecraft_fp {
core { core {
coreModClass = "asm.EndlessIDsCore" coreModClass = "asm.EndlessIDsCore"
accessTransformerFile = "endlessids_at.cfg"
} }
tokens { tokens {
@@ -35,6 +36,7 @@ minecraft_fp {
} }
curseforge { curseforge {
projectId = "665730" projectId = "665730"
side = Both
dependencies { dependencies {
required("fplib") required("fplib")
required("chunkapi") required("chunkapi")
@@ -63,9 +65,9 @@ repositories {
dependencies { dependencies {
// region Our deps // region Our deps
implementationSplit("com.falsepattern:falsepatternlib-mc1.7.10:1.9.0") implementationSplit("com.falsepattern:falsepatternlib-mc1.7.10:1.12.2")
compileOnly("it.unimi.dsi:fastutil:8.5.16") compileOnly("it.unimi.dsi:fastutil:8.5.18")
implementationSplit("com.falsepattern:chunkapi-mc1.7.10:0.6.4") implementationSplit("com.falsepattern:chunkapi-mc1.7.10:0.8.3")
// endregion // endregion
// region maintained mods // region maintained mods
@@ -210,6 +212,9 @@ dependencies {
//Nostalgic World Generation 1.0.0 //Nostalgic World Generation 1.0.0
compileOnly(deobfCurse("nostalgiagenerator-927053:4816167")) compileOnly(deobfCurse("nostalgiagenerator-927053:4816167"))
//Personal Space 1.0.33
compileOnly(deobfCurse("PersonalSpace-819596:6536785"))
//RandomThings 2.2.4 //RandomThings 2.2.4
compileOnly(deobfCurse("randomthings-59816:2225310")) compileOnly(deobfCurse("randomthings-59816:2225310"))
Binary file not shown.
+3 -1
View File
@@ -1,7 +1,9 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.0-bin.zip
networkTimeout=10000 networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
Vendored Regular → Executable
+3 -3
View File
@@ -20,7 +20,7 @@
############################################################################## ##############################################################################
# #
# Gradle start up script for POSIX generated by Gradle. # gradlew start up script for POSIX generated by Gradle.
# #
# Important for running: # Important for running:
# #
@@ -29,7 +29,7 @@
# bash, then to run this script, type that shell name before the whole # bash, then to run this script, type that shell name before the whole
# command line, like: # command line, like:
# #
# ksh Gradle # ksh gradlew
# #
# Busybox and similar reduced shells will NOT work, because this script # Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features: # requires all of these POSIX shell features:
@@ -57,7 +57,7 @@
# Darwin, MinGW, and NonStop. # Darwin, MinGW, and NonStop.
# #
# (3) This script is generated from the Groovy template # (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project. # within the Gradle project.
# #
# You can find Gradle at https://github.com/gradle/gradle/. # You can find Gradle at https://github.com/gradle/gradle/.
Vendored
+12 -23
View File
@@ -19,12 +19,12 @@
@if "%DEBUG%"=="" @echo off @if "%DEBUG%"=="" @echo off
@rem ########################################################################## @rem ##########################################################################
@rem @rem
@rem Gradle startup script for Windows @rem gradlew startup script for Windows
@rem @rem
@rem ########################################################################## @rem ##########################################################################
@rem Set local scope for the variables with windows NT shell @rem Set local scope for the variables, and ensure extensions are enabled
if "%OS%"=="Windows_NT" setlocal setlocal EnableExtensions
set DIRNAME=%~dp0 set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=. if "%DIRNAME%"=="" set DIRNAME=.
@@ -51,7 +51,7 @@ echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2 echo location of your Java installation. 1>&2
goto fail "%COMSPEC%" /c exit 1
:findJavaFromJavaHome :findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=% set JAVA_HOME=%JAVA_HOME:"=%
@@ -65,29 +65,18 @@ echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2 echo location of your Java installation. 1>&2
goto fail "%COMSPEC%" /c exit 1
:execute :execute
@rem Setup the command line @rem Setup the command line
@rem Execute Gradle @rem Execute gradlew
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* @rem endlocal doesn't take effect until after the line is parsed and variables are expanded
@rem which allows us to clear the local environment before executing the java command
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel
:end :exitWithErrorLevel
@rem End local scope for the variables with windows NT shell @rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
if %ERRORLEVEL% equ 0 goto mainEnd "%COMSPEC%" /c exit %ERRORLEVEL%
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -42,8 +42,8 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
version = Tags.VERSION, version = Tags.VERSION,
name = Tags.MODNAME, name = Tags.MODNAME,
acceptedMinecraftVersions = "[1.7.10]", acceptedMinecraftVersions = "[1.7.10]",
dependencies = "required-after:chunkapi@[0.6.4,);" + dependencies = "required-after:chunkapi@[0.8.3,);" +
"required-after:falsepatternlib@[1.9.0,);" + "required-after:falsepatternlib@[1.12.2,);" +
"after:antiidconflict") "after:antiidconflict")
public class EndlessIDs { public class EndlessIDs {
public static final byte[] ZERO_LENGTH_BIOME_ARRAY_PLACEHOLDER = new byte[0]; public static final byte[] ZERO_LENGTH_BIOME_ARRAY_PLACEHOLDER = new byte[0];
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -80,18 +80,18 @@ public class EndlessIDsCore implements IFMLLoadingPlugin, IEarlyMixinLoader {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
val exceptions = (Set<String>) field.get(cl); val exceptions = (Set<String>) field.get(cl);
if (exceptions.contains("code.elix_x.coremods")) { if (exceptions.contains("code.elix_x.coremods")) {
EndlessIDsTransformer.logger.info("AntiIDConflict detected!"); Share.logger.info("AntiIDConflict detected!");
EndlessIDsTransformer.logger.info("Removing ASM protections so that we can fix its code."); Share.logger.info("Removing ASM protections so that we can fix its code.");
exceptions.remove("code.elix_x.coremods"); exceptions.remove("code.elix_x.coremods");
exceptions.add("code.elix_x.coremods.antiidconflict.core"); exceptions.add("code.elix_x.coremods.antiidconflict.core");
exceptions.add("code.elix_x.coremods.antiidconflict.ByteCodeTester"); exceptions.add("code.elix_x.coremods.antiidconflict.ByteCodeTester");
} }
return new String[]{EndlessIDsTransformer.class.getName()}; return new String[]{Tags.GROUPNAME + ".asm.EndlessIDsTransformer" };
} }
private static void loudCrash(String message) { private static void loudCrash(String message) {
for (int i = 0; i < 100; i++) { for (int i = 0; i < 100; i++) {
EndlessIDsTransformer.logger.fatal(message); Share.logger.fatal(message);
} }
val err = new Error(message); val err = new Error(message);
err.setStackTrace(new StackTraceElement[0]); err.setStackTrace(new StackTraceElement[0]);
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -22,7 +22,6 @@
package com.falsepattern.endlessids.asm; package com.falsepattern.endlessids.asm;
import com.falsepattern.endlessids.Tags;
import com.falsepattern.endlessids.asm.transformer.DevFixer; import com.falsepattern.endlessids.asm.transformer.DevFixer;
import com.falsepattern.endlessids.asm.transformer.FmlRegistry; import com.falsepattern.endlessids.asm.transformer.FmlRegistry;
import com.falsepattern.endlessids.asm.transformer.GameDataAccelerator; import com.falsepattern.endlessids.asm.transformer.GameDataAccelerator;
@@ -33,14 +32,11 @@ import com.falsepattern.endlessids.config.GeneralConfig;
import com.falsepattern.lib.turboasm.MergeableTurboTransformer; import com.falsepattern.lib.turboasm.MergeableTurboTransformer;
import com.falsepattern.lib.turboasm.TurboClassTransformer; import com.falsepattern.lib.turboasm.TurboClassTransformer;
import lombok.val; import lombok.val;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
public class EndlessIDsTransformer extends MergeableTurboTransformer { public class EndlessIDsTransformer extends MergeableTurboTransformer {
public static final Logger logger = LogManager.getLogger(Tags.MODNAME + " ASM");
private static List<TurboClassTransformer> transformers() { private static List<TurboClassTransformer> transformers() {
val result = new ArrayList<TurboClassTransformer>(); val result = new ArrayList<TurboClassTransformer>();
@@ -1,7 +1,7 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the word "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -0,0 +1,33 @@
/*
* EndlessIDs
*
* Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved
*
* The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, only version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.falsepattern.endlessids.asm;
import com.falsepattern.endlessids.Tags;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public final class Share {
public static final Logger logger = LogManager.getLogger(Tags.MODNAME + " ASM");
private Share() {}
}
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -22,9 +22,9 @@
package com.falsepattern.endlessids.asm.transformer; package com.falsepattern.endlessids.asm.transformer;
import com.falsepattern.endlessids.asm.Share;
import com.falsepattern.endlessids.Tags; import com.falsepattern.endlessids.Tags;
import com.falsepattern.endlessids.asm.AsmTransformException; import com.falsepattern.endlessids.asm.AsmTransformException;
import com.falsepattern.endlessids.asm.EndlessIDsTransformer;
import com.falsepattern.endlessids.config.GeneralConfig; import com.falsepattern.endlessids.config.GeneralConfig;
import com.falsepattern.lib.turboasm.ClassNodeHandle; import com.falsepattern.lib.turboasm.ClassNodeHandle;
import com.falsepattern.lib.turboasm.TurboClassTransformer; import com.falsepattern.lib.turboasm.TurboClassTransformer;
@@ -64,7 +64,7 @@ public class GameDataAccelerator implements TurboClassTransformer {
} }
private static void transformError(MethodNode method) { private static void transformError(MethodNode method) {
EndlessIDsTransformer.logger.error("Could not add caching code to GameData." + method.name + method.desc); Share.logger.error("Could not add caching code to GameData.{}{}", method.name, method.desc);
} }
private void transformRegisterBlock(MethodNode method) { private void transformRegisterBlock(MethodNode method) {
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -24,7 +24,6 @@ package com.falsepattern.endlessids.asm.transformer;
import com.falsepattern.endlessids.Tags; import com.falsepattern.endlessids.Tags;
import com.falsepattern.endlessids.asm.EndlessIDsCore; import com.falsepattern.endlessids.asm.EndlessIDsCore;
import com.falsepattern.endlessids.asm.EndlessIDsTransformer;
import com.falsepattern.lib.turboasm.ClassNodeHandle; import com.falsepattern.lib.turboasm.ClassNodeHandle;
import com.falsepattern.lib.turboasm.TurboClassTransformer; import com.falsepattern.lib.turboasm.TurboClassTransformer;
import lombok.val; import lombok.val;
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -22,9 +22,10 @@
package com.falsepattern.endlessids.asm.transformer.chunk; package com.falsepattern.endlessids.asm.transformer.chunk;
import com.falsepattern.endlessids.asm.Share;
import com.falsepattern.endlessids.Tags; import com.falsepattern.endlessids.Tags;
import com.falsepattern.endlessids.asm.EndlessIDsCore; import com.falsepattern.endlessids.asm.EndlessIDsCore;
import com.falsepattern.endlessids.asm.EndlessIDsTransformer; import com.falsepattern.lib.turboasm.BytePatternMatcher;
import com.falsepattern.lib.turboasm.ClassNodeHandle; import com.falsepattern.lib.turboasm.ClassNodeHandle;
import com.falsepattern.lib.turboasm.TurboClassTransformer; import com.falsepattern.lib.turboasm.TurboClassTransformer;
import lombok.Data; import lombok.Data;
@@ -44,7 +45,10 @@ import org.objectweb.asm.tree.MethodInsnNode;
import org.objectweb.asm.tree.MethodNode; import org.objectweb.asm.tree.MethodNode;
import org.objectweb.asm.tree.VarInsnNode; import org.objectweb.asm.tree.VarInsnNode;
import net.minecraft.launchwrapper.Launch;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
import java.util.function.BiFunction; import java.util.function.BiFunction;
@@ -181,22 +185,34 @@ public class ChunkProviderSuperPatcher implements TurboClassTransformer {
private static State<AbstractInsnNode> STATE17 = null; private static State<AbstractInsnNode> STATE17 = null;
private static State<AbstractInsnNode> STATE_FINAL = null; private static State<AbstractInsnNode> STATE_FINAL = null;
private static final BytePatternMatcher chunkClassMatcher;
private static final BytePatternMatcher getBiomeArrayMethodMatcher;
static { static {
var chunk = new ArrayList<String>(4);
if (EndlessIDsCore.deobfuscated) { if (EndlessIDsCore.deobfuscated) {
CLASS_BiomeGenBase = new String[]{"net/minecraft/world/biome/BiomeGenBase"}; CLASS_BiomeGenBase = new String[]{"net/minecraft/world/biome/BiomeGenBase"};
CLASS_IChunkProvider = new String[]{"net/minecraft/world/chunk/IChunkProvider"}; CLASS_IChunkProvider = new String[]{"net/minecraft/world/chunk/IChunkProvider"};
CLASS_ChunkProviderGenerate = new String[]{"net/minecraft/world/gen/ChunkProviderGenerate"}; CLASS_ChunkProviderGenerate = new String[]{"net/minecraft/world/gen/ChunkProviderGenerate"};
CLASS_Chunk = new String[]{"net/minecraft/world/chunk/Chunk"}; chunk.add("net/minecraft/world/chunk/Chunk");
FIELD_biomeID = new String[]{"biomeID"}; FIELD_biomeID = new String[]{"biomeID"};
METHOD_getBiomeArray = new String[]{"getBiomeArray"}; METHOD_getBiomeArray = new String[]{"getBiomeArray"};
} else { } else {
CLASS_BiomeGenBase = new String[]{"ahu", "net/minecraft/world/biome/BiomeGenBase"}; CLASS_BiomeGenBase = new String[]{"ahu", "net/minecraft/world/biome/BiomeGenBase"};
CLASS_IChunkProvider = new String[]{"apu", "net/minecraft/world/chunk/IChunkProvider"}; CLASS_IChunkProvider = new String[]{"apu", "net/minecraft/world/chunk/IChunkProvider"};
CLASS_ChunkProviderGenerate = new String[]{"aqz", "net/minecraft/world/gen/ChunkProviderGenerate"}; CLASS_ChunkProviderGenerate = new String[]{"aqz", "net/minecraft/world/gen/ChunkProviderGenerate"};
CLASS_Chunk = new String[]{"apx", "net/minecraft/world/chunk/Chunk"}; chunk.add("apx");
chunk.add("net/minecraft/world/chunk/Chunk");
FIELD_biomeID = new String[]{"ay", "field_76756_M"}; FIELD_biomeID = new String[]{"ay", "field_76756_M"};
METHOD_getBiomeArray = new String[]{"m", "func_76605_m"}; METHOD_getBiomeArray = new String[]{"m", "func_76605_m"};
} }
val chunkExtraSpool = Launch.blackboard.get("endlessids_spool_CLASS_Chunk_interop");
if (chunkExtraSpool instanceof String[]) {
chunk.addAll(Arrays.asList((String[]) chunkExtraSpool));
}
CLASS_Chunk = chunk.toArray(new String[0]);
chunkClassMatcher = new BytePatternMatcher(CLASS_Chunk, BytePatternMatcher.Mode.Equals);
getBiomeArrayMethodMatcher = new BytePatternMatcher(METHOD_getBiomeArray, BytePatternMatcher.Mode.Equals);
} }
static { static {
@@ -347,35 +363,6 @@ public class ChunkProviderSuperPatcher implements TurboClassTransformer {
}); });
} }
private static boolean scanForBrokenCall(MethodNode method) {
val instructions = method.instructions;
val insnCount = instructions.size();
for (int i = 0; i < insnCount; i++) {
val insn = instructions.get(i);
if (insn.getOpcode() != Opcodes.INVOKEVIRTUAL) {
continue;
}
val invoke = (MethodInsnNode) insn;
if (anyMatch(invoke.owner, CLASS_Chunk) && anyMatch(invoke.name, METHOD_getBiomeArray) &&
invoke.desc.equals("()[B")) {
return true;
}
}
return false;
}
private static boolean anyMatch(List<String> str, String[] candidates) {
for (val s : str) {
for (val candidate : candidates) {
if (s.equals(candidate)) {
return true;
}
}
}
return false;
}
private static boolean anyMatch(String str, String[] candidates) { private static boolean anyMatch(String str, String[] candidates) {
for (val candidate : candidates) { for (val candidate : candidates) {
if (str.equals(candidate)) { if (str.equals(candidate)) {
@@ -456,17 +443,16 @@ public class ChunkProviderSuperPatcher implements TurboClassTransformer {
@Override @Override
public boolean shouldTransformClass(@NotNull String className, @NotNull ClassNodeHandle classNode) { public boolean shouldTransformClass(@NotNull String className, @NotNull ClassNodeHandle classNode) {
if ("net.minecraft.world.chunk.storage.AnvilChunkLoader".equals(className)) if ("net.minecraft.world.chunk.storage.AnvilChunkLoader".equals(className)) {
return false; return false;
val cn = classNode.getNode();
if (cn == null)
return false;
for (MethodNode method : cn.methods) {
if (scanForBrokenCall(method)) {
return true;
}
} }
return false;
val metadata = classNode.getOriginalMetadata();
if (metadata == null) {
return false;
}
return metadata.matchesBytes(chunkClassMatcher) && metadata.matchesBytes(getBiomeArrayMethodMatcher);
} }
@Override @Override
@@ -479,7 +465,7 @@ public class ChunkProviderSuperPatcher implements TurboClassTransformer {
val memory = findTheTarget(method, cn); val memory = findTheTarget(method, cn);
if (memory != null) { if (memory != null) {
patched = true; patched = true;
EndlessIDsTransformer.logger.debug("[ChunkProvider patcher]: Match found in method " + method.name); Share.logger.debug("[ChunkProvider patcher]: Match found in method {}", method.name);
val insnList = method.instructions; val insnList = method.instructions;
for (val node : method.localVariables) { for (val node : method.localVariables) {
if (node.desc.equals("[B") && node.index == memory.biomeArrayIndex) { if (node.desc.equals("[B") && node.index == memory.biomeArrayIndex) {
@@ -496,7 +482,7 @@ public class ChunkProviderSuperPatcher implements TurboClassTransformer {
} }
} }
if (!patched) { if (!patched) {
EndlessIDsTransformer.logger.debug("[ChunkProvider patcher]: No matches found in class! This is not explicitly " + Share.logger.debug("[ChunkProvider patcher]: No matches found in class! This is not explicitly " +
"an error, because the patch might be applied by a mixin instead!"); "an error, because the patch might be applied by a mixin instead!");
} }
return patched; return patched;
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -45,7 +45,7 @@ import static com.falsepattern.endlessids.constants.ExtendedConstants.blocksPerS
import static com.falsepattern.endlessids.util.DataUtil.*; import static com.falsepattern.endlessids.util.DataUtil.*;
//NOTE: Also change the save logic in MapWriter mod if changing this //NOTE: Also change the save logic in MapWriter mod if changing this
public class BlockIDManager implements DataManager.PacketDataManager, DataManager.SubChunkDataManager, DataManager.BlockPacketDataManager { public class BlockIDManager implements DataManager.PacketDataManager, DataManager.CubicPacketDataManager, DataManager.SubChunkDataManager, DataManager.BlockPacketDataManager {
@Override @Override
public String domain() { public String domain() {
@@ -259,4 +259,77 @@ public class BlockIDManager implements DataManager.PacketDataManager, DataManage
public void readBlockPacketFromBuffer(S23PacketBlockChange packet, PacketBuffer buffer) { public void readBlockPacketFromBuffer(S23PacketBlockChange packet, PacketBuffer buffer) {
packet.field_148883_d = Block.getBlockById(buffer.readInt()); packet.field_148883_d = Block.getBlockById(buffer.readInt());
} }
@Override
public int maxPacketSizeCubic() {
return 3 * 16 * 16 * 16 + 4;
}
@Override
public void writeToBuffer(Chunk chunk, ExtendedBlockStorage extendedBlockStorage, ByteBuffer data) {
val subChunk = (SubChunkBlockHook) extendedBlockStorage;
data.put((byte) subChunk.eid$getBlockMask());
val b1 = subChunk.eid$getB1();
data.put(b1);
val b2Low = subChunk.eid$getB2Low();
if (b2Low == null) return;
data.put(b2Low.data);
val b2High = subChunk.eid$getB2High();
if (b2High == null) return;
data.put(b2High.data);
val b3 = subChunk.eid$getB3();
if (b3 != null) {
data.put(b3);
}
}
@Override
public void readFromBuffer(Chunk chunk, ExtendedBlockStorage extendedBlockStorage, ByteBuffer data) {
val subChunk = (SubChunkBlockHook) extendedBlockStorage;
val storageFlag = data.get();
val b1 = subChunk.eid$getB1();
data.get(b1);
if (storageFlag == 0b00) {
subChunk.eid$setB2Low(null);
subChunk.eid$setB2High(null);
subChunk.eid$setB3(null);
return;
}
var b2Low = subChunk.eid$getB2Low();
if (b2Low == null) {
b2Low = subChunk.eid$createB2Low();
}
data.get(b2Low.data);
if (storageFlag == 0b01) {
subChunk.eid$setB2High(null);
subChunk.eid$setB3(null);
return;
}
var b2High = subChunk.eid$getB2High();
if (b2High == null) {
b2High = subChunk.eid$createB2High();
}
data.get(b2High.data);
if (storageFlag == 0b10) {
subChunk.eid$setB3(null);
return;
}
var b3 = subChunk.eid$getB3();
if (b3 == null) {
b3 = subChunk.eid$createB3();
}
data.get(b3);
}
} }
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -44,7 +44,7 @@ import java.nio.ByteBuffer;
import static com.falsepattern.endlessids.constants.ExtendedConstants.blocksPerSubChunk; import static com.falsepattern.endlessids.constants.ExtendedConstants.blocksPerSubChunk;
//NOTE: Also change the save logic in MapWriter mod if changing this //NOTE: Also change the save logic in MapWriter mod if changing this
public class BlockMetaManager implements DataManager.PacketDataManager, DataManager.SubChunkDataManager, DataManager.BlockPacketDataManager { public class BlockMetaManager implements DataManager.PacketDataManager, DataManager.CubicPacketDataManager, DataManager.SubChunkDataManager, DataManager.BlockPacketDataManager {
@Override @Override
public String domain() { public String domain() {
@@ -233,4 +233,60 @@ public class BlockMetaManager implements DataManager.PacketDataManager, DataMana
public void readBlockPacketFromBuffer(S23PacketBlockChange packet, PacketBuffer buffer) { public void readBlockPacketFromBuffer(S23PacketBlockChange packet, PacketBuffer buffer) {
packet.field_148884_e = buffer.readUnsignedShort(); packet.field_148884_e = buffer.readUnsignedShort();
} }
@Override
public int maxPacketSizeCubic() {
return 2 * 16 * 16 * 16 + 4;
}
@Override
public void writeToBuffer(Chunk chunk, ExtendedBlockStorage extendedBlockStorage, ByteBuffer data) {
val subChunk = (SubChunkBlockHook) extendedBlockStorage;
data.put((byte) subChunk.eid$getMetadataMask());
val m1Low = subChunk.eid$getM1Low();
data.put(m1Low.data);
val m1High = subChunk.eid$getM1High();
if (m1High == null) return;
data.put(m1High.data);
val m2 = subChunk.eid$getM2();
if (m2 != null) {
data.put(m2);
}
}
@Override
public void readFromBuffer(Chunk chunk, ExtendedBlockStorage extendedBlockStorage, ByteBuffer data) {
val subChunk = (SubChunkBlockHook) extendedBlockStorage;
val storageFlag = data.get();
val m1Low = subChunk.eid$getM1Low();
data.get(m1Low.data);
if (storageFlag == 0b01) {
subChunk.eid$setM1High(null);
subChunk.eid$setM2(null);
return;
}
var m1High = subChunk.eid$getM1High();
if (m1High == null) {
m1High = subChunk.eid$createM1High();
}
data.get(m1High.data);
if (storageFlag == 0b10) {
subChunk.eid$setM2(null);
return;
}
var m2 = subChunk.eid$getM2();
if (m2 == null) {
m2 = subChunk.eid$createM2();
}
data.get(m2);
}
} }
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,7 +1,7 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the word "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,7 +1,7 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the word "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,7 +1,7 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the word "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -1,10 +1,10 @@
/* /*
* EndlessIDs * EndlessIDs
* *
* Copyright (C) 2022-2025 FalsePattern, The MEGA Team * Copyright (C) 2022-2026 FalsePattern, The MEGA Team
* All Rights Reserved * All Rights Reserved
* *
* The above copyright notice, this permission notice and the words "MEGA" * The above copyright notice, this permission notice and the word "MEGA"
* shall be included in all copies or substantial portions of the Software. * shall be included in all copies or substantial portions of the Software.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
Loaded 100 of 228 files, more files were not shown because too many files have changed in this diff. Show more