Solved Hello again!

Discussion in 'Plugin Development' started by Taron10LP, Aug 21, 2019.

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

    Taron10LP

    So last time I needed help you said I have to create a custom Crafting table! :'( Now my question is: How do I create a custom crafting table, my block I want to make a crafting table is a sponge! I will do it only for new recipe I created not the normal ones too.

    Pls help me!
     
  2. Offline

    Kars

  3. Offline

    Taron10LP

    But then it is like a normal one.
     
  4. Offline

    Kars

    So catch PrepareItemCraftEvent and set result to air if it does not conform to your recipe.
     
  5. I would open a inventory which is 3x3 or whatever u want, and then check for every slot in there if someone placed something in there, check if its a valid receipe and if it is make it like the normal crafting table with an extra slot. if the player takes out the item of the extra slot, the crafting field is getting cleared BUT u need to also set it that only one player can open that at once and make sure that if the item gets destroyed while crafting, only the items of the field can drop and not the result so noone can dupe with it
     
  6. Online

    KarimAKL

    @Keokix You can't open an inventory that is 3x3, and @Kars already mentioned a way to do this.
     
  7. Offline

    Taron10LP

    I try creating a new Inventory dubble chest and put class in there so there is no other space that was my Idea
     
  8. Online

    KarimAKL

  9. Offline

    Taron10LP

    @KarimAKL yes sry wasn't online had st else to do
     
  10. Offline

    DutchJellyV2

    Opening an actual crafting table programatically is really complicated. That's why I'd suggest to maybe stick with a resource pack in your situation that simply swabs the block textures. You could also try to make your custom crafting table in a chest like other people suggested, but I'd say that's maybe a bit difficult to program and that it would take alot of your time.
     
Thread Status:
Not open for further replies.

Share This Page