
Failender
Forge Modder-
Posts
1091 -
Joined
-
Last visited
Everything posted by Failender
-
couldnt agree more :'D
-
what the hell is this code? public class itemJoint{ public itemJoint(){} static class smokeJoint extends Item{ the item u return is the item that got right clicked. so if u want to consume the inventory u just need to decrement the stack u get in the args, or return null if the stack is empty
-
https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html I dont believe ur company is youtube so dont name it youtube
-
dont name ur packages like that.
-
check the name of ur files and what u wrote in them
-
[16:35:50] [Client thread/ERROR] [FML]: Model definition for location zaubermod:furnancec#inventory not found
-
post ur log when starting the game (use spoiler tags pls)
-
@EventHandler public void Init(FMLInitializationEvent event){ registerBlock(blockFurnanceC, "furnancec"); } public void registerBlock(Block block, String name){ GameRegistry.registerBlock(block, name); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation("zaubermod:" + name, "inventory")); }
-
never. ever. under no circumstance. save that bool in the block class. every single block u place shares the same instance of block. if u want to save different values u need to use the tileentity, u can access that via world.getTileEntity
-
yes he does read his post. are u getting any errors in the console? are u sure that u got everything spelled right?
-
Show ur attempts and specify the problem
-
thats beyond my abilities. u need to deal with open gl, which i have never done. maybe ull find sth on the internet
-
learn java please then come back. there is no other good way.
-
[1.8] [Eclipse] Working with multiple mods
Failender replied to JoelGodOfWar's topic in Modder Support
create each project separate, then use import project on the folder where the build.gradle file is in -
hmm... maybe use playertickevent get all Entites around the player and push them away from the player
-
if u dont know how to start it might be 2 hard 4 u. a force field is nothing else then a lot of blocks that are unpassable.
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
Failender replied to ItsAMysteriousYT's topic in Modder Support
only read the position and access the tileentity when you need it -
if i get u right. u want to save a set of data for each of ur blocks to create a beam in a specific angle. so i recommend u to save these angles inside a tileentity, yes.
-
sounds like a case for TileEntities. Make the Block shootin the beam a TileEntity and store the information inside. For more informations on how to use TileEntities ask google, ull find a lot
-
more information please we are no wizards. when do u want to store, when to access, how to use
-
[1.7.10]How to Send a chat from Client Side Only or ServerSide only
Failender replied to Thornack's topic in Modder Support
1. wrong section 2. this is wrong. you cant add a chat message to a player from client side just from saying addChatMessage, except of if the player is you. If you want to add a ChatMessage u need to use PacketChatMessage -
[1.7.10] Can potions effects running out kill a player?
Failender replied to American2050's topic in Modder Support
in the minecraft folder there should be a folder called logs , where there is ALWAYS the latest.log so they have a log even if it wont crash -
[1.7.10] @SideOnly(Side.CLIENT) Not use it anymore?
Failender replied to American2050's topic in Modder Support
http://www.minecraftforge.net/forum/index.php/topic,22764.0.html EDIT: thats the general answer for it. but there are things that are already client only, like icons, so keep using things like vanilla did -
1.8 How can I make a TileEntitySpecialRenderer aware of GUI closing
Failender replied to GalianRyu's topic in Modder Support
Hint of the day: Read the chest code and understand it. Best tutorial u can find -
[1.7.10] are "unsafe" enchantments a bad idea?
Failender replied to kauan99's topic in Modder Support
I am not sure. There are two things that should be possible. 1. It is really strong (which I think is the thing that should happen) 2. It wont enchant level 10 but sth lower, like 5 bc is highest smite