Commit graph

614 commits

Author SHA1 Message Date
PepperCode1
e54ccb853a Use more generics in BE renderer and instance subclasses
- This makes it unnecessary to cast or store the passed BE in BE
renderers and instances
2023-02-22 14:45:06 -08:00
PepperCode1
7dc6fc7576 Advanced Tooltip Modification
- Finish refactor of item description tooltips and kinetic stat tooltips
- Change Palette to use Style instead of ChatFormatting
- Remove old code in TooltipHelper
- Add deferred registration capabilities to AttachedRegistry
- Move creative mode tabs to AllCreativeModeTabs
- Delete IItemHandlerModifiableIntermediate
- Delete StorageInterfaceMovement
2023-01-29 11:09:32 -08:00
PepperCode1
f2b472f90d Renaming II
- TileEntity -> BlockEntity
2023-01-19 13:35:41 -08:00
PepperCode1
624b2d71d1 Renaming I
- Container -> Menu
2023-01-17 13:37:18 -08:00
PepperCode1
3b4375f002 Merge branch 'concealed/remove-sections' into mc1.18/0.5.1
Conflicts:
	src/main/java/com/simibubi/create/AllBlocks.java
2023-01-17 13:09:35 -08:00
PepperCode1
aa69cbbeee AllSections are one
- Remove AllSections
- Refactor ItemDescription and parts of TooltipHelper
- Remove deprecated methods
- Rename CreateRegistry to AttachedRegistry
- Rename creative tab classes to match vanilla names
2023-01-16 20:08:26 -08:00
simibubi
46c6856b6e Merge branch 'mc1.18/dev' into mc1.18/0.5.1 2023-01-16 13:43:51 +01:00
simibubi
405b7cbc36 Sunday's bugs
- Fixed Girder Encased Shafts getting ignored by the Schematicannon
- Fixed Belts not offering a valid item handler until their first tick
- NPE Guard in Funnel-Arm interaction
2023-01-15 13:18:43 +01:00
simibubi
f07574bff1 Oops, Empty Vault
- Fixed crash when curios inventory is configured to have no slots #4174
- Clean up frontier list when hitting unloaded chunks with hose pulley, potentially helps #4225
- Fixed vaults not marking chunks dirty when its inventory changes #4279
- Fixed players kicked for flying when standing on contraptions with a mount
2023-01-14 22:05:43 +01:00
simibubi
e97b75ff72 Consider testing your PR
- Fixed compiler errors
- Maximum placement length of tracks and turns are now configurable (#4241)
- Adjusted validation guards and network visualisation to function with longer bends
- Track graph no longer shows nodes and edges on f3 unless configured to
- Kinetic blocks no longer show debug information on f3 unless configured to
2023-01-14 15:15:49 +01:00
simibubi
f62815547e
Merge pull request #4307 from ewoudje/mc1.18/dev
Fix accuracy over network
2023-01-14 14:06:07 +01:00
simibubi
632152d28f
Merge pull request #4216 from Flemmli97/mc1.18/dev
Fix Heavy Damage Attribute not working
2023-01-14 13:54:50 +01:00
simibubi
a54c81861b
Merge pull request #4188 from OutCraft-Mods/patch-1
Update StationScreen to use InputConstants
2023-01-14 13:37:40 +01:00
PepperCode1
6e6b8550b8 Balanced Blaze Burners
- Adjust how and when blaze burners accept fuel
- Fix crash with Optifine when rendering a map
- Fix RenderType being used in common code
- Increment version
2023-01-13 16:47:33 -08:00
ewoudje
ecab13d0c4 Fix accuracy over network 2023-01-12 21:59:36 +01:00
simibubi
324729a68e Here, drink this
- Fixed signals not updating track graph when destroyed
- Added #deployable_drink tag for consumables that are not considered food
- Deployers can no longer consume potions or milk, and will instead feed players in their target area
- Fixed buttons in ponder not registering clicks near the edges #4130
- Fixed config UI tooltips including the empty "." comments used for toml 'formatting'
2023-01-05 14:09:38 +01:00
Flemmli97
dd0c49f8da
Fix Heavy Damage Attribute not working
Fix heavy damage attribute not correctly detecting damage since integer division
2022-12-24 16:46:52 +01:00
OutCraft
66b495906b
Update StationScreen to use InputConstants
Updates the StationScreen class to use the Mojang InputConstants instead of numbers for the ENTER keypress detection
2022-12-20 20:27:57 +01:00
simibubi
cd79de0691 Extraordinary item handlers
- Cobwebs and Powdered Snow can now be attached to contraptions
- Fixed Storage Drawers not providing correct fill levels to Stockpile Switches
- Leaves are now considered transparent by encased fans
- Blocks can now be tagged `#create:movable_empty_collider` to support contraption movement even if their collision shape is empty
2022-12-12 15:54:28 +01:00
PepperCode1
d8ec424fa0 Post-PR changes
- Rename ILangParial to LangPartial
- Simplify LangPartial and remove default LangMerger constructor
- Create CustomArmPoseItem and de-hardcode PotatoCannonItem and
ZapperItem
- Fix mixin order
- Update Flywheel
2022-12-11 15:23:15 -08:00
simibubi
c420048a88 Destroy, Remove, Invalidate
- Dangerous restructuring of common behaviour during tile removal
- Fixed unloading Redstone Links querying their own chunk for tile entities
- Remove unused imports
2022-12-11 20:59:31 +01:00
simibubi
d0c76494d7
Merge pull request #4005 from falxie/mc1.18/dev
Fix StationUnloadedCondition not working in other dimensions
2022-12-07 17:32:11 +01:00
Xavier Stouder
109de51400
Query complete player list for Scoreboard displays (Xstoudi) 2022-12-07 16:21:16 +01:00
Falxie_
c06d9bf81c Remove unnecessary variable 2022-11-12 02:02:58 +00:00
Falxie_
c5e178de80 Fix StationUnloadedCondition not working in other dimensions 2022-11-10 23:08:38 -08:00
PepperCode1
cf87508276 Refactor multi-pos block destruction
- Replace DestroyProgressMixin with BlockDestructionProgressMixin and
LevelRendererMixin
- Replace DestroyProgressRenderingHandler with
MultiPosDestructionHandler
2022-11-09 16:52:22 -08:00
PepperCode1
b77388a8e4 Refactor map station marker mixins
- Map update packet now sends station indices instead of guessing that
certain decorations are stations
- Do not use MapDecoration.Type.MANSION for stations to allow map
extending
- Create CustomRenderedMapDecoration
- Change how custom MapDecorations are rendered
- Fix some code in MapItemSavedDataMixin
2022-11-09 15:01:10 -08:00
PepperCode1
ce03a91983 Refactor map station marker mixins
- Map update packet now sends station indices instead of guessing that
certain decorations are stations
- Do not use MapDecoration.Type.MANSION for stations to allow map
extending
- Create CustomRenderedMapDecoration
- Change how custom MapDecorations are rendered
- Fix some code in MapItemSavedDataMixin
2022-11-05 21:13:35 -07:00
simibubi
1a475f7373 Next level elevation
- Added the Contraption Controls
- Added the Elevator Pulley
- Pulley ropes are now climbable
- Lowered hitbox of seats for improved traversability inside contraptions
- Improved safety for players standing on vertically moving contraptions
- Fixed seated entities on controlled contraptions not rendering at the correct location
- Multiple pulleys can now attach to contraptions in a synchronised group
- Display Boards now update text instantaneously at high input rpm
2022-10-18 19:31:26 +02:00
simibubi
1f06034b47 Order of Interact
- Fixed entity-specific interactions causing schedule interaction to be ignored
- Fixed viewport jittering when pressing movement keys while seated
- Fixed players dismounting trains/minecart contraptions causing them to be placed at incorrect locations
2022-09-23 23:04:49 +02:00
simibubi
4d4a959cfa Mixing up a Storm
- Reduced tps impact of basin recipe lookups noticeable in larger modpacks
- Fixed Brass tunnels distributing back into the side items get inserted from
- Fixed Brass tunnels distributing into sides blocked by an inserting funnel
- Cargo Conditions in schedules now match any cargo if no filter is specified
2022-09-23 18:40:15 +02:00
simibubi
e6d5048875
Merge pull request #3794 from MoarDm/mc1.18/fix-3786
Fix: Game crash caused by Attribute Filter
2022-09-22 19:47:16 +02:00
simibubi
c571493ce4 Early Departures
- Fixed "Station Powered" wait condition not working correctly in non-overworld dimensions
2022-09-22 19:24:24 +02:00
simibubi
ac6369a276 Flat fence
- Added ai deterrents for crossing track blocks
2022-09-21 10:16:48 +02:00
simibubi
bf06e59938 The Eternal Offset
- Fixed Drills not leaving water sources when breaking ice blocks
- Fixed Ploughs not able to break track blocks
- Fixed Harvester replanting crops in invalid locations
- Fixed Train Relocation not always triggering when targeting long bends
- Display boards no longer predict trains behind wait conditions other than "timed delay"
- Fixed scoreboard and deathcount display sources cropping entries before sorting
- /create dumpRailways -> /create trains
- Pipe flows are no longer stopped if the blocking state is considered #fan_transparent (-> fixes 1.19 mangrove root)
- Fixed contraption interaction not firing when it happens far away from the contraptions origin
- Fixed inaccurate contact point motion for collisions with oriented contraptions
2022-09-17 20:52:15 +02:00
MoarDm
9a8415e97c Fix: Game crash caused by Attribute Filter #3786 2022-09-17 19:22:22 +03:00
PepperCode1
dfe13d4ad7 One mechanical arm's trash is another mechanical arm's treasure
- Fix arms not being able to place more than one item into a composter
- Add COMPOSTABLE item attribute
- Tweak BLASTABLE attribute's descriptions
2022-09-07 18:34:43 -07:00
simibubi
3e89d9a878 Lag science
- Trains now try to wait for chunks to load in when player passengers are present
- Trains now sync clientside speed with the servers' tps to avoid overcorrection
- Hoppers can now be picked up by the wrench
2022-09-06 15:41:17 +02:00
simibubi
c33fc73f3a Discomportulated
- Potential fix for spout ponder crash with other mods installed
- Fixed train navigation not behaving correctly near portals
2022-08-12 20:50:48 +02:00
PepperCode1
9fbb71e4e9 Crash and leak fix
- Fix crash when invoking ContraptionMovementSetting#get
- Fix memory leak in WorldAttached by copying Flywheel's updated version
- Fix stockpile switches not preserving settings after being printed
2022-08-03 22:36:14 -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
PepperCode1
d9c6418fbf Transforming the bugs away
- Fix arm interaction point client-side deserialization and
initialization issues
- Fix sequenced gearshift structure rotation
- Fix encased cogwheel rotation, mirroring, and structure transformation
- Add ITransformableBlock to allow custom handling of
StructureTransforms
- Remove DirectionHelper
- Add jarJarRelease Gradle task for building a jarJar without a
classifier
2022-08-01 01:03:03 -07:00
PepperCode1
0161b876fa Foggy fixes
- Use RenderFogEvent instead of FogDensity event
- Adjust density of chocolate and honey fog
- Fix SteamEngineBlock not setting a default state
- Fix miscellaneous deprecation warnings
2022-07-13 15:42:03 -07:00
simibubi
1ec63c1511 Patch it while its hot
- Fixed Dedicated server crash when riding a train
- Fixed broken localisation component in super glue editor
- Fixed display links not showing correct icons for dyed nixie tubes
2022-07-12 17:51:25 +02:00
simibubi
eebbe14a73 Well oiled machine
- Fixed Display links no longer accepting any blocks as valid source
- Temporarily merged creative tabs until a fix in registrate
2022-07-12 03:00:39 +02:00
simibubi
9e8b278398 PR datagen 2022-07-11 22:55:09 +02:00
simibubi
e1a4c9ec43 Cull me away
- Move carriage visibility guards out of shouldRender to avoid being denied entity ticks when entityculling is installed
2022-07-11 21:40:53 +02:00
simibubi
3153ad2100 bug you a pardon?
- Arm Interaction point safety checks
- Trains no longer briefly derail when moving through portals
- Players are now less likely to get stuck in the original dimension when traversing train portals
- Trains no longer track coupling stress between carriages that are currently in different dimensions
- Fixed quark closing double doors when opened (+temporary workaround for 1.18)
- Boilers made of creative fluid tanks now provide a max level water supply
- Crafter ponder scene no longer uses an outdated recipe
- Reduced steam release effect of bogeys that haven't travelled far since the last stop
2022-07-11 19:28:25 +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