Commit graph

185 commits

Author SHA1 Message Date
PepperCode1
32b0b2a334 Ordered blaze transformations
- Fix parts of blaze burners not rendering correctly on rotated
contraptions
- AbstractContraptionEntity#doLocalTransforms -> applyLocalTransforms
and change PoseStack[] argument to PoseStack
2022-09-09 12:10:34 -07:00
PepperCode1
9c8df2ff27 Registries and components
- Abstract all custom registries behind improved CreateRegistry class
- Remove usage of ForgeRegistryEntry.delegate and IRegistryDelegate
where possible
- Replace usage of IForgeRegistryEntry#getRegistryName with
RegisteredObjects#getKeyOrThrow where key is expected to be not null
- Move all component creation to the Components class
- Backport some other miscellaneous changes from 1.19
2022-08-03 10:08:00 -07:00
PepperCode1
c421f98c18 Schematic printing and rendering fixes
- Fix printed funnels not having filters; remove funnel survival NBT
processor
- Fix printed tunnels not having filters
- Fix printed deployers not keeping mode
- Remove boolean argument from IPartialSafeNBT.writeSafe as it was
always false
- Fix filters not rendering in schematic renders
- Fix incorrect lighting on funnels in schematic renders
- Improve rendering of crumbling overlay in ponders
- Further improve CameraMixin
- Use computeIfAbsent in TorquePropagator
- Organize imports
2022-08-02 00:18:11 -07:00
simibubi
a6b35f2a8d Schematic item requirement fix
- ISpecialXItemRequirement no longer provides a default implementation
2022-07-10 18:39:37 +02:00
simibubi
c20129ecc2 I bug to differ
- Renamed Throttle schedule instruction to avoid confusion
- Fixed girders not paving straight tracks with the correct orientation
- Fixed steam engines not updating power output when their boiler is removed
- Fixed crash when assembling funnels onto a train
- Fixed crash caused by missing sounds when assembling a train
- Fixed train consuming fuel from every slot simultaneously
- Fixed spouts culling visible faces
- Fixed crash when listing empty inventory contents on something other than a display board
- Tracks can no longer bend when connecting two sloped tracks
- Fixed Schematicannon no longer supporting half of Create's blocks
- Fixed Station UI showing tooltip text of non-visible buttons
- Fixed track placement hint not updating when changing angle but targeting the same position
- Blaze burner contraption safety check
- Fixed Portable fluid interface not able to fill multiple tanks with identical liquids
- Players are no longer considered valid drivers to schedules
2022-07-10 18:22:47 +02:00
PepperCode1
c491dd8f13 Boiler heater API
- Add API for boiler heaters
- Simplify some component creation
2022-07-07 14:15:53 -07:00
PepperCode1
9970c2bd4e Merge remote-tracking branch 'upstream/mc1.18/dev' into
mc1.18/global-railways

Conflicts:
	src/generated/resources/.cache/cache
	src/main/java/com/simibubi/create/AllTags.java
	src/main/java/com/simibubi/create/content/contraptions/components/deployer/DeployerMovementBehaviour.java
	src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/bearing/SailBlock.java
	src/main/java/com/simibubi/create/foundation/tileEntity/SmartTileEntity.java
	src/main/java/com/simibubi/create/foundation/utility/BlockHelper.java
2022-07-06 12:31:49 -07:00
PepperCode1
a52116bf0b Clean CT
- Move code from CTSpriteShiftEntry subclasses into CTType enum fields
- Add ContextRequirement to specify which context directions should be
populated
- Rename CTType to AllCTTypes and add CTType interface and
CTTypeRegistry
- Add methods and fields to QuadHelper to simplify vertex data
manipulation
- Make no bracket mean null instead of air to prevent issues with
non-empty air models
- Remove unused palette classes
- Organize imports
2022-07-06 12:06:27 -07:00
simibubi
7443c95553 Language barrier
- Added LangBuilder to streamline things that make use of chat components
- Started migrating a bunch of text to use lang builders
- Glowing display board text now has a higher alpha
2022-07-05 16:49:55 +02:00
PepperCode1
a2ade69035 Fix banner schematic printing
- Banners will now be printed with the correct pattern
- To print a banner, the item with the exact same pattern is required
- Add ISpecialBlockEntityItemRequirement for BlockEntities
- Allow StackRequirements to check match with other stack
- Add StrictNbtStackRequirement that also checks the stack NBT
- Add banners tag to safe_nbt tag
2022-06-23 19:58:51 -07:00
simibubi
c7dafbc9f3 The forgotten guide
- Reworked the advancement tree
2022-06-18 19:54:35 +02:00
simibubi
a1347799af Stalling for Storage
- Implemented Cargo Threshold and Idle Cargo schedule conditions
- Added a redstone link schedule condition
- Refactored wait conditions to share a ui builder with display links
- Added jei item assignment support to schedule conditions
- Fixed de-sync with ghost item slots in the schedule UI
2022-05-26 19:00:03 +02:00
simibubi
841bf3f350 Merge branch 'mc1.18/dev' into mc1.18/global-railways 2022-05-22 18:10:40 +02:00
Talrey
9647046753 items and fluids should be sub-interfaces 2022-05-13 15:32:05 -07:00
Talrey
71af841046 world of fluidtanks 2022-05-13 12:37:15 -07:00
Talrey
43af152641 found a typo in OUTPUT 2022-05-12 13:45:04 -07:00
PepperCode1
d8dd101fdf Types of points
- Refactor the ArmInteractionPoint system
  - ArmInteractionPointTypes are now used instead of instances
  - Point types can now have a priority that determines the primary type
at a certain location
  - Points can now deserialize arbitrary data
  - Points' cached BlockState is now updated before it is used
  - Points now store the Level directly
  - Default types are now registered in AllArmInteractionPointTypes
- Add point types for campfires and respawn anchors
- Fix arms being able to insert any item into composters
- Delete unused flag models and texture
- Make all BehaviorType instances final
2022-05-07 22:19:12 -07:00
simibubi
b85c0ed93f Ctrl A Backspace
- Encased fans can no longer provide stress capacity as generators
- Removed the Furnace Engine
- Added Kryppers' new Flywheel model
- Fixed inverted stress capacity labels in tooltips
- Removed speed requirements from tooltips
- Fixed belt tickers not properly being removed when parts of the belts are destroyed
2022-05-05 20:20:54 +02:00
simibubi
723e989ac5 Merge branch 'mc1.18/dev' into mc1.18/global-railways 2022-04-08 02:10:53 +02:00
simibubi
39b51821aa Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
PepperCode1
c1ba7683a7 Miscellaneous fixes and improvements
- Fix ColorAttribute not showing color name
- Refactor some code related to SpeedLevel
- Improve goggles predicate API
- Make ToolboxInventory use Item#canFitInsideContainerItems
- Prevent toolbox items from being placed inside of shulker boxes
- Fix shadow steel always converting below y=0 instead of the min build
height
2022-03-29 21:49:23 -07:00
simibubi
9db9c3f710 Merge branch 'mc1.18/dev' into mc1.18/global-railways 2022-03-23 19:45:40 +01:00
PepperCode1
b32c83e74d Tagging along
- Fix glowing shader for 1.18.2
- Optimize and compress tag code
- Convert MovementBehaviour to interface
- Remove manual refmap remapping as it is no longer necessary
- Update Gradle
2022-03-23 01:48:53 -07:00
simibubi
2fa65727d5 Holder Holdups
- Finished work on compilation errors
2022-03-22 00:29:46 +01:00
PepperCode1
fa4a0e7261 Limiting the infinite
- Add new config and tags for better control over infinite draining
behaviour
- Pipes spilling water will now extinguish entities and fires; pipes
spilling lava will now set entities on fire
- Fix some bugs and inconvenient behavior with the config menus
- Fix fluids destroying crushing wheel controllers
- Fix crushing wheel controller using output direction instead of input
direction at times
- Rename blaze burner fuel tags
- Improve GhostBlockRenderer
- Organize imports
- Update Forge
2022-03-05 01:45:39 -08:00
simibubi
3362e6a05e Signal Station
- Refactored Stations and Signals into a more unified and expandable edge point abstraction
- Trains no longer depart a station when a red signal is close by
- Fixed inconsistent pathfinding when stations, signals and trains are sharing a graph edge
2022-02-28 22:52:14 +01:00
simibubi
cf308cdc7f Steamy
- Fluid tanks become boilers when engines are attached
- Added the steam engine
- Some tweaks and fixes to girder connectivity
2022-02-22 19:41:30 +01:00
PepperCode1
fcb5267ae0 Merge branch 'mc1.18/dev' into mc1.18/global-railways
Conflicts:
	gradle.properties
	src/main/java/com/simibubi/create/foundation/render/SuperByteBuffer.java
2022-02-21 10:51:42 -08:00
PepperCode1
0cf0d3930e Shuffling the shade
- Update Flywheel and add support for unshaded quads
- Fix models marking shafts and other parts as unshaded
- Refactor SchematicRenderer buffer building
- Improve block entity render bounding box caching
- Fix #2785
2022-02-19 21:42:40 -08:00
simibubi
2ca099ce6b Rise of the Jank II
- Girders can now connect to brackets vertically
- Fixed girders not updating connections when built with placement assist
- Tracks now actively update girder shapes placed beneath the ties
- Fixed bezier girder texture inconsistencies to the block models
- Fixed flywheel rendered tracks creating headless instances
- Fixed track not removing its tileentity properly when changing to basic state
- Fixed track rendering not using the correct normals for diffuse
- Fixed tracks not rendering in schematic previews
- Tracks now transform correctly in schematics
- Fixed tracks not validating for target track after placement via schematic
- Tracks can now merge TE data when placed into each other via schematic
- Fixed junctions not working correctly with graph building
2022-02-09 21:13:33 +01:00
simibubi
65e6c24c32 Maintenance Day
- Bump forge
- Mechanical Harvester no longer crashes the game on newer forge versions
- Fixed Cocoa Beans being harvested too early
- Fixed incompatibility with Abnormals' custom tree types
- Fixed incompatibility with Serene Seasons
- Fixed incompatibility with Terralith
- Added a couple of Raw Ore compatibility recipes
2022-01-24 16:40:30 +01:00
simibubi
04c76bb6f0 The meaning of null
- Fixed Client-side TileEntities ignoring data packets with empty compound tags
- Fixed Stickers not visually updating when powered
- Fixed Cocoa pods colliding with piston/pulley/gantry harvesters
- Fixed Bulk Smoking using Haunting particles
- Unified particle emission locations between depot and belt fan processing
- Updated Haunting recipes
2022-01-09 20:06:04 +01:00
Jozufozu
3cb84a5db5 Merge branch 'mc1.18/flwbatching' into mc1.18/dev 2021-12-22 22:06:07 -08:00
Jozufozu
748c25b3ec Better config/backend to account for multiple engines
- Rename probably too many things
 - Needs to be tested with Optifine
2021-12-22 22:00:27 -08:00
reidbhuntley
75d4295118 Merge remote-tracking branch 'origin/mc1.17/dev' into mc1.18/dev
# Conflicts:
#	src/main/java/com/simibubi/create/foundation/tileEntity/SmartTileEntity.java
2021-12-21 16:40:14 -05:00
reidbhuntley
10f84bcd79 Temporary fix for Forge 1.17 setRemoved() regression 2021-12-21 16:28:14 -05:00
PepperBell
080b048b2f SmarterTileEntity
- Clean up SyncedTileEntity and SmartTileEntity
- Allow schematicannons to be rotated based on placement angle
- Fix DirectionalExtenderScrollOptionSlot rotation
- Remove deprecated usage of JsonReader and LazyLoadedValue
- Move ToolSelectionScreen to content.schematics.client
- Organize imports
- Update to 1.18.1
2021-12-10 16:58:05 -08:00
Jozufozu
2efbcdbd6b No more material spec, everything is StructType 2021-12-09 16:42:13 -08:00
simibubi
12768ee8b3 Send me a null 2021-12-09 06:10:53 +01:00
simibubi
061b85d515 New version who dis?
- Port to 1.18
- ChunkUtil discontinued
- SmartTileEntities write to metadata
- Features generate from -64 up
- World Wrappers weren't convoluted enough
- Haunted bell considers >0 safe
- Missing GuiUtils methods continued in RemovedGuiUtils
2021-12-07 18:24:57 +01:00
simibubi
9362374b1e Vault Virtual
- Double chests no longer split when moved on a contraption
- Changed the way contraption storage interacts with known multi-block item storage (band-aid solution)
- Changed a few blocks' sound types
- Fixed in-world icons not rendering
- Added Ponder Scenes for the Item Vault
- Added crafting recipe for Item Vaults
- Changed crafting recipe for Fluid Tanks
- Fixed ponder tracking items in inactive inventory screens
- Removed unreachable Advancements
2021-12-07 02:35:38 +01:00
PepperBell
1fdf1ff7e9 Destroyed and deprecated
- Fix rotation indicator particles
- Fix sail dyeing
- Turn BreakProgressHook into DestroyProgressRenderingHandler interface
- Refactor overlay rendering to properly use API
- Change SpriteShiftEntry to use StitchedSprites
- Use OnDatapackSyncEvent instead of mixin
- Organize foundation.ponder package
- Remove usage of deprecated:
-   Durability bar methods
-   Constants class
2021-11-27 14:49:43 -08:00
Jozufozu
028ac4bbda Transform stack changes
- Add ToolBoxInstance
 - Move from MatrixTransformStack to TransformStack.cast where possible
 - SuperByteBuffer implements transform traits on its own
 - Bump flywheel build
2021-11-23 18:16:57 -08:00
PepperBell
7b4f9f924f Over-rendered
- Replace AngleHelper.horizontalAngle with horizontalAngleNew (return 0
instead of -90 for vertical directions)
- Fix FluidRenderer not calculating correct UVs for integer positions
- Fix FluidRenderer rendering streams and flowing texture incorrectly
- Slightly improve performance of outlines
- Rename PartialBufferer to CachedBufferer
- Move specific code out of SuperByteBufferCache into CachedBufferer and
BakedModelRenderHelper
- Move Compartment inside SuperByteBufferCache
- Rename some methods and fields
2021-11-21 00:44:37 -08:00
PepperBell
ad350507c9 The great screen refactor
- Use vanilla's widget lists instead of custom ones
- Use press callback instead of overriding mouseClicked
- Switch old container classes to extend ContainerBase or
GhostItemContainer
- Organize foundation.gui package
- Remove deprecated methods in Color
- Various other changes
2021-11-14 16:11:14 -08:00
PepperBell
acd932f65e Caching and config
- Replace old uses of BlockEntity.clearCache appropriately
- Slightly improve handling of non-Forge config specs
- Minor cleanup
2021-11-07 13:09:11 -08:00
PepperBell
1c23302544 Chipping away, Part III 2021-11-02 19:04:52 -07:00
simibubi
cb987307c0 Tick and Tag
- assign harvest tool tags to block entries
- repurpose ITE as EntityBlock and apply change to all affected blocks
2021-11-02 20:27:45 +01:00
simibubi
00b6a32e77 Chipping away, Part II 2021-11-02 16:25:48 +01:00
PepperBell
0cb7a0260e Chipping away 2021-11-01 22:18:30 -07:00