Class HeightmapLayerOperation
java.lang.Object
com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system.BrushOperation
com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system.SequenceBrushOperation
com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.HeightmapLayerOperation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<HeightmapLayerOperation> private List<LayerEntryCodec> Fields inherited from class com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system.BrushOperation
BRUSH_OPERATION_REGISTRY, OPERATION_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetToolArgs(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanmodifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) voidmodifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) private intresolveBlockId(LayerEntryCodec entry, Map<String, Object> toolArgs, BrushConfig brushConfig) Methods inherited from class com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system.SequenceBrushOperation
beginIterationIndex, doesOperateOnBlocks, getNumModifyBlockIterationsMethods inherited from class com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system.BrushOperation
createBrushSetting, createBrushSetting, getDescription, getName, getRegisteredOperationSettings, preExecutionModifyBrushConfig, resetInternalState
-
Field Details
-
CODEC
-
layerArgs
-
-
Constructor Details
-
HeightmapLayerOperation
public HeightmapLayerOperation()
-
-
Method Details
-
modifyBlocks
public boolean modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, @Nonnull BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) - Overrides:
modifyBlocksin classSequenceBrushOperation
-
resolveBlockId
private int resolveBlockId(LayerEntryCodec entry, @Nullable Map<String, Object> toolArgs, BrushConfig brushConfig) -
getToolArgs
@Nullable private Map<String,Object> getToolArgs(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
modifyBrushConfig
public void modifyBrushConfig(@Nonnull Ref<EntityStore> ref, @Nonnull BrushConfig brushConfig, @Nonnull BrushConfigCommandExecutor brushConfigCommandExecutor, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Specified by:
modifyBrushConfigin classBrushOperation
-