Commit graph

2406 commits

Author SHA1 Message Date
PepperCode1
9da4fc5b60 Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev 2024-09-01 17:32:05 -07:00
PepperCode1
4eb36f77f7 Bump version and remove unnecessary code after fence fix 2024-09-01 17:21:26 -07:00
Jozufozu
e320a7144e Please don't take a fence
- Strip out persistent buffer and GlFence code
2024-08-23 23:46:10 -07:00
PepperCode1
28b11454ef Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev 2023-11-26 13:51:01 -08:00
PepperCode1
e386d9d3df Merge remote-tracking branch 'origin/1.18/fabric/dev' into 1.19/fabric/dev 2023-11-26 13:50:25 -08:00
IThundxr
548ad49433
1.19 0.6.10 (#213)
* 1.19 0.6.10

* fix refmap

* Fix merge mistakes

* chore: Drop remap changes commits, not needed

---------

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>
2023-11-26 13:46:23 -08:00
PepperCode1
f39a85331f Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
Conflicts:
	README.md
	build.gradle
	src/main/java/com/jozufozu/flywheel/core/virtual/VirtualChunk.java
	src/main/java/com/jozufozu/flywheel/core/virtual/VirtualEmptyBlockGetter.java
	src/main/java/com/jozufozu/flywheel/core/virtual/VirtualRenderWorld.java
	src/main/java/com/jozufozu/flywheel/mixin/FixFabulousDepthMixin.java
	src/main/java/com/jozufozu/flywheel/mixin/LevelRendererMixin.java
	src/main/resources/META-INF/mods.toml
	src/main/resources/flywheel.sodium.mixins.json
2023-09-09 17:17:05 -07:00
PepperCode1
752652b3d4 Remove RenderChunkExtension 2023-08-23 15:06:33 -07:00
PepperCode1
62c8c43a34 Merge branch '1.18/dev' into 1.19/dev 2023-08-23 15:04:41 -07:00
PepperCode1
1031a8e71e Fix incorrect mixin plugin name 2023-08-23 15:04:24 -07:00
PepperCode1
23860ad857 Merge branch '1.18/dev' into 1.19/dev
Conflicts:
	build.gradle
	gradle.properties
	src/main/java/com/jozufozu/flywheel/core/virtual/VirtualChunk.java
	src/main/java/com/jozufozu/flywheel/core/virtual/VirtualRenderWorld.java
	src/main/java/com/jozufozu/flywheel/mixin/instancemanage/ChunkRebuildHooksMixin.java
	src/main/resources/flywheel.mixins.json
2023-08-23 11:50:49 -07:00
PepperCode1
4c94abc2e8 Update light mixins
ClientboundLevelChunkWithLightPacket now also causes the LightUpdater to
notify its listeners
2023-08-23 11:06:34 -07:00
PepperCode1
ecc3c2d925 Add Rubidium compatibility on our side
- Move FixNormalScalingMixin from Create
- Extract some of LevelRendererMixin into InstanceUpdateMixin
2023-08-23 10:03:57 -07:00
PepperCode1
01f204eb0a Update issue template 2023-08-21 13:22:17 -07:00
PepperCode1
6709870456 Improve and fix VirtualRenderWorld
- Fix calling VirtualRenderWorld#getExistingBlockEntity causing a crash
- Bump version
2023-08-21 13:17:47 -07:00
PepperCode1
20e23aff8f Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
Conflicts:
	build.gradle
	gradle.properties
	src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
	src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
2023-07-07 14:53:51 -06:00
PepperCode1
fd8038035d Merge branch '1.18/fabric/dev' into 1.19/fabric/dev
Conflicts:
	build.gradle
	gradle.properties
	src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/BlockModel.java
	src/main/java/com/jozufozu/flywheel/core/model/Bufferable.java
	src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
	src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertex.java
	src/main/resources/fabric.mod.json
2023-07-07 14:49:48 -06:00
PepperCode1
833edce4e5 Fix license badge link 2023-07-07 14:01:01 -06:00
PepperCode1
a970e422c1 Update README and issue template
- Add license and Modrinth badges to README
- Update buildscript dependency example and Maven link in README
- Add 0.6.9 and 1.20.1 to issue template
2023-07-07 13:51:10 -06:00
PepperCode1
dc43d22c8b Update virtual rendering workarounds
- Require Fabric API >=0.75.1
- Only wrap with CullingBakedModel if Indium is installed
2023-07-07 11:57:40 -06:00
PepperCode1
95cf9dbe78 Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
Conflicts:
	build.gradle
	gradle.properties
	src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
	src/main/java/com/jozufozu/flywheel/core/model/ShadeSeparatedBufferBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertex.java
2023-07-07 11:46:29 -06:00
PepperCode1
7105c3914c Impossible leaks 2023-07-03 16:27:25 -07:00
PepperCode1
af3d9f7425 Merge branch '1.18/dev' into 1.19/dev
Conflicts:
	src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/BlockModel.java
	src/main/java/com/jozufozu/flywheel/core/model/Bufferable.java
	src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
	src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertex.java
2023-07-03 14:59:58 -07:00
PepperCode1
e79f6bcbf6 Fix poor design choices resulting in memory leaks
- Add ShadeSeparatedBufferedData which is returned by buffering
utilities and can be released
- Remove ShadeSeparatedBufferBuilder and add ModelUtil#endAndCombine
- Add VertexList#delete
- Replace all usage of MemoryTracker with MemoryUtil
- Add FlwUtil#copyBuffer
- Turn most BlockModel constructors into static methods
- Add BakedModelBuilder#toModel
2023-07-03 13:19:37 -07:00
PepperCode1
0f4ebe1465 Fix memory leaks 2023-06-26 19:25:53 -07:00
PepperCode1
5ae96be11a Merge branch '1.18/dev' into 1.19/dev
Conflicts:
	build.gradle
	gradle.properties
2023-06-26 19:08:11 -07:00
PepperCode1
873facfd34 Fix crumbling
- Use vanilla's approach of determining crumbling UVs from vertex
positions instead of scaling existing UVs
- Bump version
- Update buildscript and Gradle
2023-06-26 18:55:00 -07:00
PepperCode1
f72642c27e Merge branch '1.18/fabric/dev' into 1.19/fabric/dev 2023-02-22 13:08:09 -08:00
PepperCode1
7abc292568 Implement RenderAttachedBlockView on VirtualEmptyBlockGetter 2023-02-22 13:07:50 -08:00
PepperCode1
4f33fc3a7e Merge remote-tracking branch 'origin/1.18/fabric/dev' into 1.19/fabric/dev 2023-01-26 15:04:55 -08:00
PepperCode1
09ea5c480d Do not enforce Semver 2023-01-26 15:04:07 -08:00
PepperCode1
583f6ed9e0 Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
Conflicts:
	src/main/resources/META-INF/mods.toml
2023-01-26 11:19:36 -08:00
PepperCode1
59c11949e8 Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
Conflicts:
	src/main/resources/META-INF/mods.toml
2023-01-26 11:17:06 -08:00
PepperCode1
0e198ab8c7 Merge branch '1.18/dev' into 1.19/dev
Conflicts:
	gradle.properties
2023-01-13 16:09:34 -08:00
PepperCode1
f370e85d6d Increment version 2023-01-13 16:08:32 -08:00
PepperCode1
83a5723420 Fix IndexedModel allocating incorrect amount of bytes
- model.size() returned the byte size relative to the model's
VertexType, but the byte size relative to the passed VertexType is
needed instead
2022-12-31 14:34:59 -08:00
PepperCode1
c4b7e869bb Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev 2022-12-27 16:12:32 -08:00
PepperCode1
99f43ef6eb Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev 2022-12-27 15:22:05 -08:00
Jozufozu
23c0ef6f33
Update changelog.txt 2022-12-14 09:16:21 -08:00
PepperCode1
1d851906ab Merge remote-tracking branch 'origin/1.18/dev' into 1.19/dev 2022-12-13 13:48:26 -08:00
PepperCode1
27f2181752
Merge pull request #162 from marchermans/1.18/dev
Switch to the block vertex format for instancing
2022-12-08 15:05:16 -08:00
Marc Hermans
e04ae88073
Switch to the block vertex format. 2022-12-01 21:24:11 +01:00
PepperCode1
cf22aab2ea Merge branch '1.18/dev' into 1.19/dev 2022-11-22 13:04:47 -08:00
PepperCode1
f56d0f9024 Models are (actually) temporary
- Call Model#delete on instancer delete
- Add constraint to modelSupplier in Material#model
- Fix memory leak in ModelPart
- Add ArrayModelRenderer#getModel
2022-11-22 13:04:03 -08:00
PepperCode1
954d1d77fb Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
Conflicts:
	build.gradle
	gradle.properties
	src/main/java/com/jozufozu/flywheel/Flywheel.java
	src/main/java/com/jozufozu/flywheel/backend/Loader.java
	src/main/java/com/jozufozu/flywheel/config/FlwCommands.java
	src/main/java/com/jozufozu/flywheel/core/PartialModel.java
	src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
	src/main/java/com/jozufozu/flywheel/core/model/ShadeSeparatedBufferBuilder.java
	src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
	src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertex.java
	src/main/java/com/jozufozu/flywheel/event/EntityWorldHandler.java
	src/main/java/com/jozufozu/flywheel/event/ForgeEvents.java
	src/main/java/com/jozufozu/flywheel/util/RenderMath.java
	src/main/resources/META-INF/mods.toml
	src/main/resources/pack.mcmeta
2022-11-11 00:11:58 -08:00
PepperCode1
e78158925e Update Loom, Loader, Fabric API 2022-11-10 20:59:12 -08:00
PepperCode1
7c757fee80 Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
Conflicts:
	build.gradle
	gradle.properties
	src/main/java/com/jozufozu/flywheel/core/QuadConverter.java
	src/main/java/com/jozufozu/flywheel/core/crumbling/CrumblingRenderer.java
	src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertexList.java
	src/main/java/com/jozufozu/flywheel/event/ForgeEvents.java
	src/main/java/com/jozufozu/flywheel/mixin/ChunkRebuildHooksMixin.java
	src/main/java/com/jozufozu/flywheel/mixin/InstanceAddMixin.java
	src/main/java/com/jozufozu/flywheel/mixin/LevelRendererMixin.java
2022-11-10 18:05:46 -08:00
PepperCode1
88135d8715 Tiniest of discrepancies
- Re-add default implementation of Model#createEBO
- Remove old commented methods in VirtualChunk
- Update Forge
2022-11-10 16:56:23 -08:00
PepperCode1
8c36613738 Merge branch '1.18/dev' into 1.19/dev
# Conflicts:
#	gradle.properties
#	src/main/java/com/jozufozu/flywheel/core/hardcoded/ModelPart.java
#	src/main/java/com/jozufozu/flywheel/core/model/BlockModel.java
#	src/main/java/com/jozufozu/flywheel/core/model/Model.java
#	src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
#	src/main/java/com/jozufozu/flywheel/event/ForgeEvents.java
#	src/main/java/com/jozufozu/flywheel/mixin/LevelRendererMixin.java
#	src/main/java/com/jozufozu/flywheel/mixin/instancemanage/ChunkRebuildHooksMixin.java
#	src/main/resources/flywheel.mixins.json
2022-11-10 16:41:02 -08:00
PepperCode1
f6d5ed01e7 A bit of backporting
- Backport general changes from 1.19
- Fix Javadoc of PartialModel
- Remove default Model#getType implementation
- Increment version to 0.6.8
- Update Parchment
2022-11-10 16:30:30 -08:00