Solved Custom Entity (Minecart)

Discussion in 'Plugin Development' started by Dealyise, Jul 13, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Dealyise

    Hello guys,

    I want to code my own Minecart Entity. I want that users can drive with Minecarts like a car, without trails.
    I followed the Tutorial on how to create your own entity and I did it well, until this:
    MINECART_RIDEABLE("Minecart_Rideable", 42, EntityType.MINECART, EntityMinecartRideable.class, CustomEntityMinecartRideable.class);

    This isn't working for me. MINECART_RIDEABLE and MINECART doesn't exist and I don't know how to fix that properly. Any suggestions?
     
  2. Offline

    Tecno_Wizard

    What is the second argument in that class for? If it's an item ID, there's your problem, but I doubt it. 42 is iron block.
     
Thread Status:
Not open for further replies.

Share This Page