Java Code Examples for net.minecraft.world.WorldType#DEFAULT

The following examples show how to use net.minecraft.world.WorldType#DEFAULT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ShipStorage.java    From CommunityMod with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Override
public WorldType getWorldType() {
	return WorldType.DEFAULT;
}
 
Example 2
Source File: WrapperWorldType.java    From ClientBase with MIT License 4 votes vote down vote up
public WrapperWorldType getDEFAULT() {
    return new WrapperWorldType(WorldType.DEFAULT);
}
 
Example 3
Source File: ProxyWorld.java    From LookingGlass with GNU General Public License v3.0 4 votes vote down vote up
public ProxyWorld(int dimensionID) {
	super(Minecraft.getMinecraft().getNetHandler(), new WorldSettings(0L, GameType.SURVIVAL, true, false, WorldType.DEFAULT), dimensionID, Minecraft.getMinecraft().gameSettings.difficulty, Minecraft.getMinecraft().theWorld.theProfiler);
}
 
Example 4
Source File: FakeWorldClient.java    From Framez with GNU General Public License v3.0 4 votes vote down vote up
private FakeWorldClient() {

        super(new NetHandlerPlayClient(Minecraft.getMinecraft(), null, new NetworkManager(true)), new WorldSettings(0, GameType.NOT_SET,
                false, false, WorldType.DEFAULT), 0, EnumDifficulty.PEACEFUL, Minecraft.getMinecraft().theWorld.theProfiler);
    }
 
Example 5
Source File: GuiEntityRender.java    From WearableBackpacks with MIT License 4 votes vote down vote up
public DummyWorld()
{ this(new WorldSettings(0, GameType.SURVIVAL, false, false, WorldType.DEFAULT)); }
 
Example 6
Source File: FakeBlockAccess.java    From OpenModsLib with MIT License 4 votes vote down vote up
@Override
public WorldType getWorldType() {
	return WorldType.DEFAULT;
}