Silk Touch

Started by MorelPlay on

Topic category: Advanced modding

Active 4 years ago
Joined Jan 2016
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Silk Touch

As I can make a block can only catch with silk touch? Thank you

 

 

Active 4 years ago
Joined Jun 2015
Points:
970

User statistics:

  • Modifications: 3
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 307
As you can do so? Make the
Sun, 04/24/2016 - 20:37

As you can do so? Make the block dropless and you will be able to pick it up with the enchantment.

Active 4 years ago
Joined Dec 2014
Points:
801

User statistics:

  • Modifications: 4
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 61
Try to just set it so the
Sun, 04/24/2016 - 20:38

Try to just set it so the block doesn't drop anything.

Active 12 months ago
Joined Aug 2013
Points:
1162

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
Try set drop amount on 0 and
Sun, 04/24/2016 - 20:55

Try set drop amount on 0 and in the code add:

    protected boolean canSilkHarvest()
    {
        return true;
    }

Active 4 years ago
Joined Jan 2016
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Oh Thanks for the code! I
Sun, 04/24/2016 - 21:26

Oh Thanks for the code! I have already done it!

 

Active 8 years ago
Joined Apr 2016
Points:
736

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
@Nuparu00 finally a MCreator
Mon, 04/25/2016 - 00:57

@Nuparu00 finally a MCreator modder that uses the code! (and helps to other with that)