Initial commit: Dimensional Ripper mod source (NeoForge 1.21.1)

This commit is contained in:
xxdd001 committed 2026-08-26 21:04:16 +08:00
1 parent df32c72cc9
commit 453e715f3b
94 files changed
+7059

No files matched your search

@@ -0,0 +1,6 @@
# 允许 dimthreads 式 swapThreadsAndRun 在非构造方法中写这些字段
# -f 表示移除 final 修饰符,使 Java 21 允许跨方法写入
public-f net.minecraft.world.level.Level thread # thread
public-f net.minecraft.server.level.ServerChunkCache mainThread # mainThread
# 第10步:允许在构造器中把 ClassInstanceMultiMap.byClass 换成 ConcurrentHashMap(修 find 的 computeIfAbsent 并发 CME)
public-f net.minecraft.util.ClassInstanceMultiMap byClass # byClass
@@ -0,0 +1,30 @@
modLoader="javafml"
loaderVersion="${loader_version_range}"
license="${mod_license}"
issueTrackerURL="https://example.com/issues"
[[mods]]
modId="${mod_id}"
version="${mod_version}"
displayName="${mod_name}"
authors="${mod_authors}"
description='''${mod_description}'''
logoFile="logo.png"
accesstransformer="META-INF/accesstransformer.cfg"
[[dependencies.${mod_id}]]
modId="neoforge"
mandatory=true
versionRange="[21.1.0,)"
ordering="NONE"
side="BOTH"
[[dependencies.${mod_id}]]
modId="minecraft"
mandatory=true
versionRange="${minecraft_version_range}"
ordering="NONE"
side="BOTH"
[[mixins]]
config="dimensionalripper.mixins.json"
@@ -0,0 +1,72 @@
{
"required": true,
"minVersion": "0.8.5",
"package": "dev.modzuozhi.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AttributeInstanceMixin",
"AttributeMapMixin",
"BabyFollowAdultGuardMixin",
"BinaryHeapMixin",
"BlockableEventLoopPollMixin",
"BlockDropCaptureMixin",
"BrainMixin",
"ChunkMapLoadOffloadMixin",
"ClassInstanceMultiMapMixin",
"CollectingNeighborUpdaterMixin",
"DistanceManagerMixin",
"EntityChangeDimensionMixin",
"EntityGetEntityCollisionsMixin",
"EntityLookupMixin",
"EntitySectionManagerMixin",
"EntitySectionMixin",
"EntitySectionStorageMixin",
"EntityTickListMixin",
"EntityTickParallelMixin",
"GameEventDispatcherMixin",
"GossipContainerMixin",
"GoToPotentialJobSiteGuardMixin",
"ILevelMixin",
"LevelChunkMixin",
"LevelExplodeMixin",
"LevelGetChunkMixin",
"LevelMixin",
"LevelTicksMixin",
"LivingEntityGetInBlockStateMixin",
"MinecraftServerDimMixin",
"MinecraftServerSaveMixin",
"MinecraftServerTimeSyncAccessor",
"NavigatingMobsMixin",
"NearestLivingEntitySensorMixin",
"PacketUtilsDimMixin",
"PoiCompetitorScanGuardMixin",
"PoiManagerDistanceTrackerMixin",
"PoiSectionMixin",
"PlayerListSaveMixin",
"PortalProcessorMixin",
"SectionStorageMixin",
"ServerChunkCacheAccessor",
"ServerChunkCacheGetChunkFallbackMixin",
"ServerChunkCacheMixin",
"ServerChunkCachePollMixin",
"ServerChunkCacheRunDistanceMixin",
"ServerCommonPacketListenerDimMixin",
"ServerConnectionListenerMixin",
"ServerLevelBlockEventMixin",
"ServerLevelChunkTickMixin",
"ServerLevelEntityCallbacksMixin",
"ServerLevelEntityTickMixin",
"ServerLevelPlayerPacketMixin",
"ServerPlayerChangeDimensionMixin",
"ServerPlayerPrefetchMixin",
"TickingBlockEntityParallelMixin",
"YieldJobSiteGuardMixin"
],
"client": [
],
"server": [
],
"injectors": {
"defaultRequire": 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB