DrawTexture does not draw texture as it did in 1.16
See original GitHub issueAfter updating my plugin to the latest Fabric version for MC 1.17.1, I get the following error while building it:
src\main\java\buddy\CommandHelper.java:9: error: package net.fabricmc.fabric.api.client.command.v1 does not exist import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager; ^ src\main\java\buddy\CommandHelper.java:10: error: package net.fabricmc.fabric.api.client.command.v1 does not exist import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource;
I already ran “gradlew vscode” and “gradlew genSources” and also ran remapping.
Does someone know how to fix it? In 1.16 it worked perfectly fine.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
[1.16.5] How to draw a texture - Modder Support - Forge Forums
Hello, I am trying to render an icon on the screen. ... I am not sure why it is not able to locate...
Read more >Graphics.DrawTexture doesn't do as expected - Unity Forum
The description of DrawTexture says Draw a texture in screen coordinates. so, am I just dense or is DrawTexture not behaving as it...
Read more >Draw Texture Simple - Unreal Engine Documentation
Draws a textured quad on the HUD. Assumes 1:1 texel density. Target is HUD. Draw Texture Simple.
Read more >Scripting API: Graphics.DrawTexture - Unity - Manual
Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used. pass,...
Read more >SASL Reference Manual
There is no limitation on how many SASL-driven projects may be installed and run ... Size assignment can be omitted for components that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
that code in 1.16
mc.getTextureManager().bindTexture(coinId);
is something like this in 1.17
RenderSystem.setShaderTexture(0, coinId);
That and switching the RenderMethod from “Head” to “Tail” fixed it. Thanks.