Class AreaTypeLine
java.lang.Object
me.desht.pneumaticcraft.common.drone.progwidgets.area.AreaType
me.desht.pneumaticcraft.common.drone.progwidgets.area.AreaTypeLine
-
Nested Class Summary
Nested classes/interfaces inherited from class me.desht.pneumaticcraft.common.drone.progwidgets.area.AreaType
AreaType.AreaTypeWidget, AreaType.AreaTypeWidgetEnum<E extends Enum<?>>, AreaType.AreaTypeWidgetInteger, AreaType.EnumAxis -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArea(Consumer<net.minecraft.core.BlockPos> areaAdder, net.minecraft.core.BlockPos p1, net.minecraft.core.BlockPos p2, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Actually add the positions defined by this area to the given blockpos settoString()Methods inherited from class me.desht.pneumaticcraft.common.drone.progwidgets.area.AreaType
addUIWidgets, convertFromLegacy, getName, getTranslationKey, isDeterministic, readFromNBT, readFromPacket, writeToNBT, writeToPacket
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
AreaTypeLine
public AreaTypeLine()
-
-
Method Details
-
toString
-
addArea
public void addArea(Consumer<net.minecraft.core.BlockPos> areaAdder, net.minecraft.core.BlockPos p1, net.minecraft.core.BlockPos p2, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Description copied from class:AreaTypeActually add the positions defined by this area to the given blockpos set- Specified by:
addAreain classAreaType- Parameters:
areaAdder- the adder; calladder.accept(pos)to add a blockposp1- the first raw blockpos of the areap2- the second raw blockpos of the areaminX- min X coordminY- min Y coordminZ- min Z coordmaxX- max X coordmaxY- max Y coordmaxZ- max Z coord
-