Note
为简化无关环节,部分细节可能会省去,而进一步的深入解释将标记在 NOTE 内。 如果这是您第一次了解 MethodHandle 和 VarHandle,可直接掠过这些部分。
Tip
本文将用 TIP 标记您需要使用刚刚学到的技能实践的部分。 边学边练,效果 ++。
| /* | |
| * TrustedLookupAccessor | |
| * Copyright (c) 2025 Burning_TNT<pangyl08@163.com> | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: | |
| * The above copyright notice and this permission notice shall be included in all |
在Event Browser内找到你要判定的draw call
如果难以找到,使用gl(Push/Pop)DebugLabel使用
This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.2 to 1.19.3 using Forge.
This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.
If there's any incorrect or missing information, please leave a comment below. Thanks!
| // Without MixinGradle | |
| // Add below contents to the end of your build.gradle | |
| configurations { | |
| library | |
| implementation.extendsFrom library | |
| } | |
| repositories { | |
| maven { url = "https://repo.spongepowered.org/repository/maven-public/" } | |
| } | |
| dependencies { |