Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/cleanup #284

Draft
wants to merge 116 commits into
base: Multiloader-1.20.4
Choose a base branch
from
Draft

Commits on Jun 18, 2024

  1. add parchment mappings

    add mixin extras
    add back old names and comments
    add some javadoc
    
    some fixes/remove of unused stuff:
    fix seated crawl head floating
    remove tpose from mcvr, use the nullprovider for that
    renames `MCVR.hasThirdController` to `hasCameraTracker`, to reflect what it does
    fix key simulation with modifiers
    remove vsync change buffer reinit
    fix menu tooltips being stuck with keyboard use when the button disappears
    fayer3 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    709a561 View commit details
    Browse the repository at this point in the history
  2. refactor part 2:

    move shaders into a shader helper
    includes FSAA, mixed reality and VR post/fov reduction
    move inMenuroom methods out of gamerenderer
    make ActionParams a record
    bunch of javadoc
    re sort the methods in MCVR
    fix thirdperson aspect being stuck at 16x9
    fayer3 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    b5188e6 View commit details
    Browse the repository at this point in the history
  3. refactor/cleanup part 3:

    more javadoc and variable renames
    moved lwjgl library check to MCOpenVR
    removed MCVR.postInit, since there is no point in having it not in the regular init anymore
    move touch hotbar after pose update, to not be a frame behind
    remove options reload from MCOpenVR init, and move the external camera config loading to the vr settings init
    change ActionParams back to regular class for backwards compatibility
    fayer3 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    61247fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    649f257 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. removes legacy profiles from the settings

    moves the settings file to the modloaders config folder
    fayer3 committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    3a6c3d8 View commit details
    Browse the repository at this point in the history
  2. check for settings file existence before reading

    some logging fixes
    fayer3 committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    5899b10 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. fix common resources in dev missing

    remove legacy resource extraction
    some logging fixes
    fayer3 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    7e29347 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19c3c84 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    50bb5b9 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    55a07a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    c9c42a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    338fd79 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    46fcfe2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2d0268 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. add option to use mipmaps on gui, and only generate them when that is…

    … used
    
    fix Keyboard/Radial buffer not resizing with the 1440p gui option
    fayer3 committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b9c797c View commit details
    Browse the repository at this point in the history
  2. fix potential memory leak, when toggling vr with a post effect active

    fix missing vanilla post effect, when disabling vr
    fayer3 committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    77bee0d View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    44c197b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f92fba View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. more javadoc and variable names

    change climbey blocklist command to check for valid blocks
    move the method to send stuff to all seen players into its own method, to not have duplicated code there
    fayer3 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    213d2ed View commit details
    Browse the repository at this point in the history
  2. change climbeyBlocklist to allow invalid blocks in the config, to not…

    … reset everything
    
    warns in the log if something is invalid, and only sends valid blocks to clients
    fayer3 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2dec6b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6372e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a22c99e View commit details
    Browse the repository at this point in the history
  5. javadoc/formatting

    fayer3 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    79a53fb View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. javadoc for Xplat/Xevents

    remove Xplat tick start/end events, since they are not used/needed
    fayer3 committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    ea0e835 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. more javadoc

    fayer3 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3a01404 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. mixin extensions javadoc,

    rename PlayerExtension.setItemInUseCountClient to setItemInUseRemainingClient, to correspond to the variable name
    rename some partialTicks to partialTick
    remove FrustumExtension.vivecraft$setCameraPosition(), use Frustum.prepare() instead, that does the same
    fayer3 committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5d9b146 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    510a0cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7982b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0bf950d View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. move blit shader call out of rendertarget mixin

    add custom blit shader
    add _vr suffix to all shaders
    rename fovreduction shader to postprocessing
    fayer3 committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7c63dc7 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. delete old shader files

    fayer3 committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    dc08ae3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26c6318 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8040ab View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. fix auto open keyboard setting, also add a chat option, to have the p…

    …revious behavior
    
    re add the "Click to open keyboard" hint to text fields
    fayer3 committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    b1329c0 View commit details
    Browse the repository at this point in the history
  2. change option parser to system properties, to be able to set them wit…

    …h the jvm args in most launchers
    fayer3 committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    714c987 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. some mixines cleanup

    make blending overrides use ModifyArg
    fayer3 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5791b2a View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. window mixin cleanup

    fayer3 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    17d2378 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99a37e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    0bffbcd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c32b7c View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. move isClimbeyClimbEquipped to the ClimbTracker

    make Trackers item checks static methods
    renamed `isClimbeyXEquipped` to `hasClimbeyXEquipped` since it checks for the provided Player now
    fayer3 committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    ba2b331 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cc34a5 View commit details
    Browse the repository at this point in the history
  3. cleanup more mixins

    add a setting to not render head hitboxes always
    remove unneeded unused code for vivecraft item colors
    fayer3 committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    6555860 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Configuration menu
    Copy the full SHA
    6fc9732 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cffcb9 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    bd12eff View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    a8d6a33 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. fix GuiGraphics blending mixin

    fayer3 committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    f0a153f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6ef315 View commit details
    Browse the repository at this point in the history
  3. screen mixins cleanup

    fayer3 committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    6f96b7e View commit details
    Browse the repository at this point in the history
  4. cleanup pause menu mixins,

    use mixin extras instead of redirect
    remove unnecessary/broken button disable for the report bugs button
    add setting to disable pause menu modifications
    fayer3 committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    0d6a39b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4656a5f View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. refactor gui mixin,

    move crosshair rendering to RenderHelper
    use WrapOperation to change the offhand slot color
    fayer3 committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    329233b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3061119 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb51d19 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. add methods to get yaw/pitch of VRData directly in radians

    change RunTracker yaw to radians
    use WrapOperation instead of redirects in ItemPickupParticleVRMixin
    more cleanups
    fayer3 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    dc462eb View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. merge EntityRenderDispatchers getCameraOrientationOffset and cameraOr…

    …ientation into one getVRCameraOrientation with scale and offset parameter
    
    make cameraOrientation mixin not as invasive, and just don't do anything when not in a vr pass
    same for EntityRendererVRMixin.cameraOffset
    fayer3 committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    10e5332 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eed0988 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    a2bdfea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f0e9e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. remove invalid maven repo

    fayer3 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    cc1551f View commit details
    Browse the repository at this point in the history
  2. add mixin extras to forge

    fayer3 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    1b446b7 View commit details
    Browse the repository at this point in the history
  3. cleanup GameRendererVRMixin

    - fix projection matrix not updating on render distance change
    - remove unneeded override of the far clipping plane
    - remove unnecessary resets at beginning of rendering
    - fix possibility of hitting your own vehicle
    fayer3 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    cd69c1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdfd306 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. ItemInHandRenderer cleanup

    fayer3 committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    ea70aee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af53fc0 View commit details
    Browse the repository at this point in the history
  3. cleanup from last merge

    fayer3 committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    bc56586 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bdb6350 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d2d7530 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    6223349 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    b81ecb4 View commit details
    Browse the repository at this point in the history
  2. more cleanup

    fayer3 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f79f256 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5dc1e4b View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. cleanup doors and boat

    limit roomscale boat speed to vanilla value, and add gradual turning when pointing
    fayer3 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8226c1c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    03ad999 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39f9171 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f224812 View commit details
    Browse the repository at this point in the history
  4. handle wonder food with an alteration of can eat, instead of a separa…

    …te inject, and some cleanup
    fayer3 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    d9f2527 View commit details
    Browse the repository at this point in the history
  5. cleanup key handling

    remove broken cancellation of key handling when right control is held down, don't think that is needed
    add method to MCVR to handle custom key inputs, and use it for the NullVR hotswitch
    use a wrapOperation for the screenshot trigger
    fix broken keyboard closing with autoCloseKeyboard disabled
    fayer3 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    eb7af1e View commit details
    Browse the repository at this point in the history
  6. run import optimizer

    fayer3 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    e201b45 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    0969bfd View commit details
    Browse the repository at this point in the history
  2. Options and MouseHandler

    fayer3 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ca60b74 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. cleanup MinecraftVRMixin

    move current arm swing type to ClientDataHolderVR
    fix attack to the air not updating the arm swing type
    move mirror notification to its own class
    handle mixed reality keys with the other VRHotkeys
    only tick menuWorldRenderer when in the menu
    fayer3 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    0e695cd View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. fix ItemPickupParticle offset

    fayer3 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    29b1061 View commit details
    Browse the repository at this point in the history
  2. cleanup server mixins

    fayer3 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a324437 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. fix eating particles for vr players

    fix sweeping particles for vr players
    fayer3 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    e74006b View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    08c21c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. redo enderman stuff to not cancel, and modify headpos for any `hasLin…

    …eOfSight` call, not just from enderman
    
    use the bigger visibility cone from the spigot extension
    don't cancel creeper swell goal, just change the distance check
    fayer3 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    6ce3314 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43dd447 View commit details
    Browse the repository at this point in the history
  3. cleanup projectiles

    fix arrow speed ignoring roomscale bow draw
    fayer3 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    304c1a6 View commit details
    Browse the repository at this point in the history
  4. cleanup crossbow

    fayer3 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    a5544d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. cleanup mod compat mixins

    move mod loaded checks to their Helper classes
    fix dynamicFPS mod getting quieter when window is unfocused in vr
    simplify NonNull redirects for the iris compat
    fix iris/oculus sometimes disabling AO in the menuworld
    remove player repositioning in optifine mixin. that is already done in levelrenderer
    fix resolution control 3 compat
    remove sodium options mixin for the graphic mode change, it is already checked every frame in the VRRenderer
    make all helper reflection variables match, with Class_Method/Field naming
    fayer3 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6e7e078 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5c2f0a View commit details
    Browse the repository at this point in the history
  3. only process vr hotkeys when vr is initialized, fixes Vivecraft#299

    fix debug winscreen not close able
    fayer3 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    da6d93f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    042c70b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c03cb7d View commit details
    Browse the repository at this point in the history
  6. java doc for WidgetBuilder

    fayer3 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    647de11 View commit details
    Browse the repository at this point in the history
  7. reformat long ifs

    fayer3 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fe39cb8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5e61af9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    876de0e View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. fix MixinConfig

    fayer3 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    37bf2cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    056e226 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. fix last few mixins

    fayer3 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    ba6eb95 View commit details
    Browse the repository at this point in the history
  2. forgot those

    fayer3 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e5c5e5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e9f205 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb0d637 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    8b24db2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0796b23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc08b72 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    55229a7 View commit details
    Browse the repository at this point in the history
  2. fix mistake in javadoc

    fayer3 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    9c9edf9 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. fix clicking reset origin with vr off crashing the game

    fix pressing escape on the seated confirmation closing the screen, instead of canceling the confirmation
    fayer3 committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    4b7a031 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c49059f View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. fix texture animation in the main menu, vanilla always ticks the text…

    …ure manager since 1.20.2
    fayer3 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3356215 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. fix play area size detection

    fayer3 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    9c6b611 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    05c69a5 View commit details
    Browse the repository at this point in the history