From cb5047f67772202c6b9f3e80db03cbc267d897fe Mon Sep 17 00:00:00 2001 From: PepperBell <44146161+PepperCode1@users.noreply.github.com> Date: Tue, 14 Dec 2021 22:00:44 -0800 Subject: [PATCH] Sweeping up - Remove deprecated methods and fields - Bump pack format - Fix CI badge link - Update VanillaInstances javadoc - Organize imports --- README.md | 2 +- .../api/instance/IDynamicInstance.java | 2 +- .../jozufozu/flywheel/backend/Backend.java | 2 +- .../flywheel/backend/gl/GLSLVersion.java | 4 --- .../backend/gl/buffer/MappedGlBuffer.java | 1 - .../flywheel/backend/gl/buffer/VecBuffer.java | 2 -- .../backend/instancing/AbstractInstance.java | 4 +-- .../backend/instancing/InstanceManager.java | 4 +-- .../backend/instancing/InstanceWorld.java | 4 +-- .../instancing/InstancedRenderRegistry.java | 25 +++-------------- .../instancing/batching/BatchingEngine.java | 2 +- .../instancing/batching/CPUInstancer.java | 2 +- .../instancing/entity/EntityInstance.java | 6 ++-- .../entity/EntityInstanceManager.java | 2 +- .../instancing/instancing/GPUInstancer.java | 6 ++-- .../instancing/InstancedMaterial.java | 6 ++-- .../instancing/InstancingEngine.java | 4 +-- .../instancing/tile/TileEntityInstance.java | 6 ++-- .../instancing/tile/TileInstanceManager.java | 2 +- .../backend/pipeline/WorldShaderPipeline.java | 2 +- .../com/jozufozu/flywheel/core/Contexts.java | 2 +- .../flywheel/core/FullscreenQuad.java | 7 +++-- .../com/jozufozu/flywheel/core/Materials.java | 2 +- .../crumbling/CrumblingInstanceManager.java | 2 +- .../core/materials/model/ModelType.java | 6 ++-- .../model/writer/UnsafeModelWriter.java | 2 +- .../core/materials/oriented/OrientedType.java | 6 ++-- .../oriented/writer/UnsafeOrientedWriter.java | 2 +- .../flywheel/core/model/PartBuilder.java | 3 -- .../flywheel/light/GPULightVolume.java | 4 --- .../flywheel/mixin/RenderHooksMixin.java | 1 - .../flywheel/mixin/matrix/PoseStackMixin.java | 1 - .../flywheel/vanilla/BellInstance.java | 2 +- .../flywheel/vanilla/ChestInstance.java | 2 +- .../flywheel/vanilla/MinecartInstance.java | 2 +- .../flywheel/vanilla/ShulkerBoxInstance.java | 2 +- .../flywheel/vanilla/VanillaInstances.java | 28 +++++++++---------- src/main/resources/pack.mcmeta | 2 +- 38 files changed, 66 insertions(+), 98 deletions(-) diff --git a/README.md b/README.md index 3de6e12e7..95d7ba6ba 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
{@link TileEntityType#SIGN} | {@link net.minecraft.client.renderer.tileentity.SignTileEntityRenderer SignTileEntityRenderer} |
{@link TileEntityType#PISTON} | {@link net.minecraft.client.renderer.tileentity.PistonTileEntityRenderer PistonTileEntityRenderer} |
{@link TileEntityType#CONDUIT} | {@link net.minecraft.client.renderer.tileentity.ConduitTileEntityRenderer ConduitTileEntityRenderer} |
{@link TileEntityType#ENCHANTING_TABLE} | {@link net.minecraft.client.renderer.tileentity.EnchantmentTableTileEntityRenderer EnchantmentTableTileEntityRenderer} |
{@link TileEntityType#LECTERN} | {@link net.minecraft.client.renderer.tileentity.LecternTileEntityRenderer LecternTileEntityRenderer} |
{@link TileEntityType#MOB_SPAWNER} | {@link net.minecraft.client.renderer.tileentity.MobSpawnerTileEntityRenderer MobSpawnerTileEntityRenderer} |
{@link TileEntityType#BED} | {@link net.minecraft.client.renderer.tileentity.BedTileEntityRenderer BedTileEntityRenderer} |
{@link BlockEntityType#SIGN} | {@link net.minecraft.client.renderer.blockentity.SignRenderer SignRenderer} |
{@link BlockEntityType#PISTON} | {@link net.minecraft.client.renderer.blockentity.PistonHeadRenderer PistonHeadRenderer} |
{@link BlockEntityType#CONDUIT} | {@link net.minecraft.client.renderer.blockentity.ConduitRenderer ConduitRenderer} |
{@link BlockEntityType#ENCHANTING_TABLE} | {@link net.minecraft.client.renderer.blockentity.EnchantTableRenderer EnchantTableRenderer} |
{@link BlockEntityType#LECTERN} | {@link net.minecraft.client.renderer.blockentity.LecternRenderer LecternRenderer} |
{@link BlockEntityType#MOB_SPAWNER} | {@link net.minecraft.client.renderer.blockentity.SpawnerRenderer SpawnerRenderer} |
{@link BlockEntityType#BED} | {@link net.minecraft.client.renderer.blockentity.BedRenderer BedRenderer} |
^^ Interesting - Major vv | |
{@link TileEntityType#END_PORTAL} | {@link net.minecraft.client.renderer.tileentity.EndPortalTileEntityRenderer EndPortalTileEntityRenderer} |
{@link TileEntityType#END_GATEWAY} | {@link net.minecraft.client.renderer.tileentity.EndGatewayTileEntityRenderer EndGatewayTileEntityRenderer} |
{@link TileEntityType#BEACON} | {@link net.minecraft.client.renderer.tileentity.BeaconTileEntityRenderer BeaconTileEntityRenderer} |
{@link TileEntityType#SKULL} | {@link net.minecraft.client.renderer.tileentity.SkullTileEntityRenderer SkullTileEntityRenderer} |
{@link TileEntityType#BANNER} | {@link net.minecraft.client.renderer.tileentity.BannerTileEntityRenderer BannerTileEntityRenderer} |
{@link TileEntityType#STRUCTURE_BLOCK} | {@link net.minecraft.client.renderer.tileentity.StructureTileEntityRenderer StructureTileEntityRenderer} |
{@link TileEntityType#CAMPFIRE} | {@link net.minecraft.client.renderer.tileentity.CampfireTileEntityRenderer CampfireTileEntityRenderer} |
{@link BlockEntityType#END_PORTAL} | {@link net.minecraft.client.renderer.blockentity.TheEndPortalRenderer TheEndPortalRenderer} |
{@link BlockEntityType#END_GATEWAY} | {@link net.minecraft.client.renderer.blockentity.TheEndGatewayRenderer TheEndGatewayRenderer} |
{@link BlockEntityType#BEACON} | {@link net.minecraft.client.renderer.blockentity.BeaconRenderer BeaconRenderer} |
{@link BlockEntityType#SKULL} | {@link net.minecraft.client.renderer.blockentity.SkullBlockRenderer SkullBlockRenderer} |
{@link BlockEntityType#BANNER} | {@link net.minecraft.client.renderer.blockentity.BannerRenderer BannerRenderer} |
{@link BlockEntityType#STRUCTURE_BLOCK} | {@link net.minecraft.client.renderer.debug.StructureRenderer StructureRenderer} |
{@link BlockEntityType#CAMPFIRE} | {@link net.minecraft.client.renderer.blockentity.CampfireRenderer CampfireRenderer} |