mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
Update to 1.10
This commit is contained in:
1 parent
3fbf8c9960
commit
260be68723
162 files changed
+1930
-1016
No files matched your search
@@ -90,7 +90,7 @@ import net.minecraft.util.text.event.ClickEvent;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.WorldSettings;
|
||||
import net.minecraft.world.WorldSettings.GameType;
|
||||
import net.minecraft.world.GameType;
|
||||
import net.minecraft.world.storage.loot.LootEntry;
|
||||
import net.minecraft.world.storage.loot.LootTable;
|
||||
import net.minecraft.world.storage.loot.LootTableManager;
|
||||
@@ -682,7 +682,7 @@ public class ForgeHooks
|
||||
|
||||
if (gameType.isAdventure())
|
||||
{
|
||||
if (gameType == WorldSettings.GameType.SPECTATOR)
|
||||
if (gameType == GameType.SPECTATOR)
|
||||
preCancelEvent = true;
|
||||
|
||||
if (!entityPlayer.isAllowEdit())
|
||||
|
||||
@@ -56,11 +56,11 @@ public class ForgeVersion
|
||||
//This number is incremented every time a interface changes or new major feature is added, and reset every Minecraft version
|
||||
public static final int revisionVersion = 0;
|
||||
//This number is incremented every time Jenkins builds Forge, and never reset. Should always be 0 in the repo code.
|
||||
public static final int buildVersion = 0;
|
||||
public static final int buildVersion = 9999;
|
||||
// This is the minecraft version we're building for - used in various places in Forge/FML code
|
||||
public static final String mcVersion = "1.9.4";
|
||||
public static final String mcVersion = "1.10";
|
||||
// This is the MCP data version we're using
|
||||
public static final String mcpVersion = "9.28";
|
||||
public static final String mcpVersion = "9.32";
|
||||
@SuppressWarnings("unused")
|
||||
private static Status status = PENDING;
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -158,7 +158,7 @@ public class BlockSnapshot implements Serializable
|
||||
public TileEntity getTileEntity()
|
||||
{
|
||||
if (getNbt() != null)
|
||||
return TileEntity.create(getNbt());
|
||||
return TileEntity.func_190200_a(getWorld(), getNbt());
|
||||
else return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user