Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • battlefield

battlefield

Forge Modder
 View Profile  See their activity
  • Content Count

    15
  • Joined

    May 3, 2012
  • Last visited

    December 6, 2014

Community Reputation

1 Neutral

About battlefield

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!
  1. battlefield

    Particle Problem

    battlefield replied to laifsjo's topic in Modder Support

    I use such system like minecraft uses, only that it's customized addEffect(ClientProxy) - https://github.com/batlefield/Zoocraftia/blob/master/source/minecraft/net/zoocraftia/dimension/client/ClientProxy.java#L149 addEffect(CommonProxy) - https://github.com/batlefield/Zoocraftia/blob/master/source/common/net/zoocraftia/dimension/CommonProxy.java#L106 particleEntity - https://github.com/batlefield/Zoocraftia/blob/master/source/minecraft/net/zoocraftia/dimension/client/EntityPortalFX.java addEffect call in my portal class - https://github.com/batlefield/Zoocraftia/blob/master/source/common/net/zoocraftia/dimension/BlockPortal.java#L219
    • October 12, 2012
    • 7 replies
  2. battlefield

    Smelting Input Metadata

    battlefield replied to zjohn4's topic in Modder Support

    FurnaceRecipes.smelting().addSmelting(item, metadata, out); Is it really that hard to go through the class and check for instances of it?
    • October 10, 2012
    • 8 replies
  3. battlefield

    Allready decorating error -.-

    battlefield posted a topic in Modder Support

    Hello there, I have been working on adding a dimension to minecraft for quite a while now. The code that I previously used(MC 1.2.3) is now broken, so what I did was just copied over the ChunkProviderGenerate, WorldChunkManager and of course registered them properly inside my WorldProvider class but here is the thing I was getting errors, so I decided to go and instead of creating new classes I just created instances of allready existing minecraft classes. Now what happens is(minecraft default normally working code) throws this at me So I went and checked where did I make a mistake of calling the populate method twice and well I couldn't find that error. I don't think that teleporter is necesary but here is most of the vital code of the dimension Now What I need is: solution to my problem(or at least some pointers), open source dimension project(I will not steal, just compare the code and try to fix it), working code(ChunkProvider, WorldProvider, WorldChunkManager - again to compare and find not to steal). Thanks for any help that I can get.
    • October 9, 2012
  4. battlefield

    Teleporting to dimension clientside

    battlefield replied to battlefield's topic in Modder Support

    Well I have managed to work something out, but I don't think it's really efficient IntegratedServer server = mc.getIntegratedServer(); String[] names = server.getConfigurationManager().getAllUsernames(); for(String s : names) { if(s.equalsIgnoreCase(player.username)) { player = server.getConfigurationManager().getPlayerForUsername(s); } } if(player instanceof EntityPlayerMP) { server.getConfigurationManager().transferPlayerToDimension((EntityPlayerMP) player, ZoocraftiaDimensionMain.dimensionID, new ZoocraftiaTeleporter()); } Note this is only on client side, it's only being called in my ClientProxy class. What do you think?
    • October 2, 2012
    • 2 replies
  5. battlefield

    Teleporting to dimension clientside

    battlefield posted a topic in Modder Support

    I have a problem. I'm trying to teleport the client on clientside to a dimension. I'm using player ticks for timing and after the desired time the player should teleport. But the thing is that methods inside ServerConfigurationManager only take EntityPlayerMP while the player instance that you get with data[0] from the ticking mechanisms is actually EntityClientPlayerMp. So the question is how can I properly teleport player on the clientside to a dimension.
    • October 1, 2012
    • 2 replies
  6. battlefield

    How do I switch off fall damage?

    battlefield replied to nintendofan9797's topic in Modder Support

    It makes EventBus reckognize your method as the event handling method
    • September 2, 2012
    • 10 replies
  7. battlefield

    [SOLVED]Entity not rendering/not detecting collision

    battlefield replied to battlefield's topic in Modder Support

    Thank you very much, I didn't know I have to make that call aswell.
    • September 2, 2012
    • 6 replies
  8. battlefield

    [SOLVED]Entity not rendering/not detecting collision

    battlefield replied to battlefield's topic in Modder Support

    I registered them in my core class(the initialize method gets called from load method), what I posted are just snippets of the code This method gets called from ClientProxy
    • September 2, 2012
    • 6 replies
  9. battlefield

    [SOLVED]Entity not rendering/not detecting collision

    battlefield posted a topic in Modder Support

    After updating my mod from 1.3.1 to 1.3.2 I can't see my entities in the world even though I can hear them and spawn them with spawning eggs. Anyone else having similar problems? I know it's more of a minecraft problem than a forge problem but still this is a forum on which modders are mostly active. Before asking have you registered the entity inside EntityRegistry and it's render inside RenderingRegistry, yes I did that and I double checked it or asking if I have textures on their apropriate spots, yes I have but even If I wouldn't have them I could see the shadow of that entity. I have allso perfomed some quick tests and it seems like my entity wouldn't even be passed into the loaded entities list.
    • September 1, 2012
    • 6 replies
  10. battlefield

    [SOLVED]FML @Instance error

    battlefield replied to battlefield's topic in Support & Bug Reports

    Nevermind it I figured it out on my own
    • September 1, 2012
    • 2 replies
  11. battlefield

    [SOLVED]FML @Instance error

    battlefield posted a topic in Support & Bug Reports

    So I'm working on a mod called zoocraftia and in transition from forge 4.0.0.217 to forge 4.0.0.243 I got this error after first launch on forge 243 without any changes made, the same error repeated until I remove the @Instance annotation from my main instance(of course I got NPE after that). Error log Here is the ZoocraftiaAnimalsMain class And the ZoocraftiaMain class
    • September 1, 2012
    • 2 replies
  12. battlefield

    Where to view update progress?

    battlefield replied to Torojima's topic in General Discussion

    One thing about this EventBus thing will this work the same way as bukkit API handles the events? Cause that would mean that you could create a bukkit plugin that would run on client aswell(well there would be some minor changes with block handeling).
    • August 9, 2012
    • 117 replies
  13. battlefield

    hooks for renderName

    battlefield replied to DarkGuardsman's topic in Suggestions

    In what conditions do you want to change this? Like if I'm in water set font size to 100 and when I get out set it back to normal or you set it once and it should stay like that.
    • May 27, 2012
    • 21 replies
  14. battlefield

    hooks for renderName

    battlefield replied to DarkGuardsman's topic in Suggestions

    I think that this would work only with one mod using this, lets say that I'd like to use this too there are two things that would happen a) it would override my code b) it would override your code
    • May 22, 2012
    • 21 replies
  • All Activity
  • Home
  • battlefield
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community