How to stop players from being able to craft something until a certain block is placed in the world.

Started by Dragma2005 on

Topic category: Advanced modding

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop players from being able to craft something until a certain block is placed in the world.

Basically, I don't want players to be able to craft certain items until a specific block has been placed in the world, to clarify: I do NOT want to use the block as a crafting table (I already know how to do that anyway) I want to make it so that you can't craft certain modded things until a certain type of block has been placed in the world.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is the craft on minecraft…
Thu, 06/11/2020 - 03:54

Is the craft on minecraft working table or a custom table? 

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Normal crafting table
Thu, 06/11/2020 - 03:56

Normal crafting table

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Almost sure you will need to…
Thu, 06/11/2020 - 04:04

Almost sure you will need to code that

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure that is run…
Thu, 06/11/2020 - 11:09

Make a procedure that is run whenever you craft the specific item and make the procedure check if you have a particular achievement that you get from placing that specific block, if the player has that achievement then nothing happens and you get the item but if the player doesn't have the achievement then make the procedure remove the item from the players inventory and give the player all of the items needed to craft it.

If you need any more help with it just ask me :)