Skip to content

Conversation

@TheWireLord
Copy link
Contributor

  • Updated CustomLecternRenderer to implement page rendering for printouts and pocket computers.
  • Improved terminal rendering logic in CustomLecternRenderer, including scaling and margin calculations.
  • Refactored ItemMapLikeRenderer to use float instead of var for better clarity and consistency.
  • Removed unused pages parameter in CustomLecternRenderer's State class.
  • Adjusted rendering methods to accommodate changes in the NeoForge API for 1.21.10.

Data generation updates

  • Modified DataProviders to use new ResourceLocation for block atlases and GUI sprites.
  • Updated LootTableProvider to remove deprecated functions related to loot item naming and components.
  • Adjusted RecipeProvider to accommodate changes in ResolvableProfile instantiation.

TurtleTool and FakePlayerExt adjustments

  • Removed inventory clearing in TurtleTool after tool action.
  • Updated FakePlayerExt to set game mode to survival for proper block drop collection.

Game test modifications

  • Updated GameTestServerMixin to reflect changes in the constructor for 1.21.10.
  • Adjusted Computer_Test and Recipe_Test to use new KeyEvent and ResolvableProfile creation methods.
  • Disabled player setup for tests due to API changes in NeoForge 1.21.10.

Forge-specific changes

  • Updated ForgeClientHooks to handle changes in rendering events and item frame rendering.
  • Adjusted FluidMethods and InventoryMethods to accommodate new transfer API in NeoForge.
  • Removed deprecated capability imports and adjusted methods to use new API structures.

Miscellaneous

  • Updated access transformer and mixin configurations for compatibility with NeoForge 1.21.10.
  • Added ItemInHandRendererMixin to handle custom item rendering logic.

SquidDev and others added 2 commits October 13, 2025 21:15
…derer

- Updated CustomLecternRenderer to implement page rendering for printouts and pocket computers.
- Improved terminal rendering logic in CustomLecternRenderer, including scaling and margin calculations.
- Refactored ItemMapLikeRenderer to use float instead of var for better clarity and consistency.
- Removed unused pages parameter in CustomLecternRenderer's State class.
- Adjusted rendering methods to accommodate changes in the NeoForge API for 1.21.10.

Data generation updates

- Modified DataProviders to use new ResourceLocation for block atlases and GUI sprites.
- Updated LootTableProvider to remove deprecated functions related to loot item naming and components.
- Adjusted RecipeProvider to accommodate changes in ResolvableProfile instantiation.

TurtleTool and FakePlayerExt adjustments

- Removed inventory clearing in TurtleTool after tool action.
- Updated FakePlayerExt to set game mode to survival for proper block drop collection.

Game test modifications

- Updated GameTestServerMixin to reflect changes in the constructor for 1.21.10.
- Adjusted Computer_Test and Recipe_Test to use new KeyEvent and ResolvableProfile creation methods.
- Disabled player setup for tests due to API changes in NeoForge 1.21.10.

Forge-specific changes

- Updated ForgeClientHooks to handle changes in rendering events and item frame rendering.
- Adjusted FluidMethods and InventoryMethods to accommodate new transfer API in NeoForge.
- Removed deprecated capability imports and adjusted methods to use new API structures.

Miscellaneous

- Updated access transformer and mixin configurations for compatibility with NeoForge 1.21.10.
- Added ItemInHandRendererMixin to handle custom item rendering logic.
@TheWireLord TheWireLord changed the base branch from mc-1.15.x to mc-1.21.y October 14, 2025 04:32
@TheWireLord TheWireLord changed the title Refactor rendering logic for CustomLecternRenderer and ItemMapLikeRenderer Fixes to Lectern Displays, Turtle Inventory Issues, and other Forge Issues Oct 14, 2025
@TheWireLord TheWireLord marked this pull request as draft October 14, 2025 04:43
SquidDev and others added 3 commits October 14, 2025 08:51
Game tests are running but not passing. Well, on Fabric, there's some
fun classpath issues on NF. Classic.

 - Update NF to use new transfer code. Generic peripherals don't work
   yet, as the capabilities aren't wired up correctly. Suspect we're
   gonna have to tear out that code.
…ndler capabilities, fix startRiding method signature, and refactor rendering logic.
@TheWireLord
Copy link
Contributor Author

<!> CLOSING THIS <!>
Looks like the changes are being done a better way here:
#2304

@TheWireLord TheWireLord deleted the feature/1.21.10 branch October 19, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants