public class GapPattern extends Pattern
Class GapPattern. Provides gappattern functionality for the Hytale server.
java.lang.Object > Pattern > GapPattern
Field Summary
axisPositionedPatterns
private
List
- >
Field axisPositionedPatterns.
depthPositionedPatterns
private
List
depthPositionedPatterns
Field depthPositionedPatterns.
gapSize
private
double
gapSize
Field gapSize.
anchorSize
private
double
anchorSize
Field anchorSize.
anchorRoughness
private
double
anchorRoughness
Field anchorRoughness.
depthDown
private
int
depthDown
Field depthDown.
depthUp
private
int
depthUp
Field depthUp.
gapPattern
private
Pattern
gapPattern
Field gapPattern.
anchorPattern
private
Pattern
anchorPattern
Field anchorPattern.
readSpaceSize
private
SpaceSize
readSpaceSize
Field readSpaceSize.
positions
final
List
positions
Field positions.
stepsDown
final
int
stepsDown
Field stepsDown.
stepsUp
final
int
stepsUp
Field stepsUp.
uniquePositions
final
ArrayList
uniquePositions
Field uniquePositions.
positionsSet
final
HashSet
positionsSet
Field positionsSet.
halfWall
final
double
halfWall
Field halfWall.
mov
final
Vector3d
mov
Field mov.
stepSize
final
double
stepSize
Field stepSize.
anchor
final
Vector3d
anchor
Field anchor.
steps
final
int
steps
Field steps.
childPosition
final
Vector3i
childPosition
Field childPosition.
childContext
final
Context
childContext
Field childContext.
position
private
Vector3i
position
Field position.
pattern
private
Pattern
pattern
Field pattern.
Method Detail
GapPattern
public
public
GapPattern
(@Nonnull final List angles, final double gapSize, final double anchorSize, final double anchorRoughness, final int depthDown, final int depthUp, @Nonnull final Pattern gapPattern, @Nonnull final Pattern anchorPattern)
Method GapPattern.
- Parameters:
@Nonnull final Listanglesfinal doublegapSizefinal doubleanchorSizefinal doubleanchorRoughnessfinal intdepthDownfinal intdepthUp@Nonnull final PatterngapPattern@Nonnull final PatternanchorPattern
SpaceSize
public
new
SpaceSize
(new Vector3i()
Method SpaceSize.
- Parameters:
newVector3i(
Vector3i
public
new
Vector3i
()
Method Vector3i.
renderDepths
private
List
renderDepths
()
Method renderDepths.
PositionedPattern
public
new
PositionedPattern
(this.gapPattern, pointer.clone()
Method PositionedPattern.
- Parameters:
this.gapPatternthis.gapPatternpointer.clone(pointer.clone(
renderPositions
private
List
renderPositions
(final float angle)
Method renderPositions.
- Parameters:
final floatangle
renderHalfPositions
private
List
renderHalfPositions
(final float angle)
Method renderHalfPositions.
- Parameters:
final floatangle
matches
public
boolean
matches
(@Nonnull final Context context)
Method matches.
- Parameters:
@Nonnull final Contextcontext
getX
public
int
getX
()
Method getX.
getY
public
int
getY
()
Method getY.
getZ
public
int
getZ
()
Method getZ.
clone
protected
PositionedPattern
clone
()
Method clone.