Class DensityAsset
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.assets.density.DensityAsset
- All Implemented Interfaces:
JsonAsset<String>,JsonAssetWithMap<String,,DefaultAssetMap<String, DensityAsset>> Cleanable
- Direct Known Subclasses:
AbsDensityAsset,AmplitudeConstantAsset,AmplitudeDensityAsset,AnchorDensityAsset,AngleDensityAsset,AxisDensityAsset,BaseHeightDensityAsset,Cache2dDensityAsset_Deprecated,CacheDensityAsset,CeilingDensityAsset,CellNoise2DDensityAsset,CellNoise3DDensityAsset,CellWallDistanceDensityAsset,ClampDensityAsset,ConstantDensityAsset,CubeDensityAsset,CuboidDensityAsset,CurveMapperDensityAsset,CylinderDensityAsset,DistanceDensityAsset,DistanceToBiomeEdgeDensityAsset,EllipsoidDensityAsset,ExportedDensityAsset,FastGradientWarpDensityAsset,FloorDensityAsset,GradientDensityAsset,GradientWarpDensityAsset,ImportedDensityAsset,InverterDensityAsset,MaxDensityAsset,MinDensityAsset,MixDensityAsset,MultiMixDensityAsset,MultiplierDensityAsset,NormalizerDensityAsset,OffsetConstantAsset,OffsetDensityAsset,PipelineDensityAsset,PlaneDensityAsset,Positions3DDensityAsset,PositionsCellNoiseDensityAsset,PositionsPinchDensityAsset,PositionsTwistDensityAsset,PowDensityAsset,RotatorDensityAsset,ScaleDensityAsset,SelectorDensityAsset,ShellDensityAsset,SimplexNoise2dDensityAsset,SimplexNoise3DDensityAsset,SliderDensityAsset,SmoothCeilingDensityAsset,SmoothClampDensityAsset,SmoothFloorDensityAsset,SmoothMaxDensityAsset,SmoothMinDensityAsset,SqrtDensityAsset,SumDensityAsset,SwitchDensityAsset,SwitchStateDensityAsset,TerrainDensityAsset,VectorWarpDensityAsset,XOverrideDensityAsset,XValueDensityAsset,YOverrideDensityAsset,YValueDensityAsset,ZOverrideDensityAsset,ZValueDensityAsset
public abstract class DensityAsset
extends Object
implements JsonAssetWithMap<String,DefaultAssetMap<String,DensityAsset>>, Cleanable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<DensityAsset> static final AssetCodecMapCodec<String, DensityAsset> private AssetExtraInfo.Dataprivate static final DensityAsset[]private static final Map<String, DensityAsset.Exported> protected Stringprivate Stringprivate DensityAsset[]private boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Densitybuild(DensityAsset.Argument var1) buildFirstInput(DensityAsset.Argument argument) buildInputs(DensityAsset.Argument argument, boolean excludeSkipped) Density[]buildInputsArray(DensityAsset.Argument argument) buildSecondInput(DensityAsset.Argument argument) buildWithInputs(DensityAsset.Argument argument, Density[] inputs) voidcleanUp()protected voidstatic DensityAsset.Argumentfrom(EnvironmentProviderAsset.Argument argument) static DensityAsset.Argumentfrom(MaterialProviderAsset.Argument argument) static DensityAsset.Argumentfrom(PatternAsset.Argument argument) static DensityAsset.Argumentfrom(PositionProviderAsset.Argument argument) static DensityAsset.Argumentfrom(AssignmentsAsset.Argument argument) static DensityAsset.Argumentfrom(PropAsset.Argument argument) static DensityAsset.Argumentfrom(TintProviderAsset.Argument argument) static DensityAsset.Argumentfrom(VectorProviderAsset.Argument argument) static DensityAsset.Argumentfrom(WorldStructureAsset.Argument argument, ReferenceBundle referenceBundle) static DensityAsset.ExportedgetExportedAsset(String name) static DensityAssetgetId()inputs()boolean
-
Field Details
-
EMPTY_INPUTS
-
CODEC
-
exportedNodes
-
CHILD_ASSET_CODEC
-
CHILD_ASSET_CODEC_ARRAY
-
ABSTRACT_CODEC
-
id
-
data
-
inputs
-
skip
private boolean skip -
exportName
-
-
Constructor Details
-
DensityAsset
protected DensityAsset()
-
-
Method Details
-
build
-
cleanUp
public void cleanUp() -
cleanUpInputs
protected void cleanUpInputs() -
getFallbackAsset
-
buildWithInputs
@Nonnull public Density buildWithInputs(@Nonnull DensityAsset.Argument argument, @Nonnull Density[] inputs) -
inputs
-
buildInputs
@Nonnull public List<Density> buildInputs(@Nonnull DensityAsset.Argument argument, boolean excludeSkipped) -
buildInputsArray
-
firstInput
-
secondInput
-
buildFirstInput
-
buildSecondInput
-
isSkipped
public boolean isSkipped() -
getExportedAsset
-
getId
-
from
-
from
-
from
-
from
-
from
-
from
-
from
@Nonnull public static DensityAsset.Argument from(@Nonnull WorldStructureAsset.Argument argument, @Nonnull ReferenceBundle referenceBundle) -
from
@Nonnull public static DensityAsset.Argument from(@Nonnull EnvironmentProviderAsset.Argument argument) -
from
-