• 0

    posted a message on How to update from 1.8.9 to 1.10

    Caused by: java.lang.NoClassDefFoundError: pminer/urbanization/blocks/BlockPineapple
    at pminer.urbanization.init.UrbanizationBlocks.init(UrbanizationBlocks.java:103)
    at pminer.urbanization.Urbanization.preInit(Urbanization.java:25)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)

    What does this mean?

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    ok thanks


    EDIT: sorry i didn't reply, a windows update broke my computer and i have to reset it, now i am working on re-updating my mod :steve_tearful: (moral of the story, windows developer previews are absolutely terrible.)

    Posted in: Modification Development
  • 0

    posted a message on 0.15.6 Help please!!!

    perhaps it would help to check your logs? if you have a rooted device, instal the logcat app, if not, plug it into your computer, download ADB, and run adb logcat. then open the app and see if you have an error.

    Posted in: Minecraft (Bedrock) Support
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    The question is, how do I update the custom models, here is my .json for a block:


    {
    "textures": {
    "particle": "urbanization:blocks/singularity_container",
    "0": "urbanization:blocks/singularity_container"
    },
    "elements": [
    {
    "name": "Bevel",
    "from": [ 1.0, 1.0, 1.0 ],
    "to": [ 15.0, 15.0, 15.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
    }
    },
    {
    "name": "Side-1",
    "from": [ 2.0, 0.0, 2.0 ],
    "to": [ 14.0, 1.0, 14.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "up": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "down": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] }
    }
    },
    {
    "name": "Side-2",
    "from": [ 2.0, 15.0, 2.0 ],
    "to": [ 14.0, 16.0, 14.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "up": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "down": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] }
    }
    },
    {
    "name": "Side-3",
    "from": [ 2.0, 2.0, 0.0 ],
    "to": [ 14.0, 14.0, 1.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "south": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] }
    }
    },
    {
    "name": "Side-4",
    "from": [ 2.0, 2.0, 15.0 ],
    "to": [ 14.0, 14.0, 16.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "south": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] },
    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 12.0, 1.0 ] }
    }
    },
    {
    "name": "Side-5",
    "from": [ 0.0, 2.0, 2.0 ],
    "to": [ 1.0, 14.0, 14.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "east": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "west": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] }
    }
    },
    {
    "name": "Side-6",
    "from": [ 15.0, 2.0, 2.0 ],
    "to": [ 16.0, 14.0, 14.0 ],
    "faces": {
    "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "east": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "west": { "texture": "#0", "uv": [ 2.0, 2.0, 14.0, 14.0 ] },
    "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] },
    "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 12.0 ] }
    }
    }
    ]
    }

    And here is the item of that block:


    {
    "parent": "urbanization:block/singularity_container",
    "display": {
    "thirdperson": {
    "rotation": [ 10, -45, 170 ],
    "translation": [ 0, 1.5, -2.75 ],
    "scale": [ 0.375, 0.375, 0.375 ]
    }
    }
    }

    How do I make them normal sized?

    Posted in: Modification Development
  • 0

    posted a message on Item Textures Not Loading in the Minecraft Environment

    make sure your assets folder is organized correctly, with items and blocks sorted like in vanilla

    Posted in: Modification Development
  • 0

    posted a message on Making mods but they crash Minecraft on startup. Any help?

    McCrayfish has amazing modding tutorials if you want to learn java/Forge.

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    Thanks to all for your help! The mod is now useable! Couple problems, though, the first one being that all the items are huge! the blocks are huge too, but they place correctly and the models work, the items are just huge.

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    travelToDimension?


    EDIT: I found it, im sorry, i should have checked first. ;(

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    Thanks! And, no it was not deprecated. I didn't know deprecated was mojang's note-to-self

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    /*
    @Override
    public void onNeighborChange(IBlockAccess world, BlockPos pos, BlockPos neighbor)
    {
    if(world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(0) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(1) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(2) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(3) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(4) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(5) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(6) || world.getBlockState(pos.down()) == FARMLAND.getStateFromMeta(7))
    {
    //DEBUG
    Console.print("FARMLAND Present");
    }
    else
    {
    world.destroyBlock(pos, true);
    }
    }*/



    here is the errored block of code


    i am using forge-1.10.2-12.18.1.2070-mdk

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    One last thing, I could not find a replacement for:

    world.destroyBlock(pos, true);
    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    Thanks, SKY_01, and TechMage66. however, I could not find

    BlockRenderLayer in the block class. Or, I just can't override it. Do I even need to replace EnumBlockWorldLayer?


    EDIT: I found BlockRenderLayer, but eclipse says that it is an invalid token and that I should delete it?

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    Thanks! That worked! :D


    If I have more problems, should I make a new thread, or can I continue this thread?


    Assuming I can continue this thread, this is my next problem (if I can't continue this thread, I will edit this post and make a new thread.)


    @Override
        public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
        	// TODO Auto-generated method stub
        	return getBoundingBox(0F,-.1F,0F,1F,0F,1F);
        }

    this code does not work :/ i tried to copy the bounding box code from 1.8.9, but it didn't transfer well. How should i do this?

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    I've been trying, but I can't manage to get the chat message to work.

    current code:

    playerIn.addChatMessage(new <em class="bbc">TextComponentBase</em>(), {"You need fertilizer"});

    How do i make this work?

    Posted in: Modification Development
  • 0

    posted a message on How to update from 1.8.9 to 1.10

    Thanks sky! You have always been so helpful! :D

    Posted in: Modification Development
  • To post a comment, please .