+1
-6
@@ -38,19 +38,14 @@ import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@Mixin(DynamicTexture.class)
|
||||
public abstract class MixinDynamicTexture implements ILightTextureMarker
|
||||
public class MixinDynamicTexture implements ILightTextureMarker
|
||||
{
|
||||
/** Used to prevent accidentally using other dynamic textures as a lightmap */
|
||||
@Unique
|
||||
private boolean isLightTexture = false;
|
||||
|
||||
@Shadow
|
||||
#if MC_VER >= MC_1_20_4
|
||||
(remap = false)
|
||||
#endif
|
||||
@Final
|
||||
private NativeImage pixels;
|
||||
|
||||
|
||||
-3
@@ -74,9 +74,6 @@ import org.lwjgl.opengl.GL15;
|
||||
public class MixinLevelRenderer
|
||||
{
|
||||
@Shadow
|
||||
#if MC_VER >= MC_1_20_4
|
||||
(remap = false)
|
||||
#endif
|
||||
private ClientLevel level;
|
||||
@Unique
|
||||
private static float previousPartialTicks = 0;
|
||||
|
||||
-3
@@ -36,9 +36,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
public class MixinLightTexture
|
||||
{
|
||||
@Shadow
|
||||
#if MC_VER >= MC_1_20_4
|
||||
(remap = false)
|
||||
#endif
|
||||
@Final
|
||||
private DynamicTexture lightTexture;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user