fix shears

This commit is contained in:
Sen 2025-07-18 00:01:17 +02:00
parent c396475ebd
commit 33b6333683
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
2 changed files with 14 additions and 38 deletions

View file

@ -58,6 +58,6 @@ public class ItemShears extends Item
} }
public WieldType getWieldType() { public WieldType getWieldType() {
return WieldType.DEFAULT; return WieldType.TOOL;
} }
} }

View file

@ -1,43 +1,19 @@
package common.model; package common.model;
public enum Transform { public enum Transform {
IDENTITY( IDENTITY(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f),
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f DICE(135.0f, -55.0f, 180.0f, 0.0f, 0.0f, 0.0f, 2.75f),
), STAIRS(0.0f, 180.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f),
DICE( SMALL(0.0f, 0.0f, 0.0f, 0.0f, 0.25f, 0.0f, 1.25f),
135.0f, -55.0f, 180.0f, 0.0f, 0.0f, 0.0f, 2.75f SMALL_FLAT(0.0f, 0.0f, 0.0f, 0.0f, 1.5f, 0.0f, 1.25f),
), CROSS(0.0f, 45.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.25f),
STAIRS( CROSS_SMALL(0.0f, 45.0f, 0.0f, 0.0f, 0.5f, 0.0f, 1.5f),
0.0f, 180.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f WIRE(90.0f, 45.0f, -90.0f, 0.0f, -4.0f, 0.0f, 1.75f),
), THIN_WIRE(50.0f, 45.0f, -50.0f, 5.0f, 1.75f, 0.0f, 2.25f),
SMALL( PANE(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.25f),
0.0f, 0.0f, 0.0f, 0.0f, 0.25f, 0.0f, 1.25f PANE_SIDE(0.0f, 0.0f, 0.0f, -4.5f, -3.75f, 0.0f, 1.25f),
), FENCE(0.0f, 90.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f);
SMALL_FLAT(
0.0f, 0.0f, 0.0f, 0.0f, 1.5f, 0.0f, 1.25f
),
CROSS(
0.0f, 45.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.25f
),
CROSS_SMALL(
0.0f, 45.0f, 0.0f, 0.0f, 0.5f, 0.0f, 1.5f
),
WIRE(
90.0f, 45.0f, -90.0f, 0.0f, -4.0f, 0.0f, 1.75f
),
THIN_WIRE(
50.0f, 45.0f, -50.0f, 5.0f, 1.75f, 0.0f, 2.25f
),
PANE(
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.25f
),
PANE_SIDE(
0.0f, 0.0f, 0.0f, -4.5f, -3.75f, 0.0f, 1.25f
),
FENCE(
0.0f, 90.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f
);
private final float rotationX; private final float rotationX;
private final float rotationY; private final float rotationY;
private final float rotationZ; private final float rotationZ;