Class SpecialVariableRetrievalEvent.CoordinateVariable
java.lang.Object
net.minecraftforge.eventbus.api.Event
me.desht.pneumaticcraft.api.drone.SpecialVariableRetrievalEvent
me.desht.pneumaticcraft.api.drone.SpecialVariableRetrievalEvent.CoordinateVariable
- Direct Known Subclasses:
SpecialVariableRetrievalEvent.CoordinateVariable.Drone
- Enclosing class:
- SpecialVariableRetrievalEvent
public abstract static class SpecialVariableRetrievalEvent.CoordinateVariable
extends SpecialVariableRetrievalEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class me.desht.pneumaticcraft.api.drone.SpecialVariableRetrievalEvent
SpecialVariableRetrievalEvent.CoordinateVariable, SpecialVariableRetrievalEvent.ItemVariableNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Field Summary
Fields inherited from class me.desht.pneumaticcraft.api.drone.SpecialVariableRetrievalEvent
specialVarName -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.BlockPosvoidsetCoordinate(net.minecraft.core.BlockPos coordinate) Update the blockpos coordinate for the special variable that was passed.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Method Details
-
getCoordinate
public net.minecraft.core.BlockPos getCoordinate() -
setCoordinate
public void setCoordinate(@Nullable net.minecraft.core.BlockPos coordinate) Update the blockpos coordinate for the special variable that was passed.- Parameters:
coordinate- the new coordinate; passing null is equivalent to passing BlockPos.ZERO
-