Class JigsawJunction
- java.lang.Object
-
- net.minecraft.world.gen.feature.jigsaw.JigsawJunction
-
public class JigsawJunction extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
deltaY
private JigsawPattern.PlacementBehaviour
destProjection
private int
sourceGroundY
private int
sourceX
private int
sourceZ
-
Constructor Summary
Constructors Constructor Description JigsawJunction(int p_i51408_1_, int p_i51408_2_, int p_i51408_3_, int p_i51408_4_, JigsawPattern.PlacementBehaviour p_i51408_5_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> JigsawJunction
deserialize(com.mojang.serialization.Dynamic<T> p_236819_0_)
boolean
equals(java.lang.Object p_equals_1_)
int
getSourceGroundY()
int
getSourceX()
int
getSourceZ()
int
hashCode()
<T> com.mojang.serialization.Dynamic<T>
serialize(com.mojang.serialization.DynamicOps<T> p_236820_1_)
java.lang.String
toString()
-
-
-
Field Detail
-
sourceX
private final int sourceX
-
sourceGroundY
private final int sourceGroundY
-
sourceZ
private final int sourceZ
-
deltaY
private final int deltaY
-
destProjection
private final JigsawPattern.PlacementBehaviour destProjection
-
-
Constructor Detail
-
JigsawJunction
public JigsawJunction(int p_i51408_1_, int p_i51408_2_, int p_i51408_3_, int p_i51408_4_, JigsawPattern.PlacementBehaviour p_i51408_5_)
-
-
Method Detail
-
getSourceX
public int getSourceX()
-
getSourceGroundY
public int getSourceGroundY()
-
getSourceZ
public int getSourceZ()
-
serialize
public <T> com.mojang.serialization.Dynamic<T> serialize(com.mojang.serialization.DynamicOps<T> p_236820_1_)
-
deserialize
public static <T> JigsawJunction deserialize(com.mojang.serialization.Dynamic<T> p_236819_0_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-