Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. General Discussion
  3. A suggestion, that will fix scripts on b73 x-version. [Fixing wrapped MC issues]

A suggestion, that will fix scripts on b73 x-version. [Fixing wrapped MC issues]

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 201 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    idk my name
    wrote on last edited by idk my name
    #1

    I suggest reverting change in IFontRenderer, I mean, refactor fontHeight -> FONT_HEIGHT.
    Second of all, add 2 new events. WPacketEvent and WAttackEvent.
    WPacketEvent will return Packet<*> instead of IPacket(IPacket does not has <>, also it returns PacketImpl in script api, that isn't being unwrapped.), WAttackEvent will return Entity instead of IEntity(IEntity returns an EntityImpl, that does not has health variable and etc...)
    Third of all, use these events in script api, so it will be small-fixed.
    I think, I explained this perfectly.

    1 Reply Last reply
    0
    • I Offline
      I Offline
      idk my name
      wrote on last edited by
      #2

      Also, add new variable like wmc, that will return Minecraft.getMinecraft() instead of IMinecraft. This will fix some problems in 1.12.2 b73 LiquidBounce

      1 Reply Last reply
      0
      • DreamWasFuckedD Offline
        DreamWasFuckedD Offline
        DreamWasFucked
        wrote on last edited by
        #3

        alt text

        I 1 Reply Last reply
        0
        • I Offline
          I Offline
          idk my name
          wrote on last edited by
          #4

          Explaination of Packet<?> and IPacket.
          Packet<?> is like massive class, that contains all packets in one.
          IPacket isn't.
          IPacket is just interface, PacketImpl is implementation of Packet (without <>)
          I still did not understand, why PacketImpl does not 'unwrap' itself to Packet<Any?>
          In few words: In ScriptAPI IPacket returns PacketImpl, that MUST unwrap itself to Packet<?>. But it does not.
          This will be like Packet<?> -> PacketImpl -> IPacket -> PacketImpl -> Packet<?> and again, again, again....

          1 Reply Last reply
          0
          • I Offline
            I Offline
            idk my name
            replied to DreamWasFucked on last edited by
            #5

            @skidma in case, this is my screenshot. I already asked for this feature on github (23 days ago)

            1 Reply Last reply
            0

            About
            • Terms of Service
            • Privacy Policy
            • Status
            • Contact Us
            Downloads
            • Releases
            • Source code
            • License
            Docs
            • Tutorials
            • CustomHUD
            • AutoSettings
            • ScriptAPI
            Community
            • Forum
            • Guilded
            • YouTube
            • Twitter
            • D.Tube
            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups