
Failender
Forge Modder-
Posts
1091 -
Joined
-
Last visited
Everything posted by Failender
-
I am seriously not a json pro. but could be this "builtin/generated"
-
u cant make the parent of ur item ur item. { "parent": "ms:builtin/sword_of_chaos", "textures": { "layer0": "ms:items/sword_of_chaos"
-
Just realized F12 was wrong anyway. F12 was for Microsoft Visual Studio, eclipse is F3. But I guess diesieben is also a smart man
-
why would u open another topic for that?!
-
fastest way of finding the exact source file u want is to just write it randomly anywhere, e.g. ContainerFurnace, then press F12 on it and eclipse will bring u to the file.
-
https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe31_inventory_furnace
-
[1.7.10] Change Stored Tile Entity Values on Right-Click
Failender replied to turbodiesel4598's topic in Modder Support
u need to synchronize the tileentities -
[1.7.10] Change Stored Tile Entity Values on Right-Click
Failender replied to turbodiesel4598's topic in Modder Support
so whats the problem? -
assets folder
-
[1.7.10] Strange Crash (Ticking Block Entity)
Failender replied to turbodiesel4598's topic in Modder Support
ur welcome. glad i could help -
[1.7.10] Strange Crash (Ticking Block Entity)
Failender replied to turbodiesel4598's topic in Modder Support
Well. I wont be reading that line for line to find the error. Try using some sysos to find the error. I can tell you that u are getting an endless loop, because there is something messed up in the fuel1() method, and I think it is the part where u determine if the block is the main block -
[1.7.10] Strange Crash (Ticking Block Entity)
Failender replied to turbodiesel4598's topic in Modder Support
public boolean isMain() { return getMain() != null ? isMain : false; } this method looks suspicious. are u ever setting the variable isMain? -
[1.7.10] Strange Crash (Ticking Block Entity)
Failender replied to turbodiesel4598's topic in Modder Support
so. in ur method fuel1() u are calling ure method fuel1() where u are calling fuel1() where u are calling fuel1().. i guess u can see where this is going -
@Override public int getRenderType() { return 3; } add this to ur block class. thank me later.
-
how to you get the world without a method. 1.7.10
Failender replied to BoonieQuafter-CrAfTeR's topic in Modder Support
if u cant reference it without that ull probably dont need it -
[1.7.10] Strange Crash (Ticking Block Entity)
Failender replied to turbodiesel4598's topic in Modder Support
show the method fuel1. seems like u got an endless loop there. -
how to you get the world without a method. 1.7.10
Failender replied to BoonieQuafter-CrAfTeR's topic in Modder Support
youll get the world the player is in. You dont need a worldObj. Just use the update method from the item. -
[solved][1.8] Change size of player inventory
Failender replied to Failender's topic in Modder Support
Perfect sir! That was exactly what I needed! Now I just need to find a solution for problem number two, rest of the things should take some time to figure out but be managable -
how to you get the world without a method. 1.7.10
Failender replied to BoonieQuafter-CrAfTeR's topic in Modder Support
well..... in ur getCoolDown u are calling isOffCooldown, where u are calling getCoolDown, where u are calling isOffCooldown where.... I think u know where this is going. If u want items to have cooldowns use onUpdate method, save the cooldown inside the NBT and decrement that each tick. if u want to know if its off cooldown read the value from the nbt. no need for world objects. -
[solved][1.8] Change size of player inventory
Failender replied to Failender's topic in Modder Support
found out that the problem with the hotbar is that the inventory is not synced. opening and closing the gui syncs it, thats why its fixxed after that. I could sync it using packets in combination with PlayerEvent.ItemPickupEvent. First problem.. how can I prevent an item from beeing picked up? If I can prevent it I can simply do checks in the ItemPickupEvent event and if my inventory is full prevent pickup