TU53 + Bug Fixes (Many)

Patch Notes:
Blocks
+ Colored shulker boxes
+ Concrete powder
+ Concrete
+ Glazed terracotta
Items
+ Shulker shell
+ Iron nugget
UI Changes
+ Added Custom Controls to Keyboard & Mouse, as well as Controller
+ Added Custom SuperFlat
+ Added Edit Server Menu
+ Added Firework Crafting
Feature Changes
+ Host Options
+ Added Pick Block
+ Added off-hand slot for maps and arrows.
Bug Fixes & changes
+ TU47: Banner hitbox wrong (and inventory model fixed)
+ TU47/48: Ice not melting properly
+ TU48: Dead bushes not dropping sticks
+ TU48: Guardians and polar bears not dropping cooked fish when on fire
+ TU48: Bonus chest missing saplings and seeds
+ TU48: Frosted ice obtainable
+ TU48: Hoppers not collecting items
+ TU48: Wither skeletons spawning in 2-high gaps
+ TU48: End crystals exploding with “TNT Explodes” off
+ TU48: Tamed ocelots staying hostile
+ TU48: Signs not placing on tall grass
+ TU51: Skeleton hitbox wrong
+ TU53: Fall damage in shallow water
+ TU53: Squids not spawning in man-made pools
+ Elytra has been improved to be more accurate to the source material
+ Removed Spectral Arrow from crafting
+ Fixed several broken item descriptions
+ You can no longer cook Pufferfish or Clownfish
+ Fixed scaling issue with paperdoll and chat
+ Iron and gold armor can now be smelted into nuggets.
+ More items can now be used as fuel in a furnace.
+ Using a firework rocket while gliding with elytra will now give the player a boost.
+ Changed the color of dyes, wool, carpets, and banners.
+ Reordered all colored blocks and items in the Creative inventory. Banners now have the same order of colors as all other colored blocks and items.
+ Fishing rods can now hook on entities without causing knockback or pseudo-damage.
+ Fixed banner crafting
+ Fixed Map colors for certain blocks
+ Fixed Path block height
+ Fixed String block issues
+ Fixed Item frame culling.
+ Fixed Tutorial world NBT/Block State issues
+ Fixed World Slider
+ Fixed Enderman AI
+ Fixed Player animation bug
+ HUD Flash text changes
+ Generation accuracy changes
+ Many other small accuracy changes and fixes
This commit is contained in:
Tranqlmao committed 2026-11-24 13:44:06 -05:00
1 parent 8de3b79e65
commit 9abd52985e
483 files changed
+15228 -4114

No files matched your search

+70 -8
View File
@@ -19,6 +19,9 @@
#include "CompassTexture.h"
#include "ClockTexture.h"
static const int ITEM_ATLAS_ROWS = 17;
static const int TERRAIN_ATLAS_ROWS = 34;
const wstring PreStitchedTextureMap::NAME_MISSING_TEXTURE = L"missingno";
PreStitchedTextureMap::PreStitchedTextureMap(int type, const wstring &name, const wstring &path, BufferedImage *missingTexture, bool mipmap) : iconType(type), name(name), path(path), extension(L".png")
@@ -141,6 +144,13 @@ void PreStitchedTextureMap::stitch()
int width = (preStitched->getU1() * stitchResult->getWidth()) - x;
int height = (preStitched->getV1() * stitchResult->getHeight()) - y;
{
int atlasRows = (iconType == Icon::TYPE_TERRAIN) ? TERRAIN_ATLAS_ROWS : ITEM_ATLAS_ROWS;
float cellPx = stitchResult->getWidth() / 16.0f;
y = static_cast<int>(preStitched->getV0() * atlasRows * cellPx + 0.5f);
height = static_cast<int>(preStitched->getV1() * atlasRows * cellPx + 0.5f) - y;
}
preStitched->init(stitchResult, nullptr, x, y, width, height, false);
}
@@ -338,7 +348,7 @@ void PreStitchedTextureMap::loadUVs()
if(iconType != Icon::TYPE_TERRAIN)
{
float horizRatio = 1.0f/16.0f;
float vertRatio = 1.0f/16.0f;
float vertRatio = 1.0f/ITEM_ATLAS_ROWS;
ADD_ICON(0, 0, L"helmetCloth")
ADD_ICON(0, 1, L"helmetChain")
@@ -605,6 +615,8 @@ void PreStitchedTextureMap::loadUVs()
ADD_ICON_WITH_NAME(14, 13, L"clockP2", L"clock") // 4J Added
ADD_ICON_WITH_NAME(14, 14, L"clockP3", L"clock") // 4J Added
ADD_ICON(14, 15, L"dragonFireball")
ADD_ICON(16, 0, L"shulker_shell")
ADD_ICON(16, 1, L"iron_nugget")
ADD_ICON(15, 0, L"record_13")
ADD_ICON(15, 1, L"record_cat")
@@ -683,7 +695,7 @@ void PreStitchedTextureMap::loadUVs()
else
{
float horizRatio = 1.0f/16.0f;
float vertRatio = 1.0f/32.0f;
float vertRatio = 1.0f/TERRAIN_ATLAS_ROWS;
ADD_ICON(0, 0, L"grass_top")
texturesByName[L"grass_top"]->setFlags(Icon::IS_GRASS_TOP); // 4J added for faster determination of texture type in tesselation
@@ -829,8 +841,8 @@ void PreStitchedTextureMap::loadUVs()
ADD_ICON(8, 3, L"repeater_off");
ADD_ICON(8, 4, L"leaves_spruce");
ADD_ICON(8, 5, L"leaves_spruce_opaque");
ADD_ICON(8, 6, L"bed_feet_top");
ADD_ICON(8, 7, L"bed_head_top");
ADD_ICON(31, 10, L"bed_feet_top");
ADD_ICON(31, 11, L"bed_head_top");
ADD_ICON(8, 8, L"melon_side");
ADD_ICON(8, 9, L"melon_top");
ADD_ICON(8, 10, L"cauldron_top");
@@ -845,10 +857,10 @@ void PreStitchedTextureMap::loadUVs()
ADD_ICON(9, 2, L"wool_colored_lime");
ADD_ICON(9, 3, L"repeater_on");
ADD_ICON(9, 4, L"glass_pane_top");
ADD_ICON(9, 5, L"bed_feet_end");
ADD_ICON(9, 6, L"bed_feet_side");
ADD_ICON(9, 7, L"bed_head_side");
ADD_ICON(9, 8, L"bed_head_end");
ADD_ICON(31, 12, L"bed_feet_end");
ADD_ICON(31, 13, L"bed_feet_side");
ADD_ICON(31, 14, L"bed_head_side");
ADD_ICON(31, 15, L"bed_head_end");
ADD_ICON(9, 9, L"log_jungle");
ADD_ICON(9, 10, L"cauldron_side");
ADD_ICON(9, 11, L"cauldron_bottom");
@@ -1112,6 +1124,56 @@ void PreStitchedTextureMap::loadUVs()
ADD_ICON(25, 3, L"beetroots_stage_3");
ADD_ICON(24, 11, L"red_nether_brick");
ADD_ICON(27, 0, L"concrete_black");
ADD_ICON(27, 1, L"concrete_blue");
ADD_ICON(27, 2, L"concrete_brown");
ADD_ICON(27, 3, L"concrete_cyan");
ADD_ICON(27, 4, L"concrete_gray");
ADD_ICON(27, 5, L"concrete_green");
ADD_ICON(27, 6, L"concrete_light_blue");
ADD_ICON(27, 7, L"concrete_lime");
ADD_ICON(27, 8, L"concrete_magenta");
ADD_ICON(27, 9, L"concrete_orange");
ADD_ICON(27, 10, L"concrete_pink");
ADD_ICON(27, 11, L"concrete_purple");
ADD_ICON(27, 12, L"concrete_red");
ADD_ICON(27, 13, L"concrete_silver");
ADD_ICON(27, 14, L"concrete_white");
ADD_ICON(27, 15, L"concrete_yellow");
ADD_ICON(28, 0, L"concrete_powder_black");
ADD_ICON(28, 1, L"concrete_powder_blue");
ADD_ICON(28, 2, L"concrete_powder_brown");
ADD_ICON(28, 3, L"concrete_powder_cyan");
ADD_ICON(28, 4, L"concrete_powder_gray");
ADD_ICON(28, 5, L"concrete_powder_green");
ADD_ICON(28, 6, L"concrete_powder_light_blue");
ADD_ICON(28, 7, L"concrete_powder_lime");
ADD_ICON(28, 8, L"concrete_powder_magenta");
ADD_ICON(28, 9, L"concrete_powder_orange");
ADD_ICON(28, 10, L"concrete_powder_pink");
ADD_ICON(28, 11, L"concrete_powder_purple");
ADD_ICON(28, 12, L"concrete_powder_red");
ADD_ICON(28, 13, L"concrete_powder_silver");
ADD_ICON(28, 14, L"concrete_powder_white");
ADD_ICON(28, 15, L"concrete_powder_yellow");
ADD_ICON(29, 0, L"glazed_terracotta_black");
ADD_ICON(29, 1, L"glazed_terracotta_blue");
ADD_ICON(29, 2, L"glazed_terracotta_brown");
ADD_ICON(29, 3, L"glazed_terracotta_cyan");
ADD_ICON(29, 4, L"glazed_terracotta_gray");
ADD_ICON(29, 5, L"glazed_terracotta_green");
ADD_ICON(29, 6, L"glazed_terracotta_light_blue");
ADD_ICON(29, 7, L"glazed_terracotta_lime");
ADD_ICON(29, 8, L"glazed_terracotta_magenta");
ADD_ICON(29, 9, L"glazed_terracotta_orange");
ADD_ICON(29, 10, L"glazed_terracotta_pink");
ADD_ICON(29, 11, L"glazed_terracotta_purple");
ADD_ICON(29, 12, L"glazed_terracotta_red");
ADD_ICON(29, 13, L"glazed_terracotta_silver");
ADD_ICON(29, 14, L"glazed_terracotta_white");
ADD_ICON(29, 15, L"glazed_terracotta_yellow");
ADD_ICON(30, 0, L"shulker_top");
ADD_ICON(21, 1, L"tallgrass2_tall_grass_lower");
ADD_ICON(20, 1, L"tallgrass2_tall_grass_upper");
ADD_ICON(21, 0, L"tallgrass2_large_fern_lower");