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
  • cdkrot

cdkrot

Members
 View Profile  See their activity
  • Content Count

    9
  • Joined

    August 18, 2013
  • Last visited

    March 2, 2014

Community Reputation

0 Neutral

About cdkrot

  • Rank
    Tree Puncher

Converted

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

    1.7 Block Textures not been loaded

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

    Experimentaly, i founded that following code works, but i think it is not the right way.
    • March 2, 2014
    • 3 replies
  2. cdkrot

    1.7 Block Textures not been loaded

    cdkrot posted a topic in Support & Bug Reports

    (Using latest Minecraft forge v10.12.0.1034). I am registering textures in registerBlockIcons(IIconRegister), but in fact tests shows that it isn't invoked during initializations. P.S. i see strange output in console, like forge trying to load mods from java's rt.jar file.
    • February 28, 2014
    • 3 replies
  3. cdkrot

    Tileentity suggestion

    cdkrot replied to cdkrot's topic in Suggestions

    I'd consider this overkill. It's really just one single byte (the 0 termination for the empty NBTTagCompound). Yes. The bigger problem creates loading. If it finds an empty element it will log like this: WARNING "Skipping TileEntity with id "
    • August 22, 2013
    • 7 replies
  4. cdkrot

    Tileentity suggestion

    cdkrot replied to cdkrot's topic in Suggestions

    I founded that TileEntity is more useful and handy way for timering a single block; You may want to look at save procedure in AnvilChunkLoader while (iterator.hasNext()) { TileEntity tileentity = (TileEntity)iterator.next(); nbttagcompound1 = new NBTTagCompound(); try { tileentity.writeToNBT(nbttagcompound1); nbttaglist2.appendTag(nbttagcompound1); } catch (Exception e) { FMLLog.log.... } } Here in tileentity just given a tagCompounded inconnected with main tree and referenced from The Save Method. So you can't remove it, and it will leave an empty tagCompound if you don't write id,x,y,z here; A solution can be creating a method such as "boolean doSave()" in TileEntity and to skip saving if returned false After relaunching server [mod/world loader] can scan world for BlockContainers unattended with Tile Entity, and create a new empty ones for those. * This work is performed while saving. Yes of course, But why should we always save this garbage to save? It is really don't needed often.
    • August 21, 2013
    • 7 replies
  5. cdkrot

    Tileentity suggestion

    cdkrot replied to cdkrot's topic in Suggestions

    No. I am suggesting to create a same callback, but not for random, for static ticking. This can be as follows: Block.setNeedsTicking(enum E) enum E can be 1. FALSE 2. RANDOM 3. STABLE with using tickRate() and updateTick() as input and callback Maybe. Anyway as I said before it is impossible to create a tileentity without saving function. And even if you want to use it just as a tick handler you need to save - load it. So the other way(also unavailable currently without modifying game src) can be creating "unsaveable" tileentities. Without saving function; And recreating completely new instance Using BlockContainer.createNewTileEntity after relaunching server.
    • August 21, 2013
    • 7 replies
  6. cdkrot

    Tileentity suggestion

    cdkrot posted a topic in Suggestions

    Sometimes it is required to have stable block update ticks. Here we can use Block.updateTick, Block.setRandomTick(true) and tickRate(world) But it gives unstable, random updates. So we are using tile entities, but they was designed to store data. So we have to add mapping for it and store in saves dummy structures like {id, x, y, z} (created by Tileentity.writeToNBT method), just to recreate timer after relaunching server. And i am suggesting to add an api to Block class which will be like Random Tick, but stable; with fixed intervals.
    • August 21, 2013
    • 7 replies
  7. cdkrot

    mc 1.5.2 Forge 7.8.1.737. Forge crashes when loading a mod

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

    Ooops! I missed it.. Thank you!
    • August 19, 2013
    • 2 replies
  8. cdkrot

    mc 1.5.2 Forge 7.8.1.737. Forge crashes when loading a mod

    cdkrot posted a topic in Support & Bug Reports

    Hello. I have compiled and packed mod, but Forge fails loading it: IllegalAccesException Mod: CrashReport FML log
    • August 19, 2013
    • 2 replies
  • All Activity
  • Home
  • cdkrot
  • Theme

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