Skip to content

Commit

Permalink
Fixed texture issues with Alex's Mob
Browse files Browse the repository at this point in the history
- textures of catfish and cosmic cod (Alex's Mobs) were not rendered correctly
- cracked bucket texture was not used for stradpole (Alex's Mobs) bucket texture
  • Loading branch information
cech12 committed Sep 10, 2023
1 parent 2c8d7b5 commit 65b62f6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Forge Recommended Versioning](https://mcforge.readthedocs.io/en/latest/conventions/versioning/).

## [1.20.1-2.3.0.1] - 2023-09-10
### Fixed
- textures of catfish and cosmic cod (Alex's Mobs) were not rendered correctly
- cracked bucket texture was not used for stradpole (Alex's Mobs) bucket texture

## [1.20.1-2.3.0.0] - 2023-08-09
### Changed
- Changed Forge to NeoForge 1.20.1-47.1.54 (compatible with Forge 47.1.0)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mixin_version=0.8.5

## Mod Properties
mod_id=bucketlib
mod_version=2.3.0.0
mod_version=2.3.0.1
mod_group_id=cech12.bucketlib
mod_name=BucketLib
mod_authors=Cech12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ public Component getName(@Nonnull ItemStack stack) {
}

public boolean isCracked(ItemStack stack) {
FluidStack fluidStack = FluidUtil.getFluidContained(stack).orElse(FluidStack.EMPTY);
if (!fluidStack.isEmpty()) {
Fluid fluid = fluidStack.getFluid();
Fluid fluid = BucketLibUtil.getFluid(stack);
if (fluid != Fluids.EMPTY) {
int fluidTemperature = fluid.getFluidType().getTemperature();
Integer upperCrackingTemperature = getUpperBreakTemperature();
Integer lowerCrackingTemperature = getLowerBreakTemperature();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 65b62f6

Please sign in to comment.