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
  • Majd123mc

Majd123mc

Members
 View Profile  See their activity
  • Content Count

    6
  • Joined

    January 7
  • Last visited

    Wednesday at 08:00 PM

Community Reputation

0 Neutral

About Majd123mc

  • Rank
    Tree Puncher
  1. Majd123mc started following [1.16.3] AbstractList Background Render Problem, [SOLVED] Help implementing ExtendedList as a widget and [1.15.2] Scrolling Widget January 10
  2. Majd123mc

    [SOLVED] Help implementing ExtendedList as a widget

    Majd123mc replied to Majd123mc's topic in Modder Support

    Theme
    • January 10
    • 2 replies
  3. Majd123mc

    [SOLVED] Help implementing ExtendedList as a widget

    Majd123mc replied to Majd123mc's topic in Modder Support

    SOLVED: I figured out why it wasn't working. Turns out you HAVE to initialize your widgets in init(); I had already done this, but because of the way I was doing things I thought I could get away with putting it in my infoReceived method, turns out I couldn't.
    • January 10
    • 2 replies
  4. Majd123mc

    [SOLVED] Help implementing ExtendedList as a widget

    Majd123mc posted a topic in Modder Support

    [SOVLED] Hello, for my system, I need to display a number for each item in a list, I have found an object just for this. It is called ExtendedList. However, it is implemented not to be used as a widget in the same way, for instance, I had to disable the dirt background and manually set left and right values. The problem is when I resize my Minecraft window, the scrolling becomes completely unresponsive, and the bounds of the widget go completely off. I found a solution for problem 2, as I can reset the left and right values during render, however scrolling functionality still breaks. Here is my code: Most of this code was influenced by LoadingErrorScreen as suggested by others in the forums, as some of the method arguments are labeled. Here are some screenshots to demonstrate this (note that the code that fixes the resolution resize issue have been commented out):
    • January 9
    • 2 replies
  5. Majd123mc

    [1.15.2] Scrolling Widget

    Majd123mc replied to Spyeedy's topic in Modder Support

    I already answered it in another post. In your ExtendedList constructor, call the correct method here: (link)
    • January 9
    • 1 reply
  6. Majd123mc

    [1.16.3] AbstractList Background Render Problem

    Majd123mc replied to ChAoS_UnItY's topic in Modder Support

    I already answered it in another post. Don't override the method as it isn't necessary In your list constructor, call the correct method here: (link)
    • January 9
    • 1 reply
  7. Majd123mc

    [1.16] Get rid off dirt background

    Majd123mc replied to ChAoS_UnItY's topic in Modder Support

    There is a method that allows you to get rid of it: func_244606_c(false) func_244606_c(false) // Disables dirt outline func_244605_b(false) // Disables black background Note that false disables them, whilst true enables them.
    • January 9
    • 2 replies
  • All Activity
  • Home
  • Majd123mc
  • Theme

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