BuilderBodyMotionTestProbe.java
package com.hypixel.hytale.server.npc.corecomponents.debug.builders;
import com.google.gson.JsonElement;
import com.hypixel.hytale.server.npc.asset.builder.BuilderDescriptorState;
import com.hypixel.hytale.server.npc.asset.builder.BuilderSupport;
import com.hypixel.hytale.server.npc.asset.builder.validators.DoubleValidator;
import com.hypixel.hytale.server.npc.corecomponents.builders.BuilderBodyMotionBase;
import com.hypixel.hytale.server.npc.corecomponents.debug.BodyMotionTestProbe;
import javax.annotation.Nonnull;
public class BuilderBodyMotionTestProbe extends BuilderBodyMotionBase {
protected double adjustX;
protected double adjustZ;
protected double adjustDistance;
protected float snapAngle;
protected boolean isAvoidingBlockDamage;
protected boolean isRelaxedMoveConstraints;
public BuilderBodyMotionTestProbe() {
}
@Nonnull
public BodyMotionTestProbe build(BuilderSupport builderSupport) {
return new BodyMotionTestProbe();
}
String {
;
}
String {
.getShortDescription();
}
BuilderDescriptorState {
BuilderDescriptorState.Experimental;
}
BuilderBodyMotionTestProbe {
.getDouble(data, , (v) -> .adjustX = v, -, (DoubleValidator), BuilderDescriptorState.Experimental, , (String));
.getDouble(data, , (v) -> .adjustZ = v, -, (DoubleValidator), BuilderDescriptorState.Experimental, , (String));
.getDouble(data, , (v) -> .adjustDistance = v, -, (DoubleValidator), BuilderDescriptorState.Experimental, , (String));
.getFloat(data, , (v) -> .snapAngle = v, -, (DoubleValidator), BuilderDescriptorState.Experimental, , (String));
.getBoolean(data, , (v) -> .isAvoidingBlockDamage = v, , BuilderDescriptorState.Stable, , (String));
.getBoolean(data, , (v) -> .isRelaxedMoveConstraints = v, , BuilderDescriptorState.Stable, , (String));
;
}
{
.adjustX;
}
{
.adjustZ;
}
{
.adjustDistance;
}
{
.snapAngle;
}
{
.isAvoidingBlockDamage;
}
{
.isRelaxedMoveConstraints;
}
}