Everything posted by Failender
-
CoFH RedstoneFlux API usage
Welll Your Machine is both, an energy receiver and an energy storage, isnt it
-
Help with crafting
You got diesieben wrong..he wasnt saying that you need to set kt to null. He was saying you are passing a variable in that line that is null by The time you are using it.
-
[1.8] Creating a block, thats its owner can walk through
well this works great if I try to walk through one of those blocks. but if I stack two of them it wont let me pass and i start taking dmg, like im stuck inside a wall
-
[1.8] Creating a block, thats its owner can walk through
Hey everyone, I am triing to make a block that its owner can walk through. I found out that my solution might be overwriting isPassable in the class, but it seems like this isnt getting called every time someone tries to walk through. So right now I am out of ideas and could use some input
-
Topic: My code is acting weird.
10 bucks some1 will copy that code and post in the forum, totally confused that its throwing errors
-
Topic: My code is acting weird.
If you want examples, here you got an example for like everything. For everything else, start learning java, start watching tutorials on how to mod. https://github.com/TheGreyGhost/MinecraftByExample
-
Keeps crashing
well.. you register your blocks and after that you initialize them.. read ur error, ur blocks arent initialized when registered, so ull get a NPE
-
[Solved] Get the block the Player is mining.
PlayerInteractEvent. and this should give u the mined block
-
[1.7.10]Most sane way to sync information from the server to the client gui?
if you need packets, yes. but u wont always need them for syncing.
-
Main menu event and getting uuid
The event you are looking for should be GuiOpendedEvent (or sth like that) there you should check if The opened gui is The Main Menu. Have in mind that The player comes back to The Main Menu when logging out of a game, so you should check if your player is already logged in that 3rd Party thingy
-
make colored glass drop itself
There is a special event for setting The drops of a block, you should take a look at HarvestDropsEvent (I think that was its Name)
-
Placing blocks
Block.getBlockFromItem(item)
-
[1.8] Errors while trying to make an Item
Whats The Problem with inline instation of items @cool?
-
[1.8] Errors while making the RegisterHelper class.
You should consider learning Java before writing a mod. It wont work any other way. Also read guides, there are enough talking about basics like registration of blocks
-
Possible to change hardness of meta blocks?
Aah I missunderstood The question ernio is right
-
Possible to change hardness of meta blocks?
Override getBlockHardness and make it depend on the meta I guess
-
[Unsolved] [1.8] Can't get texture to show up for entity similar to TNTPrimed
have you checked ur registration of the entity? json files etc
-
[1.7.10] Custom Furnac save items only in slot 0 When i restarting minecraf
Image NBT's like hashmaps. you give it the key and it gives u the value, no matter what u were reading before.
-
[1.7.10] Entity sounds
The real question is: why do you want to do that?
-
[SOLVED] Saving player in a Tile Entity
You should check for !isRemote on the worldObj in your onBlockActivated, so it gets only processed on server side and the server sends all needed informations to the client.
-
[SOLVED] Saving player in a Tile Entity
Define "doenst seem to work" When are you triing to access the information and how
-
[SOLVED][1.7.10]Changing name when commmand is fired and coloring string
@SubscribeEvent(priority=EventPriority.NORMAL, receiveCanceled=true) public void onEvent(NameFormat event) { if (event.username.equalsIgnoreCase("failender")) { event.displayname = event.username+" the modder"; } } This works for me. As for changing colors.. I dont know sorry Maybe show some code?
-
[1.8] Missunderstanding setHarvestLevel
I also thought about it and moved my calls to preInit.. nothing changed
-
[1.8][SOLVED] Implementing NBTTagStringArray.
One way to save string Arrays to NBT is use a Standard compound, set one integer Holding the length and then writing with a loop The compound,using String.valueOf(i) as key. But there might be better ways to do so
-
[1.8] PlayerEvent.HarvestCheck not fired when mining with tools
obviously bc i am dumb. I was just so deep in the code that I was like okay. minecraft is using one class for all the ores. so i should check for the unlocalized name. dumb me ill better go to bed now.
IPS spam blocked by CleanTalk.