chore: format Minecraft.World

This commit is contained in:
Tropical
2026-03-13 17:06:56 -05:00
parent bd6284025d
commit 33d0737d1d
1511 changed files with 108661 additions and 115521 deletions

View File

@@ -2,37 +2,22 @@
#include "../Headers/net.minecraft.world.h"
#include "ClothTile.h"
ClothTile::ClothTile() : Tile(35, Material::cloth)
{
icons = NULL;
ClothTile::ClothTile() : Tile(35, Material::cloth) { icons = NULL; }
Icon* ClothTile::getTexture(int face, int data) { return icons[data]; }
int ClothTile::getSpawnResourcesAuxValue(int data) { return data; }
int ClothTile::getTileDataForItemAuxValue(int auxValue) {
return (~auxValue & 0xf);
}
Icon *ClothTile::getTexture(int face, int data)
{
return icons[data];
}
int ClothTile::getItemAuxValueForTileData(int data) { return (~data & 0xf); }
int ClothTile::getSpawnResourcesAuxValue(int data)
{
return data;
}
void ClothTile::registerIcons(IconRegister* iconRegister) {
icons = new Icon*[16];
int ClothTile::getTileDataForItemAuxValue(int auxValue)
{
return (~auxValue & 0xf);
}
int ClothTile::getItemAuxValueForTileData(int data)
{
return (~data & 0xf);
}
void ClothTile::registerIcons(IconRegister *iconRegister)
{
icons = new Icon*[16];
for (int i = 0; i < 16; i++)
{
icons[i] = iconRegister->registerIcon(L"cloth_" + _toString(i) );
}
for (int i = 0; i < 16; i++) {
icons[i] = iconRegister->registerIcon(L"cloth_" + _toString(i));
}
}