Update all imports for repackaging. Branch is compileable.
This commit is contained in:
parent
e63311b4d0
commit
804e597aca
82 changed files with 331 additions and 190 deletions
|
@ -1,10 +1,10 @@
|
||||||
package cpw.mods.fml.client;
|
package cpw.mods.fml.client;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.FontRenderer;
|
||||||
|
import net.minecraft.client.gui.GuiErrorScreen;
|
||||||
import cpw.mods.fml.common.IFMLHandledException;
|
import cpw.mods.fml.common.IFMLHandledException;
|
||||||
import cpw.mods.fml.common.Side;
|
import cpw.mods.fml.common.Side;
|
||||||
import cpw.mods.fml.common.asm.SideOnly;
|
import cpw.mods.fml.common.asm.SideOnly;
|
||||||
import net.minecraft.client.FontRenderer;
|
|
||||||
import net.minecraft.client.GuiErrorScreen;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If a mod throws this exception during loading, it will be called back to render
|
* If a mod throws this exception during loading, it will be called back to render
|
||||||
|
|
|
@ -21,20 +21,22 @@ import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
|
import net.minecraft.client.multiplayer.GuiConnecting;
|
||||||
|
import net.minecraft.client.multiplayer.NetClientHandler;
|
||||||
|
import net.minecraft.client.multiplayer.WorldClient;
|
||||||
|
import net.minecraft.client.renderer.entity.Render;
|
||||||
|
import net.minecraft.client.renderer.entity.RenderManager;
|
||||||
|
import net.minecraft.crash.CrashReport;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.EntityLiving;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet;
|
||||||
|
import net.minecraft.network.packet.Packet131MapData;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.CrashReport;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.shared.Entity;
|
|
||||||
import net.minecraft.shared.EntityLiving;
|
|
||||||
import net.minecraft.shared.EntityPlayer;
|
|
||||||
import net.minecraft.client.GuiScreen;
|
|
||||||
import net.minecraft.client.NetClientHandler;
|
|
||||||
import net.minecraft.shared.NetHandler;
|
|
||||||
import net.minecraft.shared.Packet;
|
|
||||||
import net.minecraft.shared.Packet131MapData;
|
|
||||||
import net.minecraft.client.Render;
|
|
||||||
import net.minecraft.client.RenderManager;
|
|
||||||
import net.minecraft.shared.World;
|
|
||||||
import net.minecraft.client.WorldClient;
|
|
||||||
|
|
||||||
import com.google.common.base.Throwables;
|
import com.google.common.base.Throwables;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
|
|
@ -18,9 +18,10 @@ import java.awt.Dimension;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import net.minecraft.client.RenderEngine;
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
import net.minecraft.client.TextureFX;
|
import net.minecraft.client.renderer.texturefx.TextureFX;
|
||||||
import net.minecraft.client.ITexturePack;
|
import net.minecraft.client.texturepacks.ITexturePack;
|
||||||
|
|
||||||
import cpw.mods.fml.common.FMLCommonHandler;
|
import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
import cpw.mods.fml.common.FMLLog;
|
import cpw.mods.fml.common.FMLLog;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package cpw.mods.fml.client;
|
package cpw.mods.fml.client;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.GuiErrorScreen;
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
import cpw.mods.fml.common.WrongMinecraftVersionException;
|
import cpw.mods.fml.common.WrongMinecraftVersionException;
|
||||||
import net.minecraft.client.GuiErrorScreen;
|
|
||||||
|
|
||||||
public class GuiCustomModLoadingErrorScreen extends GuiErrorScreen
|
public class GuiCustomModLoadingErrorScreen extends GuiErrorScreen
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,11 +3,12 @@ package cpw.mods.fml.client;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.GuiErrorScreen;
|
||||||
|
|
||||||
import cpw.mods.fml.common.DuplicateModsFoundException;
|
import cpw.mods.fml.common.DuplicateModsFoundException;
|
||||||
import cpw.mods.fml.common.MissingModsException;
|
import cpw.mods.fml.common.MissingModsException;
|
||||||
import cpw.mods.fml.common.ModContainer;
|
import cpw.mods.fml.common.ModContainer;
|
||||||
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
||||||
import net.minecraft.client.GuiErrorScreen;
|
|
||||||
|
|
||||||
public class GuiDupesFound extends GuiErrorScreen
|
public class GuiDupesFound extends GuiErrorScreen
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,15 +3,16 @@ package cpw.mods.fml.client;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.GuiButton;
|
||||||
|
import net.minecraft.client.gui.GuiYesNo;
|
||||||
|
import net.minecraft.util.StringTranslate;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.MapDifference;
|
import com.google.common.collect.MapDifference;
|
||||||
import com.google.common.collect.MapDifference.ValueDifference;
|
import com.google.common.collect.MapDifference.ValueDifference;
|
||||||
|
|
||||||
import cpw.mods.fml.common.registry.ItemData;
|
import cpw.mods.fml.common.registry.ItemData;
|
||||||
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
||||||
import net.minecraft.src.GuiButton;
|
|
||||||
import net.minecraft.src.GuiYesNo;
|
|
||||||
import net.minecraft.src.StringTranslate;
|
|
||||||
|
|
||||||
public class GuiIdMismatchScreen extends GuiYesNo {
|
public class GuiIdMismatchScreen extends GuiYesNo {
|
||||||
private List<String> missingIds = Lists.newArrayList();
|
private List<String> missingIds = Lists.newArrayList();
|
||||||
|
|
|
@ -18,12 +18,12 @@ import java.awt.Dimension;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.FontRenderer;
|
import net.minecraft.client.gui.FontRenderer;
|
||||||
import net.minecraft.client.GuiButton;
|
import net.minecraft.client.gui.GuiButton;
|
||||||
import net.minecraft.client.GuiScreen;
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
import net.minecraft.client.GuiSmallButton;
|
import net.minecraft.client.gui.GuiSmallButton;
|
||||||
import net.minecraft.shared.StringTranslate;
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
import net.minecraft.client.Tessellator;
|
import net.minecraft.util.StringTranslate;
|
||||||
|
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package cpw.mods.fml.client;
|
package cpw.mods.fml.client;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.GuiErrorScreen;
|
||||||
import cpw.mods.fml.common.MissingModsException;
|
import cpw.mods.fml.common.MissingModsException;
|
||||||
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
||||||
import net.minecraft.client.GuiErrorScreen;
|
|
||||||
|
|
||||||
public class GuiModsMissing extends GuiErrorScreen
|
public class GuiModsMissing extends GuiErrorScreen
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package cpw.mods.fml.client;
|
package cpw.mods.fml.client;
|
||||||
|
|
||||||
import net.minecraft.client.GuiButton;
|
import net.minecraft.client.gui.GuiButton;
|
||||||
import net.minecraft.client.GuiScreen;
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
import net.minecraft.client.GuiSmallButton;
|
import net.minecraft.client.gui.GuiSmallButton;
|
||||||
import net.minecraft.shared.StringTranslate;
|
import net.minecraft.util.StringTranslate;
|
||||||
import cpw.mods.fml.common.network.ModMissingPacket;
|
import cpw.mods.fml.common.network.ModMissingPacket;
|
||||||
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ package cpw.mods.fml.client;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.GuiButton;
|
import net.minecraft.client.gui.GuiButton;
|
||||||
import net.minecraft.client.Tessellator;
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
|
|
||||||
import org.lwjgl.input.Mouse;
|
import org.lwjgl.input.Mouse;
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
|
@ -16,7 +16,8 @@ package cpw.mods.fml.client;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import net.minecraft.client.Tessellator;
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
|
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
import cpw.mods.fml.common.LoaderState.ModState;
|
import cpw.mods.fml.common.LoaderState.ModState;
|
||||||
import cpw.mods.fml.common.ModContainer;
|
import cpw.mods.fml.common.ModContainer;
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
package cpw.mods.fml.client;
|
package cpw.mods.fml.client;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.GuiErrorScreen;
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
import cpw.mods.fml.common.WrongMinecraftVersionException;
|
import cpw.mods.fml.common.WrongMinecraftVersionException;
|
||||||
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
import cpw.mods.fml.common.versioning.ArtifactVersion;
|
||||||
import net.minecraft.client.GuiErrorScreen;
|
|
||||||
import net.minecraft.client.GuiScreen;
|
|
||||||
|
|
||||||
public class GuiWrongMinecraft extends GuiErrorScreen
|
public class GuiWrongMinecraft extends GuiErrorScreen
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,8 +16,8 @@ package cpw.mods.fml.client;
|
||||||
|
|
||||||
import java.awt.Dimension;
|
import java.awt.Dimension;
|
||||||
|
|
||||||
import net.minecraft.client.RenderEngine;
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
import net.minecraft.client.ITexturePack;
|
import net.minecraft.client.texturepacks.ITexturePack;
|
||||||
|
|
||||||
public interface ITextureFX
|
public interface ITextureFX
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
package cpw.mods.fml.client;
|
package cpw.mods.fml.client;
|
||||||
|
|
||||||
import net.minecraft.client.TextureFX;
|
import net.minecraft.client.renderer.texturefx.TextureFX;
|
||||||
|
|
||||||
class OverrideInfo
|
class OverrideInfo
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,10 +19,10 @@ import java.util.Map;
|
||||||
import javax.imageio.ImageIO;
|
import javax.imageio.ImageIO;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
|
import net.minecraft.client.renderer.texturefx.TextureFX;
|
||||||
|
import net.minecraft.client.texturepacks.ITexturePack;
|
||||||
import net.minecraft.src.ModTextureStatic;
|
import net.minecraft.src.ModTextureStatic;
|
||||||
import net.minecraft.client.RenderEngine;
|
|
||||||
import net.minecraft.client.TextureFX;
|
|
||||||
import net.minecraft.client.ITexturePack;
|
|
||||||
|
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
|
|
||||||
package cpw.mods.fml.client.modloader;
|
package cpw.mods.fml.client.modloader;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.client.renderer.RenderBlocks;
|
||||||
import net.minecraft.src.BaseMod;
|
import net.minecraft.src.BaseMod;
|
||||||
import net.minecraft.shared.Block;
|
import net.minecraft.world.IBlockAccess;
|
||||||
import net.minecraft.shared.IBlockAccess;
|
|
||||||
import net.minecraft.client.RenderBlocks;
|
|
||||||
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
|
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,9 +7,17 @@ import java.util.Map.Entry;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
import net.minecraft.src.BaseMod;
|
import net.minecraft.src.BaseMod;
|
||||||
import net.minecraft.client.*;
|
import net.minecraft.client.*;
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.client.entity.EntityClientPlayerMP;
|
||||||
|
import net.minecraft.client.multiplayer.NetClientHandler;
|
||||||
|
import net.minecraft.client.renderer.entity.Render;
|
||||||
|
import net.minecraft.client.renderer.entity.RenderManager;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
|
||||||
import com.google.common.base.Equivalences;
|
import com.google.common.base.Equivalences;
|
||||||
import com.google.common.base.Supplier;
|
import com.google.common.base.Supplier;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package cpw.mods.fml.client.registry;
|
package cpw.mods.fml.client.registry;
|
||||||
|
|
||||||
import net.minecraft.shared.TileEntity;
|
|
||||||
import net.minecraft.client.TileEntityRenderer;
|
|
||||||
import net.minecraft.client.TileEntitySpecialRenderer;
|
|
||||||
import cpw.mods.fml.common.registry.GameRegistry;
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
import net.minecraft.client.renderer.tileentity.TileEntityRenderer;
|
||||||
|
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
|
||||||
public class ClientRegistry
|
public class ClientRegistry
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package cpw.mods.fml.client.registry;
|
package cpw.mods.fml.client.registry;
|
||||||
|
|
||||||
import net.minecraft.shared.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.shared.IBlockAccess;
|
import net.minecraft.client.renderer.RenderBlocks;
|
||||||
import net.minecraft.client.RenderBlocks;
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
|
||||||
public interface ISimpleBlockRenderingHandler
|
public interface ISimpleBlockRenderingHandler
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,8 +3,11 @@ package cpw.mods.fml.client.registry;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.client.*;
|
import net.minecraft.client.renderer.RenderBlocks;
|
||||||
|
import net.minecraft.client.renderer.entity.*;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
|
@ -17,9 +17,25 @@ import static cpw.mods.fml.common.Side.CLIENT;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.client.*;
|
import net.minecraft.client.*;
|
||||||
|
import net.minecraft.client.entity.EntityClientPlayerMP;
|
||||||
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
|
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||||
|
import net.minecraft.client.multiplayer.NetClientHandler;
|
||||||
|
import net.minecraft.client.renderer.RenderBlocks;
|
||||||
|
import net.minecraft.client.renderer.entity.Render;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.NetServerHandler;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
import net.minecraft.world.World;
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
import cpw.mods.fml.client.FMLClientHandler;
|
||||||
import cpw.mods.fml.common.FMLLog;
|
import cpw.mods.fml.common.FMLLog;
|
||||||
import cpw.mods.fml.common.TickType;
|
import cpw.mods.fml.common.TickType;
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
package net.minecraft.src;
|
package net.minecraft.src;
|
||||||
|
|
||||||
import net.minecraft.client.EntityRenderer;
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.client.renderer.EntityRenderer;
|
||||||
|
|
||||||
public class EntityRendererProxy extends EntityRenderer
|
public class EntityRendererProxy extends EntityRenderer
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,12 +19,12 @@ import java.util.List;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import net.minecraft.client.ITexturePack;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.client.RenderBlocks;
|
import net.minecraft.client.renderer.RenderBlocks;
|
||||||
import net.minecraft.client.RenderEngine;
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
import net.minecraft.client.TextureFX;
|
import net.minecraft.client.renderer.texturefx.TextureFX;
|
||||||
import net.minecraft.shared.Block;
|
import net.minecraft.client.texturepacks.ITexturePack;
|
||||||
import net.minecraft.shared.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
|
||||||
import cpw.mods.fml.client.TextureFXManager;
|
import cpw.mods.fml.client.TextureFXManager;
|
||||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||||
|
|
|
@ -20,9 +20,40 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.BlockDispenser;
|
||||||
import net.minecraft.client.*;
|
import net.minecraft.client.*;
|
||||||
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
|
import net.minecraft.client.multiplayer.NetClientHandler;
|
||||||
|
import net.minecraft.client.renderer.RenderBlocks;
|
||||||
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
|
import net.minecraft.client.renderer.entity.Render;
|
||||||
|
import net.minecraft.client.renderer.texturefx.TextureFX;
|
||||||
|
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||||
|
import net.minecraft.command.ICommand;
|
||||||
|
import net.minecraft.dispenser.IBehaviorDispenseItem;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.EntityLiving;
|
||||||
|
import net.minecraft.entity.EnumCreatureType;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.inventory.Container;
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemBlock;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.network.NetServerHandler;
|
||||||
|
import net.minecraft.network.packet.Packet;
|
||||||
|
import net.minecraft.network.packet.Packet1Login;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
import net.minecraft.server.*;
|
import net.minecraft.server.*;
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.stats.Achievement;
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraft.world.WorldType;
|
||||||
|
import net.minecraft.world.biome.BiomeGenBase;
|
||||||
|
import net.minecraft.world.chunk.IChunkProvider;
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
import cpw.mods.fml.client.FMLClientHandler;
|
||||||
import cpw.mods.fml.client.SpriteHelper;
|
import cpw.mods.fml.client.SpriteHelper;
|
||||||
import cpw.mods.fml.client.TextureFXManager;
|
import cpw.mods.fml.client.TextureFXManager;
|
||||||
|
|
|
@ -18,7 +18,7 @@ import java.awt.Graphics2D;
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
||||||
import java.awt.image.ImageObserver;
|
import java.awt.image.ImageObserver;
|
||||||
|
|
||||||
import net.minecraft.client.RenderEngine;
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
|
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import java.awt.Graphics2D;
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
||||||
import java.awt.image.ImageObserver;
|
import java.awt.image.ImageObserver;
|
||||||
|
|
||||||
import net.minecraft.client.RenderEngine;
|
import net.minecraft.client.renderer.RenderEngine;
|
||||||
|
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,21 @@ import java.util.Properties;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.crash.CrashReport;
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.crash.CrashReportCategory;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.nbt.NBTBase;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet131MapData;
|
||||||
|
import net.minecraft.server.*;
|
||||||
|
import net.minecraft.server.dedicated.DedicatedServer;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraft.world.storage.SaveHandler;
|
||||||
|
import net.minecraft.world.storage.WorldInfo;
|
||||||
|
|
||||||
import com.google.common.base.Objects;
|
import com.google.common.base.Objects;
|
||||||
import com.google.common.base.Strings;
|
import com.google.common.base.Strings;
|
||||||
|
|
|
@ -19,7 +19,9 @@ import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentMap;
|
import java.util.concurrent.ConcurrentMap;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.nbt.*;
|
||||||
|
import net.minecraft.world.storage.SaveHandler;
|
||||||
|
import net.minecraft.world.storage.WorldInfo;
|
||||||
|
|
||||||
import com.google.common.collect.MapMaker;
|
import com.google.common.collect.MapMaker;
|
||||||
import com.google.common.collect.Sets;
|
import com.google.common.collect.Sets;
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
*/
|
*/
|
||||||
package cpw.mods.fml.common;
|
package cpw.mods.fml.common;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a crafting handler for the mod container to call
|
* Return a crafting handler for the mod container to call
|
||||||
|
|
|
@ -14,7 +14,8 @@ package cpw.mods.fml.common;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2,7 +2,8 @@ package cpw.mods.fml.common;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,8 +4,12 @@ import java.util.List;
|
||||||
|
|
||||||
import com.google.common.collect.MapDifference;
|
import com.google.common.collect.MapDifference;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet;
|
||||||
|
import net.minecraft.network.packet.Packet131MapData;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.*;
|
|
||||||
import cpw.mods.fml.common.network.EntitySpawnAdjustmentPacket;
|
import cpw.mods.fml.common.network.EntitySpawnAdjustmentPacket;
|
||||||
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
||||||
import cpw.mods.fml.common.network.ModMissingPacket;
|
import cpw.mods.fml.common.network.ModMissingPacket;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cpw.mods.fml.common;
|
package cpw.mods.fml.common;
|
||||||
|
|
||||||
import net.minecraft.shared.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
public interface IFuelHandler
|
public interface IFuelHandler
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
*/
|
*/
|
||||||
package cpw.mods.fml.common;
|
package cpw.mods.fml.common;
|
||||||
|
|
||||||
import net.minecraft.shared.EntityItem;
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.shared.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
|
||||||
public interface IPickupNotifier
|
public interface IPickupNotifier
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
package cpw.mods.fml.common;
|
package cpw.mods.fml.common;
|
||||||
|
|
||||||
import net.minecraft.shared.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author cpw
|
* @author cpw
|
||||||
|
|
|
@ -15,8 +15,9 @@ package cpw.mods.fml.common;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.IChunkProvider;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.shared.World;
|
import net.minecraft.world.chunk.IChunkProvider;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is called back during world generation.
|
* This is called back during world generation.
|
||||||
|
|
|
@ -26,7 +26,7 @@ import java.util.Set;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.CallableMinecraftVersion;
|
import net.minecraft.crash.CallableMinecraftVersion;
|
||||||
|
|
||||||
import com.google.common.base.CharMatcher;
|
import com.google.common.base.CharMatcher;
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
|
|
|
@ -18,11 +18,11 @@ import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
import net.minecraft.item.ItemBlock;
|
||||||
|
|
||||||
import cpw.mods.fml.common.event.FMLInterModComms;
|
import cpw.mods.fml.common.event.FMLInterModComms;
|
||||||
import cpw.mods.fml.common.event.FMLInterModComms.IMCMessage;
|
import cpw.mods.fml.common.event.FMLInterModComms.IMCMessage;
|
||||||
|
|
||||||
import net.minecraft.shared.ItemBlock;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The new mod style in FML 1.3
|
* The new mod style in FML 1.3
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,7 +2,9 @@ package cpw.mods.fml.common;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.nbt.*;
|
||||||
|
import net.minecraft.world.storage.*;
|
||||||
|
|
||||||
|
|
||||||
public interface WorldAccessContainer
|
public interface WorldAccessContainer
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package cpw.mods.fml.common.event;
|
package cpw.mods.fml.common.event;
|
||||||
|
|
||||||
|
import net.minecraft.command.CommandHandler;
|
||||||
|
import net.minecraft.command.ICommand;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.CommandHandler;
|
|
||||||
import net.minecraft.shared.ICommand;
|
|
||||||
import cpw.mods.fml.common.LoaderState.ModState;
|
import cpw.mods.fml.common.LoaderState.ModState;
|
||||||
|
|
||||||
public class FMLServerStartingEvent extends FMLStateEvent
|
public class FMLServerStartingEvent extends FMLStateEvent
|
||||||
|
|
|
@ -16,8 +16,15 @@ package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.client.WorldClient;
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.NetServerHandler;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
import cpw.mods.fml.common.Side;
|
import cpw.mods.fml.common.Side;
|
||||||
import cpw.mods.fml.common.TickType;
|
import cpw.mods.fml.common.TickType;
|
||||||
import cpw.mods.fml.common.asm.SideOnly;
|
import cpw.mods.fml.common.asm.SideOnly;
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
||||||
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
|
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
|
||||||
import net.minecraft.shared.*;
|
|
||||||
|
|
||||||
public interface IModLoaderSidedHelper
|
public interface IModLoaderSidedHelper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.NetServerHandler;
|
||||||
|
import net.minecraft.network.packet.*;
|
||||||
import cpw.mods.fml.common.network.IChatListener;
|
import cpw.mods.fml.common.network.IChatListener;
|
||||||
|
|
||||||
public class ModLoaderChatListener implements IChatListener
|
public class ModLoaderChatListener implements IChatListener
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.NetLoginHandler;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet1Login;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.*;
|
|
||||||
import cpw.mods.fml.common.network.IConnectionHandler;
|
import cpw.mods.fml.common.network.IConnectionHandler;
|
||||||
import cpw.mods.fml.common.network.Player;
|
import cpw.mods.fml.common.network.Player;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import cpw.mods.fml.common.ICraftingHandler;
|
import cpw.mods.fml.common.ICraftingHandler;
|
||||||
|
|
||||||
public class ModLoaderCraftingHelper implements ICraftingHandler
|
public class ModLoaderCraftingHelper implements ICraftingHandler
|
||||||
|
|
|
@ -2,7 +2,9 @@ package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
import cpw.mods.fml.common.IDispenseHandler;
|
import cpw.mods.fml.common.IDispenseHandler;
|
||||||
import cpw.mods.fml.common.IDispenserHandler;
|
import cpw.mods.fml.common.IDispenserHandler;
|
||||||
|
|
||||||
|
|
|
@ -2,14 +2,14 @@ package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
|
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
import cpw.mods.fml.client.FMLClientHandler;
|
||||||
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
||||||
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
|
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
|
||||||
|
|
||||||
import net.minecraft.shared.Entity;
|
|
||||||
|
|
||||||
public class ModLoaderEntitySpawnCallback implements Function<EntitySpawnPacket, Entity>
|
public class ModLoaderEntitySpawnCallback implements Function<EntitySpawnPacket, Entity>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import net.minecraft.shared.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import cpw.mods.fml.common.IFuelHandler;
|
import cpw.mods.fml.common.IFuelHandler;
|
||||||
|
|
||||||
public class ModLoaderFuelHelper implements IFuelHandler
|
public class ModLoaderFuelHelper implements IFuelHandler
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.inventory.Container;
|
||||||
|
import net.minecraft.world.World;
|
||||||
import cpw.mods.fml.common.network.IGuiHandler;
|
import cpw.mods.fml.common.network.IGuiHandler;
|
||||||
|
|
||||||
public class ModLoaderGuiHelper implements IGuiHandler
|
public class ModLoaderGuiHelper implements IGuiHandler
|
||||||
|
|
|
@ -23,8 +23,13 @@ import com.google.common.collect.ArrayListMultimap;
|
||||||
import com.google.common.collect.ListMultimap;
|
import com.google.common.collect.ListMultimap;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
||||||
|
import net.minecraft.command.ICommand;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.animal.IAnimals;
|
||||||
|
import net.minecraft.entity.boss.EntityDragon;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.inventory.Container;
|
||||||
import net.minecraft.src.BaseMod;
|
import net.minecraft.src.BaseMod;
|
||||||
import net.minecraft.shared.*;
|
|
||||||
import net.minecraft.src.TradeEntry;
|
import net.minecraft.src.TradeEntry;
|
||||||
import cpw.mods.fml.common.FMLCommonHandler;
|
import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
import cpw.mods.fml.common.FMLLog;
|
import cpw.mods.fml.common.FMLLog;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import java.util.Properties;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.ICommand;
|
import net.minecraft.command.ICommand;
|
||||||
|
|
||||||
import com.google.common.base.Strings;
|
import com.google.common.base.Strings;
|
||||||
import com.google.common.base.Throwables;
|
import com.google.common.base.Throwables;
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
import cpw.mods.fml.common.network.IPacketHandler;
|
import cpw.mods.fml.common.network.IPacketHandler;
|
||||||
import cpw.mods.fml.common.network.Player;
|
import cpw.mods.fml.common.network.Player;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package cpw.mods.fml.common.modloader;
|
package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.item.EntityItem;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import cpw.mods.fml.common.IPickupNotifier;
|
import cpw.mods.fml.common.IPickupNotifier;
|
||||||
|
|
||||||
public class ModLoaderPickupNotifier implements IPickupNotifier
|
public class ModLoaderPickupNotifier implements IPickupNotifier
|
||||||
|
|
|
@ -5,8 +5,10 @@ import java.util.Random;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.EntityVillager;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.src.TradeEntry;
|
import net.minecraft.src.TradeEntry;
|
||||||
|
import net.minecraft.village.MerchantRecipeList;
|
||||||
import cpw.mods.fml.common.registry.VillagerRegistry;
|
import cpw.mods.fml.common.registry.VillagerRegistry;
|
||||||
import cpw.mods.fml.common.registry.VillagerRegistry.IVillageTradeHandler;
|
import cpw.mods.fml.common.registry.VillagerRegistry.IVillageTradeHandler;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,11 @@ package cpw.mods.fml.common.modloader;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraft.world.chunk.IChunkProvider;
|
||||||
|
import net.minecraft.world.gen.ChunkProviderGenerate;
|
||||||
|
import net.minecraft.world.gen.ChunkProviderHell;
|
||||||
|
|
||||||
import cpw.mods.fml.common.IWorldGenerator;
|
import cpw.mods.fml.common.IWorldGenerator;
|
||||||
|
|
||||||
public class ModLoaderWorldGenerator implements IWorldGenerator
|
public class ModLoaderWorldGenerator implements IWorldGenerator
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
import com.google.common.io.ByteArrayDataInput;
|
import com.google.common.io.ByteArrayDataInput;
|
||||||
import com.google.common.io.ByteArrayDataOutput;
|
import com.google.common.io.ByteArrayDataOutput;
|
||||||
|
|
|
@ -8,7 +8,10 @@ import java.io.IOException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.*;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.util.MathHelper;
|
||||||
|
|
||||||
import com.google.common.io.ByteArrayDataInput;
|
import com.google.common.io.ByteArrayDataInput;
|
||||||
import com.google.common.io.ByteArrayDataOutput;
|
import com.google.common.io.ByteArrayDataOutput;
|
||||||
|
|
|
@ -11,8 +11,17 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.network.*;
|
||||||
|
import net.minecraft.network.packet.*;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.server.management.ServerConfigurationManager;
|
||||||
|
import net.minecraft.world.EnumGameType;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraft.world.WorldType;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
|
@ -4,7 +4,8 @@ import java.util.Arrays;
|
||||||
import java.util.concurrent.ConcurrentMap;
|
import java.util.concurrent.ConcurrentMap;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
import com.google.common.base.Throwables;
|
import com.google.common.base.Throwables;
|
||||||
import com.google.common.collect.MapMaker;
|
import com.google.common.collect.MapMaker;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.packet.*;
|
||||||
|
|
||||||
public interface IChatListener
|
public interface IChatListener
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.NetLoginHandler;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet1Login;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.*;
|
|
||||||
|
|
||||||
public interface IConnectionHandler
|
public interface IConnectionHandler
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
public interface IGuiHandler
|
public interface IGuiHandler
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
|
|
||||||
public interface IPacketHandler
|
public interface IPacketHandler
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.packet.*;
|
||||||
|
|
||||||
public interface ITinyPacketHandler
|
public interface ITinyPacketHandler
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,6 +5,10 @@ import java.util.BitSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import net.minecraft.nbt.*;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
import com.google.common.collect.MapDifference;
|
import com.google.common.collect.MapDifference;
|
||||||
import com.google.common.io.ByteArrayDataInput;
|
import com.google.common.io.ByteArrayDataInput;
|
||||||
import com.google.common.io.ByteStreams;
|
import com.google.common.io.ByteStreams;
|
||||||
|
@ -17,12 +21,6 @@ import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
import cpw.mods.fml.common.FMLLog;
|
import cpw.mods.fml.common.FMLLog;
|
||||||
import cpw.mods.fml.common.registry.GameRegistry;
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
import cpw.mods.fml.common.registry.ItemData;
|
import cpw.mods.fml.common.registry.ItemData;
|
||||||
import net.minecraft.src.CompressedStreamTools;
|
|
||||||
import net.minecraft.src.INetworkManager;
|
|
||||||
import net.minecraft.src.NBTTagCompound;
|
|
||||||
import net.minecraft.src.NBTTagList;
|
|
||||||
import net.minecraft.src.NetHandler;
|
|
||||||
import net.minecraft.src.WorldClient;
|
|
||||||
import static cpw.mods.fml.common.network.FMLPacket.Type.MOD_IDMAP;
|
import static cpw.mods.fml.common.network.FMLPacket.Type.MOD_IDMAP;
|
||||||
|
|
||||||
public class ModIdMapPacket extends FMLPacket {
|
public class ModIdMapPacket extends FMLPacket {
|
||||||
|
|
|
@ -6,7 +6,8 @@ import java.util.Collection;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
import com.google.common.io.ByteArrayDataInput;
|
import com.google.common.io.ByteArrayDataInput;
|
||||||
|
|
|
@ -8,7 +8,8 @@ import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
|
@ -10,7 +10,9 @@ import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import net.minecraft.shared.*;
|
import net.minecraft.nbt.NBTTagList;
|
||||||
|
import net.minecraft.network.*;
|
||||||
|
import net.minecraft.network.packet.*;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
|
@ -16,7 +16,8 @@ import cpw.mods.fml.common.versioning.ArtifactVersion;
|
||||||
import cpw.mods.fml.common.versioning.DefaultArtifactVersion;
|
import cpw.mods.fml.common.versioning.DefaultArtifactVersion;
|
||||||
import cpw.mods.fml.common.versioning.VersionRange;
|
import cpw.mods.fml.common.versioning.VersionRange;
|
||||||
|
|
||||||
import net.minecraft.shared.*
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
public class ModMissingPacket extends FMLPacket
|
public class ModMissingPacket extends FMLPacket
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,8 +5,6 @@ import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
import net.minecraft.shared.Packet131MapData;
|
|
||||||
|
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target(ElementType.TYPE)
|
@Target(ElementType.TYPE)
|
||||||
public @interface NetworkMod
|
public @interface NetworkMod
|
||||||
|
|
|
@ -4,7 +4,7 @@ import java.lang.reflect.Method;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.Item;
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
import com.google.common.base.Strings;
|
import com.google.common.base.Strings;
|
||||||
|
|
||||||
|
|
|
@ -6,19 +6,13 @@ import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.inventory.Container;
|
||||||
|
import net.minecraft.network.*;
|
||||||
|
import net.minecraft.network.packet.*;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.Container;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.shared.EntityPlayer;
|
|
||||||
import net.minecraft.shared.EntityPlayerMP;
|
|
||||||
import net.minecraft.shared.NetHandler;
|
|
||||||
import net.minecraft.shared.NetLoginHandler;
|
|
||||||
import net.minecraft.shared.NetServerHandler;
|
|
||||||
import net.minecraft.shared.INetworkManager;
|
|
||||||
import net.minecraft.shared.Packet131MapData;
|
|
||||||
import net.minecraft.shared.Packet1Login;
|
|
||||||
import net.minecraft.shared.Packet250CustomPayload;
|
|
||||||
import net.minecraft.shared.Packet3Chat;
|
|
||||||
import net.minecraft.shared.World;
|
|
||||||
|
|
||||||
import com.google.common.base.Charsets;
|
import com.google.common.base.Charsets;
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
import net.minecraft.shared.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.shared.NetHandler;
|
import net.minecraft.network.INetworkManager;
|
||||||
import net.minecraft.shared.INetworkManager;
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
|
||||||
import com.google.common.io.ByteArrayDataInput;
|
import com.google.common.io.ByteArrayDataInput;
|
||||||
import com.google.common.io.ByteArrayDataOutput;
|
import com.google.common.io.ByteArrayDataOutput;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package cpw.mods.fml.common.network;
|
package cpw.mods.fml.common.network;
|
||||||
|
|
||||||
|
import net.minecraft.entity.player.EntityPlayerMP;
|
||||||
|
import net.minecraft.network.packet.Packet;
|
||||||
|
import net.minecraft.network.packet.Packet131MapData;
|
||||||
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.EntityPlayerMP;
|
|
||||||
import net.minecraft.shared.Packet;
|
|
||||||
import net.minecraft.shared.Packet131MapData;
|
|
||||||
import net.minecraft.shared.Packet250CustomPayload;
|
|
||||||
import cpw.mods.fml.common.FMLCommonHandler;
|
import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
import cpw.mods.fml.common.FMLLog;
|
import cpw.mods.fml.common.FMLLog;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ package cpw.mods.fml.common.registry;
|
||||||
|
|
||||||
import java.util.BitSet;
|
import java.util.BitSet;
|
||||||
|
|
||||||
import net.minecraft.shared.Block;
|
import net.minecraft.block.Block;
|
||||||
|
|
||||||
class BlockTracker
|
class BlockTracker
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,13 +7,13 @@ import java.util.Map;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.BiomeGenBase;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.shared.Entity;
|
import net.minecraft.entity.EntityList;
|
||||||
import net.minecraft.shared.EntityList;
|
import net.minecraft.entity.EntityLiving;
|
||||||
import net.minecraft.shared.EntityLiving;
|
import net.minecraft.entity.EntityTracker;
|
||||||
import net.minecraft.shared.EntityTracker;
|
import net.minecraft.entity.EnumCreatureType;
|
||||||
import net.minecraft.shared.EnumCreatureType;
|
import net.minecraft.world.biome.BiomeGenBase;
|
||||||
import net.minecraft.shared.SpawnListEntry;
|
import net.minecraft.world.biome.SpawnListEntry;
|
||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
import com.google.common.collect.ArrayListMultimap;
|
import com.google.common.collect.ArrayListMultimap;
|
||||||
|
|
|
@ -7,19 +7,22 @@ import java.util.Set;
|
||||||
import java.util.concurrent.CountDownLatch;
|
import java.util.concurrent.CountDownLatch;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import net.minecraft.shared.BiomeGenBase;
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.shared.CraftingManager;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.shared.EntityItem;
|
import net.minecraft.inventory.IInventory;
|
||||||
import net.minecraft.shared.EntityPlayer;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.shared.FurnaceRecipes;
|
import net.minecraft.item.ItemBlock;
|
||||||
import net.minecraft.shared.IChunkProvider;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.shared.IInventory;
|
import net.minecraft.item.crafting.CraftingManager;
|
||||||
import net.minecraft.shared.IRecipe;
|
import net.minecraft.item.crafting.FurnaceRecipes;
|
||||||
import net.minecraft.shared.ItemBlock;
|
import net.minecraft.item.crafting.IRecipe;
|
||||||
import net.minecraft.shared.ItemStack;
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraft.shared.TileEntity;
|
import net.minecraft.nbt.NBTTagList;
|
||||||
import net.minecraft.shared.World;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.shared.WorldType;
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraft.world.WorldType;
|
||||||
|
import net.minecraft.world.biome.BiomeGenBase;
|
||||||
|
import net.minecraft.world.chunk.IChunkProvider;
|
||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
import com.google.common.collect.ArrayListMultimap;
|
import com.google.common.collect.ArrayListMultimap;
|
||||||
|
@ -136,7 +139,7 @@ public class GameRegistry
|
||||||
public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception
|
public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception
|
||||||
{
|
{
|
||||||
Object o = type.getConstructor(int.class).newInstance(findSpareBlockId());
|
Object o = type.getConstructor(int.class).newInstance(findSpareBlockId());
|
||||||
registerBlock((net.minecraft.shared.Block) o);
|
registerBlock((net.minecraft.block.Block) o);
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,7 +157,7 @@ public class GameRegistry
|
||||||
* Register a block with the world
|
* Register a block with the world
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static void registerBlock(net.minecraft.shared.Block block)
|
public static void registerBlock(net.minecraft.block.Block block)
|
||||||
{
|
{
|
||||||
registerBlock(block, ItemBlock.class);
|
registerBlock(block, ItemBlock.class);
|
||||||
}
|
}
|
||||||
|
@ -165,7 +168,7 @@ public class GameRegistry
|
||||||
* @param block
|
* @param block
|
||||||
* @param itemclass
|
* @param itemclass
|
||||||
*/
|
*/
|
||||||
public static void registerBlock(net.minecraft.shared.Block block, Class<? extends ItemBlock> itemclass)
|
public static void registerBlock(net.minecraft.block.Block block, Class<? extends ItemBlock> itemclass)
|
||||||
{
|
{
|
||||||
if (Loader.instance().isInState(LoaderState.CONSTRUCTING))
|
if (Loader.instance().isInState(LoaderState.CONSTRUCTING))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cpw.mods.fml.common.registry;
|
package cpw.mods.fml.common.registry;
|
||||||
|
|
||||||
import net.minecraft.src.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This interface should be implemented by an Entity that can be 'thrown', like snowballs.
|
* This interface should be implemented by an Entity that can be 'thrown', like snowballs.
|
||||||
|
|
|
@ -2,6 +2,9 @@ package cpw.mods.fml.common.registry;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
|
||||||
import com.google.common.base.Objects;
|
import com.google.common.base.Objects;
|
||||||
import com.google.common.collect.HashMultiset;
|
import com.google.common.collect.HashMultiset;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
@ -9,9 +12,6 @@ import com.google.common.collect.Multiset;
|
||||||
|
|
||||||
import cpw.mods.fml.common.ModContainer;
|
import cpw.mods.fml.common.ModContainer;
|
||||||
|
|
||||||
import net.minecraft.src.Item;
|
|
||||||
import net.minecraft.src.NBTTagCompound;
|
|
||||||
|
|
||||||
public class ItemData {
|
public class ItemData {
|
||||||
|
|
||||||
private static Map<String, Multiset<String>> modOrdinals = Maps.newHashMap();
|
private static Map<String, Multiset<String>> modOrdinals = Maps.newHashMap();
|
||||||
|
|
|
@ -7,10 +7,10 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import net.minecraft.shared.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.shared.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.shared.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.shared.StringTranslate;
|
import net.minecraft.util.StringTranslate;
|
||||||
|
|
||||||
public class LanguageRegistry
|
public class LanguageRegistry
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,14 +5,12 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import net.minecraft.shared.ComponentVillageStartPiece;
|
import net.minecraft.entity.EntityVillager;
|
||||||
import net.minecraft.shared.EntityVillager;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.shared.Item;
|
import net.minecraft.util.Tuple;
|
||||||
import net.minecraft.shared.MapGenVillage;
|
import net.minecraft.village.MerchantRecipeList;
|
||||||
import net.minecraft.shared.MerchantRecipeList;
|
import net.minecraft.world.gen.structure.ComponentVillageStartPiece;
|
||||||
import net.minecraft.shared.StructureVillagePieceWeight;
|
import net.minecraft.world.gen.structure.StructureVillagePieceWeight;
|
||||||
import net.minecraft.shared.StructureVillagePieces;
|
|
||||||
import net.minecraft.shared.Tuple;
|
|
||||||
|
|
||||||
import com.google.common.collect.ArrayListMultimap;
|
import com.google.common.collect.ArrayListMultimap;
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
|
|
|
@ -17,12 +17,13 @@ import java.util.List;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.collect.MapDifference;
|
import com.google.common.collect.MapDifference;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.network.INetworkManager;
|
||||||
|
import net.minecraft.network.packet.NetHandler;
|
||||||
|
import net.minecraft.network.packet.Packet;
|
||||||
|
import net.minecraft.network.packet.Packet131MapData;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.shared.Entity;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.shared.NetHandler;
|
|
||||||
import net.minecraft.shared.Packet;
|
|
||||||
import net.minecraft.shared.Packet131MapData;
|
|
||||||
import net.minecraft.shared.World;
|
|
||||||
import cpw.mods.fml.common.FMLCommonHandler;
|
import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
import cpw.mods.fml.common.IFMLSidedHandler;
|
import cpw.mods.fml.common.IFMLSidedHandler;
|
||||||
import cpw.mods.fml.common.Loader;
|
import cpw.mods.fml.common.Loader;
|
||||||
|
|
Loading…
Reference in a new issue