Moved into techreborn/partSystem

This commit is contained in:
Modmuss50 2015-04-20 21:02:25 +01:00
parent 41795ef16d
commit df2ae8b335
20 changed files with 46 additions and 50 deletions

View file

@ -1,15 +1,15 @@
package techreborn.init; package techreborn.init;
import me.modmuss50.network.partSystem.ModPartRegistry; import techreborn.partSystem.ModPartRegistry;
import me.modmuss50.network.partSystem.block.WorldProvider; import techreborn.partSystem.block.WorldProvider;
import me.modmuss50.network.partSystem.parts.CablePart; import techreborn.partSystem.parts.CablePart;
public class ModParts { public class ModParts {
public static void init(){ public static void init(){
ModPartRegistry.registerPart(new CablePart()); ModPartRegistry.registerPart(new CablePart());
ModPartRegistry.addProvider("me.modmuss50.network.partSystem.QLib.QModPartFactory", "qmunitylib"); ModPartRegistry.addProvider("techreborn.partSystem.QLib.QModPartFactory", "qmunitylib");
ModPartRegistry.addProvider("me.modmuss50.network.partSystem.fmp.FMPFactory", "ForgeMultipart"); ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory", "ForgeMultipart");
ModPartRegistry.addProvider(new WorldProvider()); ModPartRegistry.addProvider(new WorldProvider());
ModPartRegistry.addAllPartsToSystems(); ModPartRegistry.addAllPartsToSystems();
} }

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem; package techreborn.partSystem;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem; package techreborn.partSystem;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem; package techreborn.partSystem;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem; package techreborn.partSystem;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item; import net.minecraft.item.Item;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem; package techreborn.partSystem;
import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.GameRegistry;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem; package techreborn.partSystem;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.QLib; package techreborn.partSystem.QLib;
import me.modmuss50.mods.lib.vecmath.Vecs3d; import me.modmuss50.mods.lib.vecmath.Vecs3d;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;

View file

@ -2,11 +2,11 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.QLib; package techreborn.partSystem.QLib;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.world.World; import net.minecraft.world.World;

View file

@ -2,14 +2,13 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.QLib; package techreborn.partSystem.QLib;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.IModPart; import techreborn.partSystem.IPartProvider;
import me.modmuss50.network.partSystem.IPartProvider; import techreborn.partSystem.ModPart;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPartRegistry;
import me.modmuss50.network.partSystem.ModPartRegistry;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;

View file

@ -2,12 +2,12 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.block; package techreborn.partSystem.block;
import me.modmuss50.mods.lib.client.ICustomHighlight; import me.modmuss50.mods.lib.client.ICustomHighlight;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.IModPart; import techreborn.partSystem.IModPart;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer; import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;

View file

@ -2,11 +2,11 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.block; package techreborn.partSystem.block;
import me.modmuss50.mods.lib.vecmath.Vecs3d; import me.modmuss50.mods.lib.vecmath.Vecs3d;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL11;

View file

@ -2,13 +2,13 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.block; package techreborn.partSystem.block;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import me.modmuss50.network.partSystem.ModPartRegistry; import techreborn.partSystem.ModPartRegistry;
import me.modmuss50.network.partSystem.parts.NullPart; import techreborn.partSystem.parts.NullPart;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList; import net.minecraft.nbt.NBTTagList;

View file

@ -2,14 +2,14 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.block; package techreborn.partSystem.block;
import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.GameRegistry;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.IPartProvider; import techreborn.partSystem.IPartProvider;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;

View file

@ -1,12 +1,12 @@
package me.modmuss50.network.partSystem.client; package techreborn.partSystem.client;
import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3d; import me.modmuss50.mods.lib.vecmath.Vecs3d;
import me.modmuss50.network.partSystem.IModPart; import techreborn.partSystem.IModPart;
import me.modmuss50.network.partSystem.ModPartItem; import techreborn.partSystem.ModPartItem;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.Tessellator;

View file

@ -2,7 +2,7 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.fmp; package techreborn.partSystem.fmp;
import codechicken.lib.vec.BlockCoord; import codechicken.lib.vec.BlockCoord;
import codechicken.lib.vec.Cuboid6; import codechicken.lib.vec.Cuboid6;
@ -12,9 +12,9 @@ import codechicken.multipart.TMultiPart;
import codechicken.multipart.TileMultipart; import codechicken.multipart.TileMultipart;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.IPartProvider; import techreborn.partSystem.IPartProvider;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import me.modmuss50.network.partSystem.ModPartRegistry; import techreborn.partSystem.ModPartRegistry;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;

View file

@ -2,13 +2,12 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.fmp; package techreborn.partSystem.fmp;
import codechicken.lib.raytracer.IndexedCuboid6; import codechicken.lib.raytracer.IndexedCuboid6;
import codechicken.lib.vec.Cuboid6; import codechicken.lib.vec.Cuboid6;
import codechicken.lib.vec.Vector3; import codechicken.lib.vec.Vector3;
import codechicken.microblock.CommonMicroblock;
import codechicken.microblock.ISidedHollowConnect; import codechicken.microblock.ISidedHollowConnect;
import codechicken.multipart.JNormalOcclusion; import codechicken.multipart.JNormalOcclusion;
import codechicken.multipart.NormalOcclusionTest; import codechicken.multipart.NormalOcclusionTest;
@ -19,13 +18,12 @@ import cpw.mods.fml.relauncher.SideOnly;
import me.modmuss50.mods.lib.Location; import me.modmuss50.mods.lib.Location;
import me.modmuss50.mods.lib.vecmath.Vecs3d; import me.modmuss50.mods.lib.vecmath.Vecs3d;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.util.AxisAlignedBB; import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World; import net.minecraft.world.World;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator;
import java.util.List; import java.util.List;
public class FMPModPart extends TMultiPart implements TSlottedPart, JNormalOcclusion, ISidedHollowConnect { public class FMPModPart extends TMultiPart implements TSlottedPart, JNormalOcclusion, ISidedHollowConnect {

View file

@ -2,14 +2,14 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.fmp; package techreborn.partSystem.fmp;
import codechicken.lib.vec.BlockCoord; import codechicken.lib.vec.BlockCoord;
import codechicken.lib.vec.Vector3; import codechicken.lib.vec.Vector3;
import codechicken.multipart.JItemMultiPart; import codechicken.multipart.JItemMultiPart;
import codechicken.multipart.MultiPartRegistry; import codechicken.multipart.MultiPartRegistry;
import codechicken.multipart.TMultiPart; import codechicken.multipart.TMultiPart;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.world.World; import net.minecraft.world.World;

View file

@ -1,12 +1,11 @@
package me.modmuss50.network.partSystem.parts; package techreborn.partSystem.parts;
import ic2.api.energy.tile.IEnergyTile; import ic2.api.energy.tile.IEnergyTile;
import ic2.core.block.wiring.RenderBlockCable;
import me.modmuss50.mods.lib.Functions; import me.modmuss50.mods.lib.Functions;
import me.modmuss50.mods.lib.vecmath.Vecs3d; import me.modmuss50.mods.lib.vecmath.Vecs3d;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import me.modmuss50.network.partSystem.ModPartUtils; import techreborn.partSystem.ModPartUtils;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;

View file

@ -2,11 +2,11 @@
* This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project. * This file was made by modmuss50. View the licence file to see what licence this is is on. You can always ask me if you would like to use part or all of this file in your project.
*/ */
package me.modmuss50.network.partSystem.parts; package techreborn.partSystem.parts;
import me.modmuss50.mods.lib.vecmath.Vecs3d; import me.modmuss50.mods.lib.vecmath.Vecs3d;
import me.modmuss50.mods.lib.vecmath.Vecs3dCube; import me.modmuss50.mods.lib.vecmath.Vecs3dCube;
import me.modmuss50.network.partSystem.ModPart; import techreborn.partSystem.ModPart;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;