Merge branch 'master' of https://github.com/TechReborn/TechReborn
Conflicts: src/main/java/techreborn/partSystem/IModPart.java src/main/java/techreborn/partSystem/QLib/QModPart.java src/main/java/techreborn/partSystem/fmp/FMPModPart.java src/main/java/techreborn/partSystem/parts/CablePart.java src/main/java/techreborn/partSystem/parts/NullPart.java
This commit is contained in:
commit
d6797868fb
141 changed files with 10649 additions and 7299 deletions
|
@ -4,8 +4,13 @@
|
|||
|
||||
package techreborn.partSystem;
|
||||
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
@ -16,16 +21,21 @@ import uk.co.qmunity.lib.client.render.RenderHelper;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
/**
|
||||
* This is based of https://github.com/Qmunity/QmunityLib/blob/master/src/main/java/uk/co/qmunity/lib/part/IPart.java
|
||||
* This is based of
|
||||
* https://github.com/Qmunity/QmunityLib/blob/master/src/main/java
|
||||
* /uk/co/qmunity/lib/part/IPart.java
|
||||
* <p/>
|
||||
* You should not be implementing this.
|
||||
*/
|
||||
public interface IModPart {
|
||||
|
||||
/**
|
||||
* Adds all of this part's collision boxes to the list. These boxes can depend on the entity that's colliding with them.
|
||||
* Adds all of this part's collision boxes to the list. These boxes can
|
||||
* depend on the entity that's colliding with them.
|
||||
*/
|
||||
public void addCollisionBoxesToList(List<Vecs3dCube> boxes, Entity entity);
|
||||
|
||||
|
@ -34,7 +44,6 @@ public interface IModPart {
|
|||
*/
|
||||
public List<Vecs3dCube> getSelectionBoxes();
|
||||
|
||||
|
||||
/**
|
||||
* Gets this part's occlusion boxes.
|
||||
*/
|
||||
|
@ -48,7 +57,8 @@ public interface IModPart {
|
|||
|
||||
/**
|
||||
* Renders this part statically. A tessellator has alredy started drawing. <br>
|
||||
* Only called when there's a block/lighting/render update in the chunk this part is in.
|
||||
* Only called when there's a block/lighting/render update in the chunk this
|
||||
* part is in.
|
||||
*/
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean renderStatic(Vecs3d translation, RenderHelper renderHelper, int pass);
|
||||
|
@ -104,7 +114,8 @@ public interface IModPart {
|
|||
public void tick();
|
||||
|
||||
/**
|
||||
* Called when a block or part has been changed. Can be used for cables to check nearby blocks
|
||||
* Called when a block or part has been changed. Can be used for cables to
|
||||
* check nearby blocks
|
||||
*/
|
||||
public void nearByChange();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue