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

Active 1 month ago
Joined Feb 2016
Points:
864

User statistics:

  • Modifications: 4
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 104
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.

Active 1 year ago
Joined May 2020
Points:
663

User statistics:

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

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

Active 1 month ago
Joined Feb 2016
Points:
864

User statistics:

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

Normal crafting table

Active 1 year ago
Joined May 2020
Points:
663

User statistics:

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

Almost sure you will need to code that

Active 3 years ago
Joined May 2020
Points:
645

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
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 :)