Everything posted by Aurilux
-
How to make data 'visible' to all players
Alright, so I did already look at that tutorial (plus a few others) before I posted this but I decided to take another look at it just in case. As I understand it, packets are only necessary when data changes and not when data needs to be retrieved/accessed. All of my packets function properly. I used println's to verify that they are triggered correctly at all phases, yet it still doesn't work. I imagine my issue now is not marking a function with @SideOnly(Side.CLIENT) or the place were my data is stored for some reason is just not on the server. I've tried moving it to CommonProxy but that didn't have any effect. Could someone explain where variables should be (in specific classes?) so that they can be accessed by each client?
-
How to make data 'visible' to all players
I am doing something similar to iChun's Hats mod where players can unlock titles by completing achievements. Using a gui they can choose which of their available titles will be displayed in their name tag. The issue I am encountering is that the arraylists that store which players have unlocked which titles is not visible to players who join through LAN (thus I guess also those who join an actual server). I understand the issue I have involves communicating between client and server, but I don't know how to approach it. Any insight would be appreciated, even if it's a mod that provides a simple example. The link to the code is here: https://github.com/Aurilux/Titles. It also uses some classes from my core library which is here: https://github.com/Aurilux/ArdentCore.
-
GetEntitiesWithinAABBExludingEntity is not returning entities within boundingbox
Though I can't tell immediately with the code you provided, but it could be that the chunk you are checking isn't loaded. worldObj.getEntitiesWithinAABB checks whether or not the chunk is loaded before it determines which entities are within the specified area. Double check that the chunk is loaded by using 'worlObj.chunkExists(chunkCoordX, chunkCoordY)'.
-
[1.7.2] Creating an addon for Thaumcraft 4 and use classes of this mod
You know what Alix? You're awesome! Two days of visiting various irc's and messaging people on forums, and on your first response gave me exactly what I was looking for! Thank you SO much. I would highly suggest you make a tutorial and post it to minecraftforum.net. I am certain I am not the only one who would like this information. Thanks again!
-
[1.7.2] Creating an addon for Thaumcraft 4 and use classes of this mod
I am in the same situation as Santacreeper. I know that I need to use an api to work with another mod, however I don't know how to add it to my workspace to be able to work with it. I have never worked with another mod's api before so I have little idea where to start. Where do I put the api? Where do I need to put the thaumcraft mod itslef so its available to my dev environment (I am assuming I need this)? Is there anything else I need to know to make it work?
IPS spam blocked by CleanTalk.