Commit Graph

530 Commits

Author SHA1 Message Date
s809 40cd6c1386 Fix loading ClientLevel on server 2023-08-27 18:42:07 +05:00
s809 e9a13dffb8 Update core 2023-08-26 21:34:46 +05:00
s809 c3e84648f1 Merge branch 'main' of https://gitlab.com/jeseibel/minecraft-lod-mod into feat/server-updates 2023-08-22 19:12:56 +05:00
Steveplays28 91334c0e5c feat: Update rendering block ignores
Barrier blocks, structure void blocks, light blocks, and air blocks now share 2 `HashMap`s that define blocks that should be ignored by the LOD builder.
2023-08-21 03:41:26 +02:00
James Seibel e1147f3f60 Replace ChunkWrapper LinkedList with ArrayList 2023-08-20 17:07:30 -05:00
James Seibel 50e9a51f56 Fix LevelWrappers not unloading correctly 2023-08-20 14:47:36 -05:00
s809 172b05aeac Merge branch 'main' of https://gitlab.com/jeseibel/minecraft-lod-mod 2023-08-19 23:45:16 +05:00
coolGi 2b734bb8d4 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	coreSubProjects
2023-08-20 02:54:43 +09:30
coolGi 1ac1b7ee2d Fixed ui modify, and made file handeler use its own set function 2023-08-20 02:36:48 +09:30
James Seibel 81adca92c0 Add a flag to enable/disable ChunkWrapper Index validation 2023-08-19 11:18:49 -05:00
coolGi d509694ba9 Re-arranged the git info 2023-08-20 01:35:48 +09:30
Steveplays28 5a9bbf9829 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	coreSubProjects
2023-08-19 11:42:09 +02:00
James Seibel 0b67d64ff4 Fix compiling for MC 1.19 and lower 2023-08-18 18:55:27 -05:00
James Seibel ba6b08b818 Fix compiling for MC 1.19 and lower 2023-08-18 18:21:59 -05:00
James Seibel 2cfef3a84d Fix snow rendering take 2 2023-08-18 18:15:13 -05:00
James Seibel 8b20e1ee6d Attempt to fix a potential StructureLocator concurrency issue 2023-08-18 18:06:04 -05:00
James Seibel b254fde3ae Attempt to fix snow lighting 2023-08-18 17:22:39 -05:00
James Seibel 7278bc1548 World gen step reformatting 2023-08-18 16:06:55 -05:00
James Seibel 1728c3e898 remove part of temp fix for block/sky light indexes in ChunkWrapper 2023-08-18 16:03:16 -05:00
James Seibel 80393529f1 minor world gen step refactor 2023-08-18 15:56:40 -05:00
James Seibel b9d635ac69 Fix potential missing heightmap when generating chunks 2023-08-18 15:56:21 -05:00
James Seibel cca668979f Remove MC's lighting engine from the world generator 2023-08-18 11:55:40 -05:00
James Seibel 0e017cf512 hopefully prevent world gen structure lockup when leaving the world 2023-08-18 09:11:00 -05:00
James Seibel b1e75431ae Fix WorldGen ThreadFactory not being used 2023-08-18 08:25:23 -05:00
Steveplays28 23ca022ee9 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	coreSubProjects
#	fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricClientProxy.java
#	fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/client/MixinLevelRenderer.java
#	fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/mods/sodium/MixinSodiumRenderer.java
2023-08-18 15:11:59 +02:00
s809 d598061fa7 Add missing level wrapper argument (and a bunch of null checks) 2023-08-18 15:04:49 +02:00
James Seibel e12d7766d6 Fix a null pointer in ClassicConfigGui 2023-08-18 07:59:28 -05:00
James Seibel e43ee68508 Fix preset configs not applying after the UI screen changes 2023-08-18 07:51:15 -05:00
Builderb0y 7e0e51103b Fix querying block colors at constant position. 2023-08-18 01:57:08 +00:00
Steveplays28 02498aa189 fix: Fix index out of bounds errors and LOD pillars
The `BiomeWrapper#equals` and `BlockStateWrapper#equals` methods didn't use the right `LevelWrapper` for serializing the object to compare to, this is now fixed.
2023-08-16 13:25:23 +02:00
Steveplays28 1ea62fd5ec Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/misc/ServerPlayerWrapper.java
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ClientLevelWrapper.java
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ServerLevelWrapper.java
#	coreSubProjects
#	fabric/src/main/java/com/seibel/distanthorizons/fabric/FabricClientProxy.java
#	forge/src/main/java/com/seibel/distanthorizons/forge/ForgeClientProxy.java
2023-08-15 15:55:33 +02:00
James Seibel 0935a6e94b Fix ClientBlockDetailMap.getBlockStateData not passing the BlockPos
Thanks Builderb0y
2023-08-14 22:01:03 -05:00
James Seibel f564755d66 Apply editorconfig auto formatting 2023-08-14 21:16:13 -05:00
Steveplays28 aaf0361c50 fix: Fix BlockStateWrapper and Biome serializing to empty strings 2023-08-15 00:03:12 +02:00
Steveplays28 a08feebde0 fix: Fix server trying to access client instance 2023-08-14 19:23:57 +02:00
Steveplays28 f7131fd2ca fix: Fix 1.20.1 compilation 2023-08-14 15:44:45 +02:00
Steveplays28 2100f4a6fe Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java
#	coreSubProjects
2023-08-14 15:40:31 +02:00
James Seibel 0cc883b6c3 Fix unnecessary region file concurrency warnings in MC 1.16 and 1.17 2023-08-13 17:51:10 -05:00
James Seibel 902362f54f Fix 1.16 and 1.17 compiling 2023-08-13 17:23:36 -05:00
James Seibel 9020d5bbe6 Replace ChunkWrapper light hash maps with 1D arrays 2023-08-13 17:02:45 -05:00
Steveplays28 996f097b9d refactor: Re-add old serialization method
This is used by some override methods that don't have access to the level.
These old serialization methods have `FIXME`s so they're easy to find in the future.
2023-08-13 23:18:52 +02:00
Steveplays28 2e1d737268 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BiomeWrapper.java
#	common/src/main/java/com/seibel/distanthorizons/common/wrappers/block/BlockStateWrapper.java
#	coreSubProjects
2023-08-13 22:34:07 +02:00
s809 d374870fb7 Generation task prioritization (loaded > unloaded > ungenerated) 2023-08-13 18:59:42 +05:00
James Seibel 4ad9bb0d71 Fix FullDataPointIdMap (de)serialization duplicate Entries
Potentially fix serializing Biomes/Blocks after a level has been shut down.
Also increase DATA_FORMAT_VERSION 2 -> 3
2023-08-12 16:17:59 -05:00
s809 68e9d64779 Fix compiling (except 1.16.5 & 1.17.1) 2023-08-08 20:25:07 +05:00
s809 b64b44f301 Merge branch 'main' of https://gitlab.com/jeseibel/minecraft-lod-mod 2023-08-08 12:48:37 +05:00
coolGi 9f58cf305f Added a warning if value doesn't have a way to display it 2023-08-07 22:05:04 +09:30
coolGi 3b3ec1eee2 DH Jar now knows git version that it was built from 2023-08-07 21:10:45 +09:30
James Seibel 0a9e789cdc Remove IMinecraftRenderWrapper.tryDisableVanillaFog()
They are now handled via mixins
2023-08-06 19:21:58 -05:00
James Seibel a761ef4b6b Add setUseDhLighting to ChunkWrapper 2023-08-06 19:19:45 -05:00