Commit graph

14 commits

Author SHA1 Message Date
Jozufozu
b5066e36cf One line optimization
- Actually init vanilla visuals
2024-05-04 16:56:43 -07:00
Jozufozu
f471edc5f4 Gradle grumbles
- Apply java, maven-publish to all projects
- Prefer the tasks.named() syntax for configuring tasks
- Separate shared configuration for platform projects into a separate
  configure block
- Add more fields to processResources
- Make helper methods static
- Exclude duplicated package infos
2024-05-04 16:56:43 -07:00
Jozufozu
5b2339875e Compiling models
- Make model builders abstract
- Move BakedModelBufferer as is into forge project
- Create Forge*ModelBuilders with modeldata parameters
- Wrap ModelBuilder ctors in factory methods
- Add FlywheelLibPlatform api, similar to api.internal package but for
  lib-only/platform specific stuff
- Move TransformStack wrapping into FlywheelLibPlatform
- Create vanilla renderer through FlywheelLibPlatform
- Handle partial model initialization in separate event handler class
- Fix test configuration in common project
2024-05-04 16:56:43 -07:00
Jozufozu
87b9a922c3 Everything but models
- Trying to get xplat forge working, fabric can wait until the common
  project compiles
- Move backend manager event handling to separate class
- Move commands into forge for now
- Make FlwConfig an interface and move concrete impl into forge
- Remove event parameters from handlers than don't actually use them
- Add platform specific blockstate light emission for uniforms
- Remove example effect
- Add accessor for LevelRenderer#ticks
2024-05-04 16:56:42 -07:00
Jozufozu
d9c178cd6c Platform dependent wheeling
- Use ClientPlatform to:
  - Dispatch events
  - Create iris/oculus handler
- Move VisualizationEventHandler into forge project
2024-05-04 16:56:42 -07:00
Jozufozu
5e7e867bcd Deduplication and stubs
- Move common gradle business from each subproject into the
  rootProject.subprojects closure
- Add fabric.mod.json
- Register forge mixin configs
- Make blaze3d mixins remap = false
- Separate common, forge, and fabric mod entrypoints
2024-05-04 16:56:42 -07:00
Kneelawk
c027023709 Move events to platforms 2024-05-04 16:56:42 -07:00
Kneelawk
2163ad95c6 Move MinecraftMixin to platforms 2024-05-04 16:56:42 -07:00
Kneelawk
54f2ffd6ea Move Sodium mixin to platform code 2024-05-04 16:56:42 -07:00
Kneelawk
85fc7c8246 Begin on platform abstraction interface 2024-05-04 16:56:42 -07:00
Kneelawk
0d8a63f189 Add jsr305 compile dependency 2024-05-04 16:56:41 -07:00
Kneelawk
a6157c59b3 Re-add sodium/embeddium, iris/oculus, starlight dependencies 2024-05-04 16:56:41 -07:00
Kneelawk
99044bcf7b Re-add package-info generation 2024-05-04 16:56:41 -07:00
Kneelawk
0d43681d54 Begin architectury setup 2024-05-04 16:56:40 -07:00