Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Draco18s

Draco18s

Members
 View Profile  See their activity
  • Content Count

    15946
  • Joined

    March 14, 2013
  • Last visited

    5 hours ago
  • Days Won

    144

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by Draco18s

  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • Page 1 of 624  
  1. Draco18s

    How to get the sum of all enchantment levels equipped

    Draco18s replied to squidlex's topic in Modder Support

    ...8?
    • 7 hours ago
    • 5 replies
      • 1
      • Haha
  2. Draco18s

    [1.16.5] Help with custom Glass Block

    Draco18s replied to Luis_ST's topic in Modder Support

    THERE ARE MORE VALUES THAN 0 AND 1. I even told you, twice, what to look at. Here's a big blindingly stupid hint: The value returned from getOpacity is subtracted off the current light value in order to determine how bright the next space is.
    • 22 hours ago
    • 10 replies
  3. Draco18s

    [1.16.5] Help with custom Glass Block

    Draco18s replied to Luis_ST's topic in Modder Support

    "supposed to propagate downwards" -> lets sky light through it. This is clearly not the effect you want. The point wasn't to follow the existing logic to see what the default method returns for your block (because duh, the default logic doesn't work for you), it was to figure out how opaque blocks block skylight.
    • Tuesday at 02:20 PM
    • 10 replies
  4. Draco18s

    [1.16.4] Custom item enchantability

    Draco18s replied to AzizD's topic in Modder Support

    There are functions that define this. The default checks what kind of item things are and allows or denies various enchantments. TieredItem only allows Unbreaking (because that's the default).
    • Monday at 10:25 PM
    • 9 replies
  5. Draco18s

    [1.16.5] Help with custom Glass Block

    Draco18s replied to Luis_ST's topic in Modder Support

    Lets check the original function. "If the block is opaque, return the maximum light value. Otherwise if sky light is supposed to propagate downwards, return 0. Otherwise return 1." 🤔
    • Monday at 10:23 PM
    • 10 replies
  6. Draco18s

    [1.16.5] Help with custom Glass Block

    Draco18s replied to Luis_ST's topic in Modder Support

    You do know what that returned int does, right?
    • Monday at 03:12 PM
    • 10 replies
  7. Draco18s

    Few, mostly trival questions, to help me avoid mistakes and understand how to build a mod

    Draco18s replied to GThoro's topic in Modder Support

    Well darn. What is it for, then? I know that the various functions don't do what one expects half the time, looks like I messed that one up again.
    • Sunday at 08:34 PM
    • 6 replies
  8. Draco18s

    Few, mostly trival questions, to help me avoid mistakes and understand how to build a mod

    Draco18s replied to GThoro's topic in Modder Support

    Yes, use Capabilities. The NBT system is what vanilla uses and half the functions available don't do what you think they do. getTileData() for instance doesn't let you store data in the tile entity, it is the NBT representation of the tile entity so it can be stored in an ItemStack. NBT is a serialized data format meant to store the (whatever) on disk. Its not meant to be run-time modified left and right. Vanilla uses it for arbitrary data storage on ItemStacks because Mojang doesn't have a better method.
    • Sunday at 08:23 PM
    • 6 replies
  9. Draco18s

    Few, mostly trival questions, to help me avoid mistakes and understand how to build a mod

    Draco18s replied to GThoro's topic in Modder Support

    Capabilities. Yes.
    • Sunday at 06:18 PM
    • 6 replies
  10. Draco18s

    [1.16.4] Why recipe result calculated on server side?

    Draco18s replied to S-Spirit's topic in Modder Support

    The server would have to do all the same calculations the client did in order to approve.
    • Saturday at 10:40 PM
    • 6 replies
  11. Draco18s

    Method to get the current durability?

    Draco18s replied to Dr.Nickenstein's topic in Modder Support

    Note that it counts up towards ItemStack#getMaxDamage, so an undamaged item will return 0 out of X and a fully damaged item will be X out of X (next use breaks it).
    • Saturday at 07:25 PM
    • 3 replies
  12. Draco18s

    [Solved] License Issue..

    Draco18s replied to TurtlesAreHot's topic in Modder Support

    Seems pretty self explanatory to me.
    • Saturday at 01:06 AM
    • 4 replies
  13. Draco18s

    [1.16.4] Why recipe result calculated on server side?

    Draco18s replied to S-Spirit's topic in Modder Support

    Cheating. Player says "let me just modify my recipe files so that cobblestone makes diamonds." Normal server goes "what, no stupid, you can't make diamonds out of cobblestone." You: "OK, diamonds for you! That is a totally legitimate result I believe you're being honest."
    • Friday at 11:34 PM
    • 6 replies
      • 1
      • Thanks
  14. Draco18s

    How do update a 1.12.2 mod to 1.16.3

    Draco18s replied to piglinplayz's topic in Modder Support

    So much has changed from 1.12 to 1.16 that very little of your code is going to be usable. You can try importing it and fixing errors, but you're going to have hundreds.
    • Friday at 05:38 PM
    • 16 replies
  15. Draco18s

    How do update a 1.12.2 mod to 1.16.3

    Draco18s replied to piglinplayz's topic in Modder Support

    For mods that are yours: Pretty much start from scratch. For mods that aren't yours: Get permission first.
    • Friday at 05:30 PM
    • 16 replies
  16. Draco18s

    [1.16.4] what difference between custom slots and EquipmentSlotType

    Draco18s replied to Klarks's topic in Modder Support

    You should probably also use orElseThrow instead of orElse(null).
    • Friday at 03:18 PM
    • 34 replies
  17. Draco18s

    What is the method to left click?

    Draco18s replied to Gubipe's topic in Modder Support

    There isn't one. Documentation (such as there is) is all inside the code itself.
    • January 22
    • 5 replies
  18. Draco18s

    Stuck with block movement

    Draco18s replied to iHamster's topic in Modder Support

    Why the fauk does your renderer change what blocks are in the world? That's not the job of a renderer.
    • January 21
    • 12 replies
      • 2
      • Like
      • Thanks
  19. Draco18s

    [1.16.5] get SeverWorld

    Draco18s replied to Luis_ST's topic in Modder Support

    Gasp, you're not on the server.
    • January 21
    • 4 replies
      • 1
      • Thanks
  20. Draco18s

    [1.16.4] what difference between custom slots and EquipmentSlotType

    Draco18s replied to Klarks's topic in Modder Support

    Why did you create two lazy optionals, then unbox them to pass into the CombinedInvWrapper? (Not to mention using an array to store the local results? Why!?) return LazyOptional.of(() -> (T)new CombinedInvWrapper(getHandler(), new EntityArmorInvWrapper(entity)));
    • January 21
    • 34 replies
  21. Draco18s

    [Solved] Place Crops on Water

    Draco18s replied to Rhayzan's topic in Modder Support

    I don't think this gives you water as a below block but rather a block that is waterlogged. Check how lily pads work.
    • January 21
    • 4 replies
      • 1
      • Thanks
  22. Draco18s

    1.16.3 EventBus crash

    Draco18s replied to Turtledove's topic in Modder Support

    Post your code. My guess is that you're registering an event handler to the wrong bus.
    • January 21
    • 2 replies
  23. Draco18s

    [1.14.3] Where to put Item.getItemFromBlock

    Draco18s replied to VGLyen's topic in Modder Support

    Linked resources are not in your src folder, they're stored elsewhere and referenced in your Project Explorer tab of your IDE.
    • January 19
    • 6 replies
  24. Draco18s

    Cannot interact with MinecraftForge repositories

    Draco18s replied to Extegral's topic in Modder Support

    Yeah I looked at your comments (there were all of about five). Nothing stood out. Start with the mods here, I guess.
    • January 19
    • 7 replies
  25. Draco18s

    Cannot interact with MinecraftForge repositories

    Draco18s replied to Extegral's topic in Modder Support

    In poking around my guess is that you were added as a blocked user. Why? Don't know.
    • January 18
    • 7 replies
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • Page 1 of 624  
  • All Activity
  • Home
  • Draco18s
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community