Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Jaydizzle514

Members
  • Posts

    8
  • Joined

  • Last visited

Jaydizzle514's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Nevermind i got it figured out! I appreciate your help Luis
  2. But to answer simply without silktouch
  3. Ok so i have this right which means without silk touch it'll drop between 0-9 xp and 0 with silktouch so i assume the 0-9 is because of that this.RANDOM. So im wondering if i can change that RANDOM so it always drops the 10 xp or if im just over thinking this @Override public int getExpDrop(BlockState state, LevelReader reader, BlockPos pos, int fortune, int silktouch) { return silktouch == 0 ? this.RANDOM.nextInt(10) : 0; }
  4. Ah i see the issue i had it set to give 20 xp with silk alright. Is there anything i can replace random with so for example itll always drop 10 xp
  5. but other than that they've just been variations of that
  6. @Override public int getExpDrop(BlockState state, LevelReader reader, BlockPos pos, int fortune, int silktouch) { return silktouch == 0 ? this.RANDOM.nextInt(10) : 20; } this is what i've recently tried and it did drop xp but it drops it regardless if silk touch is involved or not
  7. I should've mentioned that's what I've done the past few days. I don't wanna be told exactly how to do it just a little guidance
  8. I've been trying to sort this out for a few days but unfortunately I've had no success. I was wondering if anyone has figured out how to add xp drops to an ore for 1.17.1. Anyone help would be appreciated, thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.