Remove data system from WorldProperties.
I'll determine if I want to bring this back later on during api-8 dev
time.
import org.checkerframework.checker.nullness.qual.Nullable;
import org.spongepowered.api.boss.BossBar;
import org.spongepowered.api.data.persistence.DataContainer;
-import org.spongepowered.api.data.persistence.DataSerializable;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.entity.living.player.gamemode.GameMode;
import org.spongepowered.api.entity.living.trader.WanderingTrader;
/**
* Represents the properties of a {@link World} which are persisted across runtime instances.
*/
-public interface WorldProperties extends WeatherUniverse, DataSerializable, Identifiable, GameRuleHolder {
+public interface WorldProperties extends WeatherUniverse, Identifiable, GameRuleHolder {
/**
* Gets whether this world has been initialized.
*
* @return The total time
*/
- Duration getTotalTime();
+ Duration getGameTime();
/**
* Gets the time of day, in ticks. The amount of time that a minecraft day
*
* @return The time of day
*/
- Duration getWorldTime();
+ Duration getDayTime();
/**
* Sets the time of day. The amount of time that a minecraft day
*
* @param time The time of day
*/
- void setWorldTime(Duration time);
+ void setDayTime(Duration time);
/**
* Gets the {@link DimensionType} of this world.
