public class JigsawJunction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
deltaY |
private JigsawPattern.PlacementBehaviour |
destProjection |
private int |
sourceGroundY |
private int |
sourceX |
private int |
sourceZ |
Constructor and Description |
---|
JigsawJunction(int sourceX,
int sourceGroundY,
int sourceZ,
int deltaY,
JigsawPattern.PlacementBehaviour destProjection) |
Modifier and Type | Method and Description |
---|---|
static <T> JigsawJunction |
deserialize(com.mojang.datafixers.Dynamic<T> p_214894_0_) |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
getSourceGroundY() |
int |
getSourceX() |
int |
getSourceZ() |
int |
hashCode() |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
java.lang.String |
toString() |
private final int sourceX
private final int sourceGroundY
private final int sourceZ
private final int deltaY
private final JigsawPattern.PlacementBehaviour destProjection
public JigsawJunction(int sourceX, int sourceGroundY, int sourceZ, int deltaY, JigsawPattern.PlacementBehaviour destProjection)
public int getSourceX()
public int getSourceGroundY()
public int getSourceZ()
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
public static <T> JigsawJunction deserialize(com.mojang.datafixers.Dynamic<T> p_214894_0_)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object