Thank you for your response! I will tweak a bit more with my .json files( I use Mr. Crayfish's model creator for the base and make tweaks by myself ) to see if I can set it manually.
I am kind of confused, if the Tile Entity Special Renderer doesn't exist, how can I still extend it and have methods? I don't understand they why in the world they would keep the files if they were going to break all the methods anyway. Eh, what can you do. Thanks anyway!
maybe i should mess around with the item frame code and see what i find
Well, you can't extend the Tile Entity Special Renderer. So sounds like you are porting a mod from 1.7.10 to 1.8. In that case you must rewrite all your blocks that used a TESR. Use the new block state system instead. Also replace any textures for the blocks with .json files you can create in Mr. Crayfish's model creator.
I'm no expert on this subject, but that is what I think you need to do. Usually once I declare something like this, some export on the subject will come along and correct me, so just wait a few hours to see if you get better advice
Now some people are refusing to port to 1.8, with this being the reason they give (among other reasons). So it is certainly your option to just use 1.7.10 and a TESR, no one is forcing you to use 1.8
Edit: So of course someone posts before I can finish my post I'll have to look into this. Last I looked, much of the previous code using TESR in MC was changed to use block states instead. Possibly they left the TESR in just to be compatible with some stuff from 1.7.10?
As far as I know, there is no Tile Entity Special Renderer in 1.8.8. They have done away with that. You now need to use a .json and have block states. I don't understand why or much about this. I did manage to make a couple blocks work with this. I used the bed as an example. If you can find a better example, that would be great. Also any of the crops in MC use the states also.
Here is one block I coded where you can see this in action:
This says only include this code on the client. Normally you only add this when you override a MC function that already has that. I'm guessing it works because you really only do anything if on the client side, since you also have:
if (!e.player.worldObj.isRemote){
Which is code that would never return false because it only runs on the client.
I don't see what is wrong with the code, but as a side note, when you name something itemvalue, it should actually be an object of type Item. That is the naming convention used everywhere in MC. It should not be a random int value.
So looks like you can combine the results from a few of these answers. In something like the LivingUpdateEvent, check the biome the player is in. You can read about events here:
If they are in your custom biome, then you can do something like mentioned above. If you just want them to hear the sound, you can simply play the sound at random intervals.
While I understand your eagerness to jump into modding, you should learn how programming works before you continue. It will help you understand simple things like this.
Ya, from the thread title, I thought I might read about something advanced, but this is just about basic Java syntax
Cannot wait! Hopefully someone will make an ARK Island map.
Also will there be more dinosaurs after the 1.0 release? Or will it just be raptor and dodo?
Yes, we will have "The Island". You will be able to chose to play a random map or "The Island".
Don't know how many dinosaurs. The goal is to have at least one of each "category". But if everything is complete but the dinosaurs, I suspect we will release with whatever dinosaurs we have.
I Love This Mod,But Have Any News,Models,GUI's And New Concepts,I Want See More Of This Mod
The thread owner is kind of busy with school at the moment, so doesn't have time to update this thread every week, but we are making progress, really
I'm working on the GUIs, which include things like the taming of dinosaurs and the inventory for them. These were added recently. I've added a GUI for crafting, kind of like the one in ARK you get when you press I. Some things will work like in MC some like in ARK. So for instance, to put the saddle on the dino, you open the inventory and move the saddle from your inventory to the saddle slot.
This is going to be very cool when done, but it takes time. Please be patient.
It would be pretty nice to get a pre-release, or a series of pre-releases, with all the Stable features that are available at the time of each release. That way us players would have a bone to gnaw on as you guys work. Just a thought. I'm EXTREMELY HYPED for this!
When it is ready and when it is stable, you will get a release.There won't be a stable release before it is ready, so really, we are doing the best we can. The best way you can get this sooner, is if you know anyone that codes models (not makes them, does the Java code), send them our way. We could use one more coder for the models.
You know you can edit your own posts, right? I would suggest editing the first post to make it more clear what you are trying to do.
I think you are saying you want to use the pureEnderCore (please don't generically refer to it as "the item" if it has a name) 50 times, so you could give it a durability of 50, and damage it by 1 for each use, then when it gets to 0, you destroy it. I do this in the Crop Plot in ARKCraft to allow feces or fertilizer to be used for a certain number of seconds before it decomposes.
0
Sorry, no. I don't work on Minecraft mods anymore.
0
ARKCraft? Right by the title of the thread it says 1.8.
0
Well, you can't extend the Tile Entity Special Renderer. So sounds like you are porting a mod from 1.7.10 to 1.8. In that case you must rewrite all your blocks that used a TESR. Use the new block state system instead. Also replace any textures for the blocks with .json files you can create in Mr. Crayfish's model creator.
I'm no expert on this subject, but that is what I think you need to do. Usually once I declare something like this, some export on the subject will come along and correct me, so just wait a few hours to see if you get better advice
Now some people are refusing to port to 1.8, with this being the reason they give (among other reasons). So it is certainly your option to just use 1.7.10 and a TESR, no one is forcing you to use 1.8
Edit: So of course someone posts before I can finish my post I'll have to look into this. Last I looked, much of the previous code using TESR in MC was changed to use block states instead. Possibly they left the TESR in just to be compatible with some stuff from 1.7.10?
0
As far as I know, there is no Tile Entity Special Renderer in 1.8.8. They have done away with that. You now need to use a .json and have block states. I don't understand why or much about this. I did manage to make a couple blocks work with this. I used the bed as an example. If you can find a better example, that would be great. Also any of the crops in MC use the states also.
Here is one block I coded where you can see this in action:
https://github.com/SolarCactus/ARKCraft-Code/blob/master/src/main/java/com/arkcraft/mod/common/blocks/BlockCropPlot.java
0
Here are the ones I used:
http://greyminecraftcoder.blogspot.com.au/2015/01/gui-containers.html
http://jabelarminecraft.blogspot.com/p/minecraft-forge-1721710-gui-and-input.html
http://www.minecraftforge.net/wiki/Containers_and_GUIs
0
Not sure how your code works at all
Before the event you have this:
@SideOnly(Side.CLIENT)
This says only include this code on the client. Normally you only add this when you override a MC function that already has that. I'm guessing it works because you really only do anything if on the client side, since you also have:
if (!e.player.worldObj.isRemote){
Which is code that would never return false because it only runs on the client.
I don't see what is wrong with the code, but as a side note, when you name something itemvalue, it should actually be an object of type Item. That is the naming convention used everywhere in MC. It should not be a random int value.
0
So looks like you can combine the results from a few of these answers. In something like the LivingUpdateEvent, check the biome the player is in. You can read about events here:
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2195105-a-coherent-guide-to-minecraft-forge-events
If they are in your custom biome, then you can do something like mentioned above. If you just want them to hear the sound, you can simply play the sound at random intervals.
1
Ya, from the thread title, I thought I might read about something advanced, but this is just about basic Java syntax
0
Yes, we will have "The Island". You will be able to chose to play a random map or "The Island".
Don't know how many dinosaurs. The goal is to have at least one of each "category". But if everything is complete but the dinosaurs, I suspect we will release with whatever dinosaurs we have.
0
So what are you setting them to that doesn't work?
My understanding of this, is the maximum size of a block is 1 x 1 x 1, so you can't set any of the values larger than 1.
So is that what you are doing?
I think if you look at how doors or beds work, they are actually made of multiple blocks (2 for those).
0
How about you tell us what you did try?
0
So your item is disappearing when you add it to the player's inventory? If this is a GUI you made, then the likely cause is that you are not running a required bit of code (probably the container) on both the server and client side. See this post with a similar problem: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2549502-cant-pick-up-move-items-in-custom-gui#c6
0
The thread owner is kind of busy with school at the moment, so doesn't have time to update this thread every week, but we are making progress, really
I'm working on the GUIs, which include things like the taming of dinosaurs and the inventory for them. These were added recently. I've added a GUI for crafting, kind of like the one in ARK you get when you press I. Some things will work like in MC some like in ARK. So for instance, to put the saddle on the dino, you open the inventory and move the saddle from your inventory to the saddle slot.
This is going to be very cool when done, but it takes time. Please be patient.
0
When it is ready and when it is stable, you will get a release.There won't be a stable release before it is ready, so really, we are doing the best we can. The best way you can get this sooner, is if you know anyone that codes models (not makes them, does the Java code), send them our way. We could use one more coder for the models.
0
You know you can edit your own posts, right? I would suggest editing the first post to make it more clear what you are trying to do.
I think you are saying you want to use the pureEnderCore (please don't generically refer to it as "the item" if it has a name) 50 times, so you could give it a durability of 50, and damage it by 1 for each use, then when it gets to 0, you destroy it. I do this in the Crop Plot in ARKCraft to allow feces or fertilizer to be used for a certain number of seconds before it decomposes.