mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-28 00:12:16 +00:00
Small bits of cleanup
- Remove unused MonitorRenderer. I'm sure this had been deleted already, but apparently not! - Add missing items to the changelog. - Fix crash when clearing tests in a world. - Bump Iris deps, to help with debugging #2229.
This commit is contained in:
parent
67412a2b72
commit
4868c4aa32
@ -38,14 +38,14 @@ nightConfig = "3.8.1"
|
|||||||
# Minecraft mods
|
# Minecraft mods
|
||||||
emi = "1.1.7+1.21"
|
emi = "1.1.7+1.21"
|
||||||
fabricPermissions = "0.3.3"
|
fabricPermissions = "0.3.3"
|
||||||
iris-fabric = "1.8.11+1.21.5-fabric"
|
iris-fabric = "1.9.1+1.21.7-fabric"
|
||||||
iris-forge = "1.8.11+1.21.5-neoforge"
|
iris-forge = "1.9.1+1.21.7-neoforge"
|
||||||
jei = "19.8.2.99"
|
jei = "19.8.2.99"
|
||||||
modmenu = "13.0.2"
|
modmenu = "13.0.2"
|
||||||
moreRed = "6.0.0.3"
|
moreRed = "6.0.0.3"
|
||||||
rei = "18.0.800"
|
rei = "18.0.800"
|
||||||
sodium-fabric = "mc1.21.5-0.6.12-fabric"
|
sodium-fabric = "mc1.21.6-0.6.13-fabric"
|
||||||
sodium-forge = "mc1.21.5-0.6.12-neoforge"
|
sodium-forge = "mc1.21.6-0.6.13-neoforge"
|
||||||
mixinExtra = "0.3.5"
|
mixinExtra = "0.3.5"
|
||||||
create-forge = "6.0.0-6"
|
create-forge = "6.0.0-6"
|
||||||
create-fabric = "0.5.1-f-build.1467+mc1.20.1"
|
create-fabric = "0.5.1-f-build.1467+mc1.20.1"
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
|
||||||
//
|
|
||||||
// SPDX-License-Identifier: MPL-2.0
|
|
||||||
|
|
||||||
package dan200.computercraft.shared.peripheral.monitor;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The render type to use for monitors.
|
|
||||||
*
|
|
||||||
* @see dan200.computercraft.client.render.TileEntityMonitorRenderer
|
|
||||||
* @see ClientMonitor
|
|
||||||
*/
|
|
||||||
public enum MonitorRenderer {
|
|
||||||
/**
|
|
||||||
* Determine the best monitor backend.
|
|
||||||
*/
|
|
||||||
BEST,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Render using texture buffer objects.
|
|
||||||
*
|
|
||||||
* @see org.lwjgl.opengl.GL31#glTexBuffer(int, int, int)
|
|
||||||
*/
|
|
||||||
TBO,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Render using VBOs.
|
|
||||||
*
|
|
||||||
* @see com.mojang.blaze3d.vertex.VertexBuffer
|
|
||||||
*/
|
|
||||||
VBO,
|
|
||||||
}
|
|
@ -88,7 +88,7 @@ object TestHooks {
|
|||||||
LOG.info("Cleaning up after last run")
|
LOG.info("Cleaning up after last run")
|
||||||
|
|
||||||
val level = server.overworld()
|
val level = server.overworld()
|
||||||
StructureUtils.findTestBlocks(getTestOrigin(server), 200, level).forEach { pos ->
|
StructureUtils.findTestBlocks(getTestOrigin(server), 200, level).toList().forEach { pos ->
|
||||||
val test = level.getBlockEntity(pos, BlockEntityType.TEST_INSTANCE_BLOCK).getOrNull() ?: return@forEach
|
val test = level.getBlockEntity(pos, BlockEntityType.TEST_INSTANCE_BLOCK).getOrNull() ?: return@forEach
|
||||||
StructureUtils.clearSpaceForStructure(test.structureBoundingBox, level)
|
StructureUtils.clearSpaceForStructure(test.structureBoundingBox, level)
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
* Support multi-line strings and comments in `edit`.
|
* Support multi-line strings and comments in `edit`.
|
||||||
* Computer and pocket computer terminal sizes can be set with the `computercraft:terminal_size` component.
|
* Computer and pocket computer terminal sizes can be set with the `computercraft:terminal_size` component.
|
||||||
* Border and sidebar textures now use vanilla's nine-sliced format.
|
* Border and sidebar textures now use vanilla's nine-sliced format.
|
||||||
|
* Allow equipping upgrades on the bottom of a pocket computer.
|
||||||
|
|
||||||
Several bug fixes:
|
Several bug fixes:
|
||||||
* Ignore shader compilation errors when running with Pojav.
|
* Ignore shader compilation errors when running with Pojav.
|
||||||
|
@ -5,6 +5,7 @@ New features in CC: Tweaked 1.116.0
|
|||||||
* Support multi-line strings and comments in `edit`.
|
* Support multi-line strings and comments in `edit`.
|
||||||
* Computer and pocket computer terminal sizes can be set with the `computercraft:terminal_size` component.
|
* Computer and pocket computer terminal sizes can be set with the `computercraft:terminal_size` component.
|
||||||
* Border and sidebar textures now use vanilla's nine-sliced format.
|
* Border and sidebar textures now use vanilla's nine-sliced format.
|
||||||
|
* Allow equipping upgrades on the bottom of a pocket computer.
|
||||||
|
|
||||||
Several bug fixes:
|
Several bug fixes:
|
||||||
* Ignore shader compilation errors when running with Pojav.
|
* Ignore shader compilation errors when running with Pojav.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user