Commit graph

286 commits

Author SHA1 Message Date
Jozufozu
b703de3b78 Whisked away
- Remove BeltInstance
- Belt visuals now use ScrollInstance
- Improve ScrollInstance setters to work well with belts
- Simultaneously simplify belt visual and make it more complicated
  - Deduplicate setup code
  - Inline speed calculation and all random constants that were stored
    in the visual. Those are cheap enough that we can just re-calculate
    as necessary to save on the memory cost
  - Move magic constants to statics
  - Make instances final
2024-11-17 14:08:50 -08:00
Jozufozu
6155883de0 Know your place!
- Using new debug tool, fix all visuals that initialize their instances
  at the render origin
- Update ArmVisual and SteamEngineVisual to use instance hiding
- Update SchematicannonVisual, SteamEngineVisual, and ToolBoxVisual to
  avoid re-calculating animations when nothing is happening
- Use RecyclingPoseStacks in ArmVisual and CarriageContraptionVisual
- Bump flywheel version
2024-11-16 16:14:02 -08:00
Jozufozu
a7a85c7296 Elevating the look
- Implement ElevatorPulleyVisual
- Makes good use of recycling and instance hiding
- Fixes issue where the elevator belt cannot be seen at the bottom of
  very tall elevators
- Add offset field to scroll instance to support the elevator belt's CPU
  driven animation
- Use shader light for the elevator belt to simplify tracking. Might be
  better off copying what the other pulleys do, but this achieves the
  effect quite well.
- Bump flywheel version
2024-11-15 13:12:27 -08:00
Jozufozu
3b7b5a9eee Burying the lighting bugs
- This may not be worth it, but it definitely looks better
- Switch to flat shader lighting for curved track segments
- Fixes dark track segments when clipped into hills
- Bump flywheel version
2024-11-12 20:11:23 -08:00
Jozufozu
e201ce7321 What is your name?
- Fix frogport nametags not rendering with flywheel on
- Bump flywheel version
2024-11-11 15:34:23 -08:00
Jozufozu
71a0a6e28f Twofold bump
- Bump flywheel version to fix visual issues and crashes
2024-11-08 10:25:23 -08:00
simibubi
bdd51e349e You must play for this
- Fixed stock ticker returning payments client side
- Fixed package sneak right click voiding items
- Fixed factory gauge not using an item when added to a block space
- Halved cost of conveyor chain connections, added a chain recipe using zinc
- Made stock keeper screen more resistant to issues with low tps and latency
- Item hatch deposits held item before inventory
- Fixed funnels not able to extract when any entity is nearby, even glue
- Cardboard box no longer renders in first person mode
- Fixed stock keeper not telling item durability
- Pulp recipe is now more generous
- Fixed server startup issue with new bogey registration
- Fully emptied stacks in stock keeper view will show as empty slots
2024-11-08 16:20:34 +01:00
simibubi
b1b5e192a1 Merge branch 'mc1.20.1/high-logistics' into mc1.20.1/feature-dev 2024-11-06 09:32:22 +01:00
simibubi
45c73d5c7b Port changes 2024-11-06 09:29:30 +01:00
simibubi
6f36361bfd Merge branch 'mc1.20.1/dev' into mc1.20.1/feature-dev 2024-11-06 09:22:08 +01:00
zelophed
51e46b016e Theme No More 2024-10-25 13:14:53 +02:00
Jozufozu
eb2f1fecdc Recycling rope
- Bump flywheel version
- Fix rope pulleys being invisible
- Use an InstanceRecycler in AbstractPulleyVisual
- Remove Select, Group, and ConditionalInstance
2024-10-12 16:11:58 -07:00
Jozufozu
b6da803886 On track to stability
- Fix track visuals not appearing when first placed
- Fix blaze burner's heads appearing at 0,0,0 until you look at them
- Bump flywheel version to fix crash when breaking blocks
2024-10-12 15:41:33 -07:00
Jozufozu
cdc41b18cc Rolling over a bump
- Bump flywheel version
- Make all visuals use instancerProvider() method
- Fix ModelCache usage
- Use PosedInstance in BogeyRenderer
2024-10-12 15:41:10 -07:00
simibubi
f243c6432a Merge branch 'mc1.20.1/feature-dev' into mc1.20.1/high-logistics 2024-10-09 21:19:47 +02:00
simibubi
0632dc4605 We'll come back to that one 2024-10-09 21:07:52 +02:00
Jozufozu
f1c12bf6af Frog shader
- Bump flywheel version
- Implement FrogportVisual using fancy new instance hiding for the rig/box
2024-09-22 13:30:30 -07:00
Jozufozu
a5038c6a6a On track to stability
- Fix track visuals not appearing when first placed
- Fix blaze burner's heads appearing at 0,0,0 until you look at them
- Bump flywheel version to fix crash when breaking blocks
2024-09-21 12:10:56 -07:00
Jozufozu
2cd17f5f3b A bump of catnip
- Bump flywheel and catnip versions
- Make all visuals use instancerProvider() method
- Fix ModelCache usage
- Use PosedInstance in BogeyRenderer
2024-09-20 19:35:16 -07:00
zelophed
45ebb9571a fiXDegrees 2024-09-18 20:37:35 +02:00
zelophed
d82644bfba fix imports, adjust buildscripts 2024-09-15 02:14:09 +02:00
zelophed
c321202ba0 merge changes from 1.20.1/dev 2024-09-14 13:18:06 +02:00
Jozufozu
aa15182005 Merge remote-tracking branch 'origin/mc1.20.1/dev' into mc1.20.1/dev 2024-09-03 12:45:18 -05:00
Jozufozu
14c93e590c Merge branch 'mc1.20.1/flywheel-upgrade' into mc1.20.1/dev
# Conflicts:
#	build.gradle
#	gradle.properties
#	src/main/java/com/simibubi/create/content/contraptions/actors/roller/RollerMovementBehaviour.java
#	src/main/java/com/simibubi/create/content/fluids/drain/ItemDrainRenderer.java
#	src/main/java/com/simibubi/create/content/kinetics/belt/BeltRenderer.java
#	src/main/java/com/simibubi/create/content/kinetics/mechanicalArm/ArmRenderer.java
#	src/main/java/com/simibubi/create/content/kinetics/waterwheel/WaterWheelRenderer.java
#	src/main/java/com/simibubi/create/content/trains/schedule/hat/TrainHatArmorLayer.java
#	src/main/resources/META-INF/mods.toml
#	src/main/resources/create.mixins.json
2024-09-03 12:44:26 -05:00
simibubi
ad3778e0c4 Moving on 2024-09-03 18:37:56 +02:00
simibubi
e3331d363d Merge remote-tracking branch 'origin/mc1.19/dev' into mc1.20.1/dev 2024-09-03 15:44:12 +02:00
simibubi
2e6d114cfd Merge branch 'mc1.18/dev' into mc1.19/dev 2024-09-03 15:42:39 +02:00
simibubi
11787d845f Update jij version range, Patch H 2024-09-03 15:39:36 +02:00
simibubi
3fddf2f99a Merge remote-tracking branch 'origin/mc1.19/dev' into mc1.20.1/dev 2024-09-02 22:30:45 +02:00
simibubi
b1ceb102f8 Merge branch 'mc1.18/dev' into mc1.19/dev 2024-09-02 22:00:32 +02:00
simibubi
9ce6f6f73f Fly++ 2024-09-02 21:44:24 +02:00
simibubi
59a3ab244b Merge remote-tracking branch 'origin/mc1.19/dev' into mc1.20.1/dev 2024-08-25 20:29:49 +02:00
simibubi
0f0e00c781 Merge branch 'mc1.18/dev' into mc1.19/dev 2024-08-25 19:51:28 +02:00
simibubi
e40b844aa1 Ground-breaking Excavation
- Update and scale icons
- Fixed Display Boards updating instantly only at 256rpm Clockwise, not CCW
- Fixed Pulley ropes able to break unbreakable blocks
- Fixed encasing belts not playing a place sound
2024-08-25 12:47:09 +02:00
simibubi
44a2181bb1 E A Ports. It's in the blame
- Port new changes to 1.20.1
2024-08-07 16:42:42 +02:00
simibubi
49030ec91f Merge remote-tracking branch 'origin/mc1.19/dev' into mc1.20.1/dev 2024-08-07 15:39:06 +02:00
simibubi
42b57bdd61 Update framed blocks integration 2024-08-07 10:39:18 +02:00
simibubi
a012194f0f Merge branch 'mc1.18/dev' into mc1.19/dev 2024-08-07 09:07:28 +02:00
simibubi
a37acd5b18 5.1G Standards 2024-08-07 08:28:08 +02:00
simibubi
c66827c43e The Frame Train
- Fixed modded signs getting wiped when moved by contraption or printed in a schematic
- Added schematic compatibility for the mod "framed blocks"
2024-08-06 18:50:20 +02:00
Jozufozu
eae8cd467b Cranking out fixes
- Fix hand crank not deleting its rotatingModel
- Fix exception setting up pulley lightcache
- Bump flywheel build to fix garbage models
2024-07-27 18:30:40 -07:00
Jozufozu
5be92fcde8 Bumpy road
- Bump flywheel build
- Directly rotate the last pose and normal matrix in SBB
2024-07-27 17:43:24 -07:00
simibubi
b90e11c120 Squashed commit of the following:
commit e398793b887986e730cf6b3c7a9c96861d186591
Author: simibubi <31564874+simibubi@users.noreply.github.com>
Date:   Thu Jul 25 11:00:21 2024 +0200

    Remove duplicate line in buildscript

commit e6a1ebd40332ba649fab968841d7b88cdec51553
Merge: acbe5102c 283998711
Author: simibubi <31564874+simibubi@users.noreply.github.com>
Date:   Thu Jul 25 10:48:13 2024 +0200

    Merge branch 'mc1.18/dev' into pr/6403

commit acbe5102cf4757f75adeb21ebff8b0649e74e2a5
Merge: 4d2c35b11 1038b76d3
Author: simibubi <31564874+simibubi@users.noreply.github.com>
Date:   Thu Jul 18 10:27:51 2024 +0200

    Merge branch 'mc1.18/dev' into pr/6403

commit 4d2c35b11b
Author: attackeight <attackeight@gmail.com>
Date:   Tue Apr 23 15:39:37 2024 -0400

    Re-Activate Dynamic Trees Compat
2024-07-25 11:00:57 +02:00
IThundxr
73661845fe fix instances & update flywheel 2024-07-19 21:42:18 -07:00
IThundxr
05c2cbaf73 Flying the wheel away 2024-07-19 21:42:18 -07:00
Jozufozu
ec0350cfba Revving up
- Bump flywheel build
- Bulk replace com.jozufozu -> dev.engine_room
- Optimize imports
2024-05-25 12:25:19 -07:00
Jozufozu
0d324ffdf9 Simply implless
- Use split api/runtime flywheel jars
- Update instance types to use single packed light int
- Update visuals to use new context location
2024-05-20 21:31:55 -07:00
Jozufozu
d28fd7e47b Touchups
- Bump flywheel version and remove #shouldReset
- Water wheels and belt tunnels now properly handle updates without
  resetting
- Fix flaps going crazy
2024-04-02 19:23:14 -07:00
Jozufozu
26074dc3df Cut it out
- Remove CutoutPartial
- Set render_type in models than need cutout
- Fix TrackVisual going invisible when renderers reload
- Fix TrackVisual not getting re-lit in some cases
- Bump flywheel version
2024-04-02 19:23:14 -07:00
Jozufozu
a38f01fae2 Relit
- Actually use light volume api stuffs
- Bit of a pain to try to iterate over sections based on an AABB
- Still need to handle when contraptions move
- Bump flywheel version
2024-04-02 19:23:14 -07:00