Class Brush
java.lang.Object
com.simibubi.create.content.curiosities.zapper.terrainzapper.Brush
- Direct Known Subclasses:
DynamicBrush,ShapedBrush
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<net.minecraft.core.BlockPos>addToGlobalPositions(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos targetPos, net.minecraft.core.Direction targetFace, Collection<net.minecraft.core.BlockPos> affectedPositions, TerrainTools usedTool) intget(int paramIndex) net.minecraft.core.BlockPosgetOffset(net.minecraft.world.phys.Vec3 ray, net.minecraft.core.Direction face, PlacementOptions option) booleanbooleanredirectTool(TerrainTools tool) voidset(int param0, int param1, int param2)
-
Field Details
-
param0
protected int param0 -
param1
protected int param1 -
param2
protected int param2
-
-
Constructor Details
-
Brush
public Brush(int amtParams)
-
-
Method Details
-
set
public void set(int param0, int param1, int param2) -
getSupportedTools
-
redirectTool
-
hasPlacementOptions
public boolean hasPlacementOptions() -
hasConnectivityOptions
public boolean hasConnectivityOptions() -
get
public int get(int paramIndex) -
getOffset
public net.minecraft.core.BlockPos getOffset(net.minecraft.world.phys.Vec3 ray, net.minecraft.core.Direction face, PlacementOptions option) -
addToGlobalPositions
public abstract Collection<net.minecraft.core.BlockPos> addToGlobalPositions(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos targetPos, net.minecraft.core.Direction targetFace, Collection<net.minecraft.core.BlockPos> affectedPositions, TerrainTools usedTool)
-