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

[feat] Bedrock Sheep Colors #241

Merged
merged 10 commits into from
Apr 1, 2023

Commits on Feb 26, 2023

  1. [feat] Bedrock Sheep Colors

    This enables the color of sheep wool to be displayed after shearing.
    
    A new configurable boolean `sheepColors` is available, and I haven't added it to SettingsGUI. Please check `BedrockifyClientSettings.java`.
    
    * update `BedrockifyClientSettings`
      - new field: boolean `sheepColors`
    
    * registered mixin
      - `mixin.client.features.sheepColors.SheepWoolFeatureRendererMixin`
    
    * new file
      - `assets/textures/entity/sheep_sheared.png`
    lonefelidae16 committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    641bc14 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Merge remote-tracking branch 'upstream/1.19.4' into HEAD

    Resolve conflicts.
    lonefelidae16 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    1cc9a57 View commit details
    Browse the repository at this point in the history
  2. [update] create the texture dynamically

    Supports the user modification by Resource pack.
    
    If OptiFine is present, its functionality is spoiled by this feature.
    
    * new file `client.features.sheepColors.SheepSkinResource`
      - create sheared sheep texture at runtime
    
    * removed file
      - `assets/textures/entity/sheep_sheared.png`
    
    * update `BedrockifyClient`
      - register a new runtime resource `SheepSkinResource`
    
    * update `SheepWoolFeatureRendererMixin`
      - refers the Identifier that created in `SheepSkinResource`
    
    * update `BedrockIfyMixinPlugin`
      - disable this feature when optifabric is present
    lonefelidae16 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    fe4043e View commit details
    Browse the repository at this point in the history
  3. Add error check

    Avoid to throw NullPointerException.
    lonefelidae16 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    d5476fe View commit details
    Browse the repository at this point in the history
  4. Update SheepSkinResource.java

    Fuzss committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    fce8457 View commit details
    Browse the repository at this point in the history
  5. add rgb2hsv algorithm source

    Fuzss committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    e852633 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fdfa5ca View commit details
    Browse the repository at this point in the history
  7. Add JavaDoc

    lonefelidae16 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    6841ec4 View commit details
    Browse the repository at this point in the history
  8. Update SheepSkinResource.java

    More accurate calculations for HSV color: divide by 255.
    
    Update JavaDoc.
    lonefelidae16 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    7102cbc View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

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