Class GoldRush
java.lang.Object
dev.strwbry.eventhorizon.events.BaseEvent
dev.strwbry.eventhorizon.events.blockmodification.BaseBlockModification
dev.strwbry.eventhorizon.events.blockmodification.GoldRush
A positive event that replaces underground blocks with gold ore in a cuboid region.
This event creates a "gold rush" scenario by transforming regular blocks into gold ore deposits.
-
Field Summary
Fields inherited from class dev.strwbry.eventhorizon.events.blockmodification.BaseBlockModification
blockTypesToReplace, isMaskInverted, region, replacementBlock, replacingPattern
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.strwbry.eventhorizon.events.blockmodification.BaseBlockModification
applyBlockEditToAllPlayers, applyBlockEditToAllPlayers, execute
Methods inherited from class dev.strwbry.eventhorizon.events.BaseEvent
getClassification, getEventClassification, getName, run
-
Constructor Details
-
GoldRush
public GoldRush()Constructs a new GoldRush event. Creates a cuboid region of 50x400x200 blocks where underground blocks will be replaced with gold ore.
-
-
Method Details
-
execute
public void execute()Executes the gold rush event using single block replacement mode. Delegates to parent class execute method. -
terminate
public void terminate()Terminates the gold rush event and undoes all block modifications. Delegates to parent class terminate method.- Overrides:
terminate
in classBaseBlockModification
-