diff --git a/changelog.txt b/changelog.txt index ece10b6..add3e53 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,2 +1,2 @@ -

A changelog can be found at: https://www.wimods.net/mo-glass/mo-glass-1-6-1/

-

Note: This mod requires Fabric API for Minecraft 23w43a.

+

A changelog can be found at: https://www.wimods.net/mo-glass/mo-glass-1-6-1/

+

Note: This mod requires Fabric API for Minecraft 23w44a.

diff --git a/gradle.properties b/gradle.properties index 4394b24..2d85f84 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,15 +5,15 @@ org.gradle.parallel=true # Fabric Properties # check these at https://fabricmc.net/develop/ and # https://www.curseforge.com/minecraft/mc-mods/fabric-api -minecraft_version=23w43a -yarn_mappings=23w43a+build.1 +minecraft_version=23w44a +yarn_mappings=23w44a+build.1 loader_version=0.14.24 #Fabric api -fabric_version=0.90.5+1.20.3 +fabric_version=0.90.6+1.20.3 # Mod Properties -mod_version = 1.6.1-MC23w43a +mod_version = 1.6.1-MC23w44a maven_group = net.wurstclient.glass archives_base_name = Mo-Glass diff --git a/src/main/java/net/wurstclient/glass/mixin/GlassBlockMixin.java b/src/main/java/net/wurstclient/glass/mixin/GlassBlockMixin.java index 5736bb1..2745d62 100644 --- a/src/main/java/net/wurstclient/glass/mixin/GlassBlockMixin.java +++ b/src/main/java/net/wurstclient/glass/mixin/GlassBlockMixin.java @@ -8,12 +8,11 @@ package net.wurstclient.glass.mixin; import org.spongepowered.asm.mixin.Mixin; - -import net.minecraft.class_8923; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.SlabBlock; import net.minecraft.block.StairsBlock; +import net.minecraft.block.TranslucentBlock; import net.minecraft.block.TransparentBlock; import net.minecraft.block.enums.BlockHalf; import net.minecraft.block.enums.SlabType; @@ -21,8 +20,8 @@ import net.wurstclient.glass.MoGlass; import net.wurstclient.glass.MoGlassBlocks; -@Mixin(class_8923.class) -public abstract class GlassBlockMixin extends TransparentBlock +@Mixin(TransparentBlock.class) +public abstract class GlassBlockMixin extends TranslucentBlock { private GlassBlockMixin(MoGlass moGlass, Settings settings) { diff --git a/src/main/java/net/wurstclient/glass/mixin/StainedGlassBlockMixin.java b/src/main/java/net/wurstclient/glass/mixin/StainedGlassBlockMixin.java index 0c37df9..897d0e1 100644 --- a/src/main/java/net/wurstclient/glass/mixin/StainedGlassBlockMixin.java +++ b/src/main/java/net/wurstclient/glass/mixin/StainedGlassBlockMixin.java @@ -10,13 +10,12 @@ import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; - -import net.minecraft.class_8923; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.SlabBlock; import net.minecraft.block.StainedGlassBlock; import net.minecraft.block.StairsBlock; +import net.minecraft.block.TransparentBlock; import net.minecraft.block.enums.BlockHalf; import net.minecraft.block.enums.SlabType; import net.minecraft.util.DyeColor; @@ -26,7 +25,7 @@ import net.wurstclient.glass.StainedGlassStairsBlock; @Mixin(StainedGlassBlock.class) -public abstract class StainedGlassBlockMixin extends class_8923 +public abstract class StainedGlassBlockMixin extends TransparentBlock { @Shadow @Final diff --git a/src/main/java/net/wurstclient/glass/mixin/TintedGlassBlockMixin.java b/src/main/java/net/wurstclient/glass/mixin/TintedGlassBlockMixin.java index 1e6a2d8..0e9dfc6 100644 --- a/src/main/java/net/wurstclient/glass/mixin/TintedGlassBlockMixin.java +++ b/src/main/java/net/wurstclient/glass/mixin/TintedGlassBlockMixin.java @@ -8,12 +8,11 @@ package net.wurstclient.glass.mixin; import org.spongepowered.asm.mixin.Mixin; - -import net.minecraft.class_8923; import net.minecraft.block.BlockState; import net.minecraft.block.SlabBlock; import net.minecraft.block.StairsBlock; import net.minecraft.block.TintedGlassBlock; +import net.minecraft.block.TransparentBlock; import net.minecraft.block.enums.BlockHalf; import net.minecraft.block.enums.SlabType; import net.minecraft.util.math.Direction; @@ -21,7 +20,7 @@ import net.wurstclient.glass.MoGlassBlocks; @Mixin(TintedGlassBlock.class) -public abstract class TintedGlassBlockMixin extends class_8923 +public abstract class TintedGlassBlockMixin extends TransparentBlock { private TintedGlassBlockMixin(MoGlass moGlass, Settings settings) {