public class MappingEvent extends ClientEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
MappingEvent.Stage
The mapping stages
|
dimensiontimestamp| Constructor and Description |
|---|
MappingEvent(MappingEvent.Stage stage,
net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension,
java.lang.String worldId) |
| Modifier and Type | Method and Description |
|---|---|
MappingEvent.Stage |
getStage()
Gets the current mapping stage.
|
@Nullable java.lang.String |
getWorldId()
Gets the worldId for the current world.
|
void |
setWorldId(@Nullable java.lang.String worldId)
Sets the world id when mapping starts.
|
cancel, isCancellable, isCancelledpublic MappingEvent(MappingEvent.Stage stage, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, java.lang.String worldId)
public MappingEvent.Stage getStage()
@Nullable public @Nullable java.lang.String getWorldId()
public void setWorldId(@Nullable
@Nullable java.lang.String worldId)
worldId - - the new worldId