Skip to content

Commit

Permalink
Merge pull request #39 from Riflusso/1.21.2
Browse files Browse the repository at this point in the history
1.21.2+
  • Loading branch information
KosmX authored Dec 20, 2024
2 parents 0119b77 + d6f92a3 commit 404ad7b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
import io.github.kosmx.bendylib.ICuboidBuilder;
import io.github.kosmx.bendylib.impl.accessors.DirectionMutator;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.core.Direction;
import org.joml.Matrix4f;
Expand Down Expand Up @@ -344,7 +343,7 @@ private ModelPart.Polygon toModelPart_Quad(){
vertices[2].toMojVertex(),
vertices[3].toMojVertex()
}, u1, v1, u2, v2, su, sv, false, Direction.UP);
((DirectionMutator)quad).bendy_lib$setDirection(this.getDirection());
quad.normal().set(this.getDirection());
return quad;
}
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public class CuboidMutator implements MutableCuboid, CuboidSideAccessor {
//Store the mutators and the mutator builders.

@Mutable
@Shadow @Final private ModelPart.Polygon[] polygons;
@Shadow @Final
public ModelPart.Polygon[] polygons;
@Unique
private HashMap<String, ICuboid> mutators = new HashMap<>();

Expand Down
21 changes: 0 additions & 21 deletions common/src/main/java/io/github/kosmx/bendylib/mixin/QuadMixin.java

This file was deleted.

3 changes: 1 addition & 2 deletions common/src/main/resources/bendylib.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"compatibilityLevel": "JAVA_16",
"client": [
"CuboidMutator",
"IModelPartMixin",
"QuadMixin"
"IModelPartMixin"
],
"server": [],
"injectors": {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ mod_version=5.0
maven_group=io.github.kosmx.bendy-lib
archives_base_name=bendy-lib

minecraft_version=1.21.1
minecraft_version=1.21.3
loader_version=0.16.9

#Fabric api
fabric_version=0.109.0+1.21.1
fabric_version=0.110.0+1.21.3

#Forge thingy
forge_version=21.1.80
forge_version=21.3.54-beta

0 comments on commit 404ad7b

Please sign in to comment.