Failender
Forge Modder-
Posts
1091 -
Joined
-
Last visited
Everything posted by Failender
-
[1.7.10] Attempting to Work With Listeners
Failender replied to HalestormXV's topic in Modder Support
why are you using listener if it is ur own dimension? If u dont want entities to spawn there remove them from the spawn list? -
[UNSOLVED]Strange things happen with my energysystem[1.8]
Failender replied to ItsAMysteriousYT's topic in Modder Support
stop bumping every 2 hours. if some1 is reading he will answer. -
[1.7.10] are "unsafe" enchantments a bad idea?
Failender replied to kauan99's topic in Modder Support
-
you mean you are looking for advice on coding a multitextured block?
-
Controlling direction of Large Fireball projectile [SOLVED]
Failender replied to King_Arthur_III's topic in Modder Support
u can take these values from the player. should be pitch yaw aaaaand.. dont know what the third was.. raw? search ur ide for it EDIT: i think it was roll pitch and yaw -
[UNSOLVED]Strange things happen with my energysystem[1.8]
Failender replied to ItsAMysteriousYT's topic in Modder Support
public class ItemCable extends Item{ private static TileEntity_Electric lastTile; i told you this already in two other posts. DONT USE STATIC if you have NO idea what it is doing. Dont save variables in the item classs u need to use NBT if u want them to save data -
i think pickaxe must be lowercase in set harvest level.
-
public void drawTexturedModalRect(int x, int y, int textureX, int textureY, int width, int height)
-
drawTexturedModalRect takes the startX, startY, sizeX, and sizeY as args.. use ur IDE
-
if you would know a bit about java you would know.. reworking can smelt and smeltitem should do everything
-
also where r u registering custom recipes? I wont search your whole repo for that give us some more information if u want help srsly
-
1. your code formatting is a total mess and nearly unreadable. 2. you just copied vanilla code and hoped that itll work. private boolean canSmelt() { if (this.Total_slots[0] == null) { return false; } else { ItemStack itemstack = FurnaceRecipes.instance().getSmeltingResult(this.Total_slots[0]); if (itemstack == null) return false; if (this.Total_slots[2] == null) return true; if (!this.Total_slots[2].isItemEqual(itemstack)) return false; int result = Total_slots[2].stackSize + itemstack.stackSize; return result <= getInventoryStackLimit() && result <= this.Total_slots[2].getMaxStackSize(); //Forge BugFix: Make it respect stack sizes properly. } } you want to use ur custom recipes, but you are chjecking for FurnaceRecipes.
-
define not working. I wont read a whole git repo without knowing anyhting
-
all so complicated.. just use this http://www.minecraftforge.net/forum/index.php/topic,23133.0.html
-
First things first. There are some serious problems in your code. 1. EntityPlayerSP user = Minecraft.getMinecraft().thePlayer; Why are you doing that? There is no need to do that and also this will crash if you load the mod on a server, because the Minecraft class is Client sided. 2. public Events(ChatControlMain main) { classMain = main; } There is really no need to save a reference to ur main class in ur Events class if ur Main class has a static instance. Right now I am not sure why ur events arent getting called.
-
Why are you passing this as arg for the events class..? Show the whole classes pls Dat misslick on thank you tho
-
if(bool) addSlotToContainer..?
-
Yes thats possible. Should also be possible, but take some mind power to make it work. U could simply do checks like "if the block is in the lowest row only output if the tank is 20% filled"