Conversation
|
FYI, you can vram-ify the imports by setting this in IntellijIDEA Code Style settings. import static all other imports
// <blank line>
import java.*
// <blank line>
import javax.*
// <blank line>
import all other imports
// <blank line>
import com.mojang.*
// <blank line>
import net.minecraft.*
// <blank line>
import net.fabricmc.*
// <blank line>
import io.vram.*
// <blank line>
import grondag.*What does migrateMappings do? I never use it. |
|
i still haven't figured out how to make intellij work with this 😅
It's some yarn (i think) thing to change the names of mappings across different versions since sometimes they are renamed. It can also be used to switch from yarn to mojang. I have a gist detailing the steps I took for updating the mappings since it doesn't currently allow changing mojang mapping versions directly for some reason. Sometimes it breaks but it saves me a lot of pointless renaming work |
|
I just wanted to point out that |
Effort to update frex to 1.21.
List of things that need addressing (may not be exhaustive):
fabriquilt/src/main/java/io/vram/frex/pastel/mixin/MixinRenderRegionCache.java:135- RenderRegionCache.isAllEmpty has been removed, do we just remove the mixin?common/src/main/java/io/vram/frex/mixin/MixinModelBakery.java:86-@Redirectmixin target seems to be incorrect. Also the actual mixin itself is questionablecommon/src/main/java/io/vram/frex/mixin/MixinModelBakery.java:116- questionable; ModelBakery.loadModel has been removed (it seems that models are all always loaded during construction now)common/src/main/java/io/vram/frex/base/renderer/mesh/BaseQuadEmitter.java- some methods in VertexConsumer have been removed (including but not limited to endVertex, defaultColor, addVertex/vertex with 14 parameters)common/src/main/java/io/vram/frex/impl/model/ModelProviderRegistryImpl.java:109- ModelResourceLocation is now a record containing ResourceLocation, rather than a subclass of ResourceLocation.ModelProvider<ModelResourceLocation>have been changed toModelProvider<ResourceLocation>in other parts of the code. Do these need to be changed back to ModelResourceLocation (and ModelProvider T constraint changed?)common/src/main/java/io/vram/frex/pastel/PastelItemRenderContext.java:78- ItemRenderer.getCompassFoilBufferDirect has been removed