
Posts posted by Cadiboo
-
-
No its not. Rendering code doesn't exist on the server, heres some documentation about sides that may be useful https://mcforge.readthedocs.io/en/latest/concepts/sides/
-
-
Edited by Cadiboo
put this code
for(Item item: allYourItems) { ModelLoader.setCustomModelResourceLocation(item, itemMeta, new ModelResourceLocation(new ResourceLocation(registryNameResourceNamespace, registryNameResourcePath), "normal")); }
In your ModelRegistryEvent. https://mcforge.readthedocs.io/en/latest/concepts/registries/#registering-things like this
//inside your event subscriber (@Mod.EventBusSubscriber(value=Side.CLIENT)) public class ClientEventSubscriber { @SideOnly(Side.CLIENT) @SubscribeEvent public (static) void onRegisterModelsEvent(final ModelRegistryEvent event) { //model registration code goes here } }
-
-
-
Edited by Cadiboo
I made a hook for this (closed it because of performance issues and some other reasons) https://github.com/MinecraftForge/MinecraftForge/pull/5166. I'm currently making a core mod to add these hooks (https://github.com/Cadiboo/NoCubes-Hooks) and I'm planning on working with grondag to make these hooks part of forge (read the comments on the PR).
I actually did something similar here where I render fluids inside invisible blocks and do some face culling based on the surrounding blocks.
Please note that what I've done in that PR and in that repository is absolutely horrendous for performance (I think, it could just be my old computer)
-
Sorry for the necro, but this problem is due data not being synced instantly to the client. Arrows don't have this problem because they have their data specially synced for them (EntityTrackerEntry#updatePlayerList on lines 229-255). The simple solution to this (and the one that Tinkers Construct uses) is to just extend EntityArrow and build everything on top of it. However this isn't a very elegant solution & results in side effects like arrow-related achievements being called on your entities.
Heres my thread with the same problem
and a good thread about the entity data manager where jabelar shows that arrows are specially handled
-
-
Edited by Cadiboo
Honestly there weren't that many additions (on the surface) that came in 1.13 so back porting the features probably won't be too hard (except for the water stuff, don't even try & touch that).
3 hours ago, Sty2000 said:hope it doesn't blow up in my face
Its still going to blow up in your face, theres no way around it
3 hours ago, Sty2000 said:I'm unaware if it's even legal to backport mc content or how to do so (i'd literally have to ask on the official forums or whatnot).
Its probably legal (very very probably, I'm not a lawyer though), however why would you back port stuff, thats the entire point of new versions.
3 hours ago, Sty2000 said:I understand that spamming Lex isn't the way to go; I'm also very impatient as a person and love some of the new 1.13 additions but can't stand vanilla mc.
Forge 1.13 is almost done, it only took so long because they chose this update to entirely rewrite both Forge Gradle & Forge Mod Loader and large parts of Forge. Feel free to take a look at
and
3 hours ago, Sty2000 said:on a sidenote is anyone willing to mentor me when it comes to coding a mod?
All of us are always happy to help, you should however know Java or another Object Oriented Programming (OOP) Language before trying to make a mod. You can make a topic, message us personally (don't if you are able to make a topic for it) and ask for help on the Forge Discord Chanel (https://discord.gg/UvedJ9m).
-
-
22 minutes ago, GABRIELM48448 said:
como faço para atualizar da versão 1.12.2-forge1.12.2-14.23.5.2769 para a mais recente que seria 1.12.2-forge1.12.2-14.23.5.2770 ? please help-me
22 minutes ago, GABRIELM48448 said:how do I upgrade from version 1.12.2-forge1.12.2-14.23.5.2769 to the latest one that would be 1.12.2-forge1.12.2-14.23.5.2770? please help me
Go to http://files.minecraftforge.net and download the version you want.
Vá para http://files.minecraftforge.net e baixe a versão que você deseja.
-
-
-
-
-
-
-
Edited by Cadiboo
Sorry we don't support 1.7.10 (or any versions under 1.9) on this forum anymore due to its age (4+ years old). We simply don't know how to write code for it and help you anymore. You can go to the Minecraft Forum where I think that they still still support older versions, or update to a modern version of Minecraft (the latest version or the one before it) to receive support on this forum.
-
14 hours ago, EternalDarkWolf said:
I may come off as rude or ignorant but you are arguing about a game about the freedom to do whatever you want.
Fair point, however as Animefan said do what you want, there are other forums that support 1.9 & below (minecraftforum). Feel free to visit them, they have more people & people who still write mods for those versions. We simply can't support them here because we haven't written code for those versions for many (3+) years. We just don't know how to mod for those versions. I personally have only written mods for 1.12.2, and I couldn't help at all with older mods. I've ported a mod from 1.7.10, and it seems that absolutely everything was done differently back then.
-
-
-
Edited by Cadiboo
On 9/13/2017 at 5:44 AM, LexManos said:And you have issues with making sure you rebuild that cache when things change. There is a event for it.
Sorry for the necro, whats the event? I can't find it anywhere. The fields I'm using for caching are instance fields so I can't use the @ObjectHolder annotation.
Edit: its the RegistryEvent.Register<> event
-
-
Can't set name of planks correctly
in Modder Support
Can I reccomend not using metadata? In 1.13 the flattening is happening and all the different types of wood are moving to different blocks (this doesn't mean different classes).