
Differentiation
Members-
Posts
606 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Differentiation
-
in the addInformation method?
-
[1.10.2] Ways to move the player forward?
Differentiation replied to Differentiation's topic in Modder Support
No such method. Not what I'm looking for. Ways to move a player forward. Thanks, I'll try that! -
[1.10.2] [SOLVED] Minecraft-style Code Formatting?
Differentiation replied to Differentiation's topic in Modder Support
Ah! I knew it, it's about time for me to switch to a more professional software... thanks for the help! -
[1.10.2] [SOLVED] Minecraft-style Code Formatting?
Differentiation replied to Differentiation's topic in Modder Support
aw, that's a bummer, is there any other way to format it this way other than doing it manually? It's a pain -
Hey! I keep taking glances at the Referenced Libraries and the code in them and they have a style that I personally adapted, but I just space everything out myself when coding. I was wondering if there is any way to have line breaks between the beginning and end of block codes. For instance: /* Event fired when an entity dies */ @SubscribeEvent(priority = EventPriority.HIGHEST) public void onLivingDeath(LivingDeathEvent event) { if (event.getEntityLiving() instanceof EntityLiving) { EntityLiving entity = (EntityLiving) event.getEntityLiving(); entity.playSound(SoundEvents.BLOCK_METAL_BREAK, 1.0F, 1.0F); for (int i = 0; i < 50; ++i) //line break above { entity.worldObj.spawnParticle(EnumParticleTypes.BLOCK_CRACK, entity.posX, entity.posY + (entity.height - 0.25D), entity.posZ, Math.random() * 0.2D - 0.1D, Math.random() * 0.25D, Math.random() * 0.2D - 0.1D, Block.getIdFromBlock(Blocks.REDSTONE_BLOCK) ); }//line break below if (...) { ... } try { } catch(...) { ... } } } I've been trying to accomplish this for a lot of time, yet no success. Any ideas? Thanks!
-
[1.10.2] Ways to move the player forward?
Differentiation replied to Differentiation's topic in Modder Support
Thanks! I'll give it a try. -
[1.10.2] Ways to move the player forward?
Differentiation replied to Differentiation's topic in Modder Support
Bump, hehe -
Hey! So I have tried moving the player to a direction, ex. sides, forward, backward, etc. but I just couldn't find a way to make it work. Any suggestions? Thanks!
-
(SOLVED) [1.12.2] Problems with custom item and NBT
Differentiation replied to MythicalChromosome's topic in Modder Support
A very silly mistake indeed I'm glad you figured it out. Happy modding! -
Help with launcher plesssssss
Differentiation replied to ILikeTrainz's topic in Support & Bug Reports
Show your mods folder and what Forge 1.8.9 version are you using? -
(Fixed, Supports 1.8.9, will be upgraded) CharacterOverrideUtils
Differentiation replied to Xan the Dragon's topic in Mods
Cool stuff, however this Forum may soon abandon 1.8.9 so I suggest you update -
Sponge is very conflicting with Forge. I took it out long ago
-
Or just send a packet to the server if this assignment is real.
-
Get the team client-side and the rest server-side
-
You are not calling this "function" or any method to set a team for the player in your onEntitySwing(...) method. And we do Java here, I don't know where you call or apply this function so I can't really help...
-
I guess so.
-
Then why is elTeam identified here?
-
Then why isn't it working for him when world is not remote?
-
Sorry, only setting the team in his case...
-
^ Where in your code do you set the team anyways?
-
Potion effects are handled server-side, your other lines in that method (such as things like AABB) are handled in the logical client-side. Therefore, you must insert !World::isRemote when applying potion effects and World::isRemote with the AABB and setting team.
-
(SOLVED) [1.12.2] Problems with custom item and NBT
Differentiation replied to MythicalChromosome's topic in Modder Support
I would like to see the solution if you figure it out. I myself don't have such a good experience with NBT, but I would like to see what you ended up doing. Happy New Year to you as well. Here in New York, New Year is in 5 hours! -
(SOLVED) [1.12.2] Problems with custom item and NBT
Differentiation replied to MythicalChromosome's topic in Modder Support
Yeah, I see that's why you used the UUID. I couldn't figure it out myself since I'm not that good at NBTs. Best of luck figuring out the solution!