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 Cauldron #231

Merged

Commits on Feb 27, 2023

  1. [feat] Bedrock Colored Water Cauldron

    This allows to color the cauldron filled with water and dye the item by it.
    
    New configurable option `bedrockCauldron` is available, and I haven't added it to SettingsGUI. Please check `BedrockifySettings.java`.
    
    * new configurable option in `BedrockifySettings`
      - boolean `bedrockCauldron`
    
    * new block color tint has registered in `BedrockifyClient`
      - for `ColoredWaterCauldronBlock`
    
    * registered mixins
      - `mixin.common.features.cauldron.AbstractCauldronBlockMixin`
      - `mixin.common.features.cauldron.ArmorDyeRecipeMixin`
    
    * new files
      - `common.block.cauldron.BedrockCauldronBehavior`
      - `common.block.entity.WaterCauldronBlockEntity`
      - `common.block.ColoredWaterCauldronBlock`
      - `common.features.cauldron.BedrockCauldronBlocks`
      - `assets/blockstates/colored_water_cauldron.json`
    lonefelidae16 committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    e42d99a View commit details
    Browse the repository at this point in the history
  2. [feat] Bedrock Potion Cauldron

    This allows to keep the Potion fluid in Cauldron.
    
    * new particle receiver has registered in `BedrockifyClient`
      - for the behavior of Potion-filled Cauldron
    
    * add block definition in `BedrockCauldronBlocks`
      - `PotionCauldronBlock`
    
    * update `BedrockCauldronBehavior.java`
      - add behavior of potions
    
    * registered mixins
      - `mixin.common.features.cauldron.CauldronBehaviorMixin`
      - `mixin.common.features.cauldron.LeveledCauldronBlockAccessor`
      - `mixin.common.features.cauldron.MinecraftServerMixin`
    
    * new files
      - `common.block.AbstractBECauldronBlock`
      - `common.block.PotionCauldronBlock`
      - `assets/blockstates/potion_cauldron.json`
    lonefelidae16 committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    e37f575 View commit details
    Browse the repository at this point in the history
  3. [fix][compat] Sodium visual glitch

    * update dependencies
      - sodium mc1.19.3-0.4.9
    
    * registered mixin
      - `mixin.client.compat.sodium.LinearColorBlenderMixin`
    lonefelidae16 committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    e6a6c35 View commit details
    Browse the repository at this point in the history
  4. Define pick stack

    * update `AbstractBECauldronBlock`
    lonefelidae16 committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    746662e View commit details
    Browse the repository at this point in the history
  5. Add config checks

    * update `BedrockCauldronBehavior`
    lonefelidae16 committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    a25e2a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. [fix] cauldron wont drop

    Set the loot table and block tag.
    
    * new files
      - `data/bedrockify/loot_tables/blocks/colored_water_cauldron.json`
      - `data/bedrockify/loot_tables/blocks/potion_cauldron.json`
      - `data/minecraft/tags/blocks/cauldrons.json`
    lonefelidae16 committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    268d4d9 View commit details
    Browse the repository at this point in the history
  2. Use lifecycle event callback

    Fabric API has some useful event listeners.
    
    * removed mixin
      - `mixin.common.features.cauldron.MinecraftServerMixin`
    
    * update files
      - `Bedrockify.java`
      - `BedrockifyClient.java`
    lonefelidae16 committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    aaf4eaf View commit details
    Browse the repository at this point in the history