Commit graph

2977 commits

Author SHA1 Message Date
Crowdin Bot
dc5210909c New Crowdin translations by Github Action 2023-05-13 10:54:12 +00:00
simibubi
d5367747ef
Merge pull request #4750 from Attack8/mc1.18/dev
Add armor tags for Create armors
2023-05-12 21:56:16 +02:00
simibubi
3ad4195dd6 Squashed commit of the following:
commit a162e18c9c4d91c4020e86cf718d59d3a33b2817
Merge: 374848f97 beb61708a
Author: simibubi <31564874+simibubi@users.noreply.github.com>
Date:   Fri May 12 13:40:58 2023 +0200

    Merge branch 'mc1.18/dev' into mc1.18/computercraft

commit 374848f978
Author: simibubi <31564874+simibubi@users.noreply.github.com>
Date:   Fri May 12 13:22:29 2023 +0200

    Compilation dependency toggle

commit b2cd60b619
Merge: 8e1e4e8bd ee3a079ba
Author: simibubi <31564874+simibubi@users.noreply.github.com>
Date:   Wed May 10 14:37:32 2023 +0200

    Merge pull request #4650 from ChristianLW/mc1.18/computercraft

    Small tweaks to the wiki pages for ComputerCraft integration

commit ee3a079bac
Author: Christian L.W <bebeu@bebeu.dk>
Date:   Thu Apr 13 00:55:20 2023 +0200

    Small tweaks to the wiki pages

commit 8e1e4e8bd3
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Mar 13 18:31:56 2023 -0700

    Added computer to display source ponder tag

    - Added advanced computer to display source ponder tag
    - Added missing lang entry for computer display source

commit 952941e5fc
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Mar 13 16:31:16 2023 -0700

    Added documentation for train station peripherals and train schedules

    - Added in depth documentation for working with train stations and train schedules in Lua
    - Fixed small formatting issues in Lua-Rotation-Speed-Controller.md and Lua-Sequenced-Gearshift.md

commit 7f3ca1cfa0
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Mar 13 16:29:05 2023 -0700

    Added isTrainEnroute to station peripheral API

    - isTrainEnroute checks if a train is currently navigating to the station
    - Reworded null station exception to "station is not connected to a track"
    - Refactored StationPeripheral#inAssemblyMode to StationPeripheral#isInAssemblyMode
    - Added a check to StationPeripheral#disassemble to make sure the station isn't in assembly mode

commit fac1ebcd3f
Author: caelwarner <caelawarner@gmail.com>
Date:   Sat Mar 11 16:12:58 2023 -0800

    Added documentation for most peripherals

    - Lua documentation has been added for all peripherals except the train station (not looking forward to writing that one)
    - This documentation will be added to the GitHub wiki pages

commit 3e21996984
Author: caelwarner <caelawarner@gmail.com>
Date:   Sat Mar 11 15:54:36 2023 -0800

    Updated DisplayLinkPeripheral#write to move cursor to the end of the text

    - This change was made to be more inline with ComputerCraft's builtin display API

commit 7141c10025
Author: caelwarner <caelawarner@gmail.com>
Date:   Sat Mar 11 11:45:43 2023 -0800

    Added isTrainImminent and hasSchedule to train station API

    - Added isTrainImminent to check if a train is incoming to the station and hasSchedule to check if the currently present train has a schedule
    - Added StationPeripheral#getTrainOrThrow to consolidate repetitive null checks

commit 909484ed5b
Author: caelwarner <caelawarner@gmail.com>
Date:   Sat Mar 11 11:15:58 2023 -0800

    Added getSchedule to train station lua API

    - Added getSchedule which serializes the currently present train's schedule into a lua table
    - Refactored StationPeripheral#setSchedule to use a more generic method of serializing NBT tags to lua tables
    - Moved schedule entry special data from root tag to "Data"
    - Added StringHelper#camelCaseToSnakeCase
    - Added variety of put methods to CreateLuaTable

commit 31ad3aa671
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Mar 8 18:22:23 2023 -0800

    Extended train station peripheral API

    - Train station peripherals can now assemble and disassemble trains, check if the station is in assembly mode, set the assembly mode of the station, get and change the station name, check if a train is present at the station and get and change the currently present train name.
    - Refactored StationEditPacket. Moved most of the logic that was previously in StationEditPacket to StationTileEntity. This allows us to call this logic without having to send a packet.
    - Made Train#owner nullable. This is needed so that computers can assemble trains. All Train#owner is currently used for is to display the train status to the correct play.

commit 574cd93a89
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Nov 30 00:37:47 2022 -0800

    Serialize hasAttachedComputer in ComputerBehaviour

    - This eliminates some edge cases were peripherals don't realize they're being controlled by a computer on a world save and load

commit 94e3ed44ad
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Oct 26 16:57:12 2022 -0700

    Added ComputerScreen

    - ComputerScreen shows that tile entity currently has computers attached and therefore cannot be controlled manually

commit 9afdcaded7
Author: caelwarner <caelawarner@gmail.com>
Date:   Thu Oct 20 10:18:37 2022 -0700

    Refactored PeripheralBase to SyncedPeripheral

commit 7d47fdcd06
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Oct 19 22:45:47 2022 -0700

    Made LuaFunction's final

commit 56a1210fff
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Oct 19 22:39:38 2022 -0700

    Created ComputerBehaviour behaviour

    - ComputerBehaviour replaces ComputerControllable and SyncedComputerControllable

commit 19d283b923
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Oct 19 16:05:48 2022 -0700

    Moved all peripheral classes to computercraft.peripherals package

commit ab18034b98
Author: caelwarner <caelawarner@gmail.com>
Date:   Wed Oct 19 15:58:56 2022 -0700

    Added Train Station as peripheral

    - Train station can set a new auto-schedule for the train currently at the station
    - Added CreateLuaTable to add helper functions for working with lua tables
    - Added StringHelper util class to convert snake case to camel case

commit 1091f3227c
Author: caelwarner <caelawarner@gmail.com>
Date:   Thu Oct 6 21:11:24 2022 -0700

    Changed Display Link Peripheral API

    - Changed the Display Link Peripheral API to be more in line with the Monitor API
    - Added write, setCursorPos, getCursorPos, getSize, isColor, isColour, clearLine
    - Removed void writeLine, setLine, writeLines, setLines

commit 18bfb216b1
Author: caelwarner <caelawarner@gmail.com>
Date:   Thu Oct 6 02:50:41 2022 -0700

    Changed method of checking if a computer attached

    - After talking with SquidDev from CC: Tweaked I've changed to monitoring IPeripheral#attach and IPeripheral#detach for changes in the number of computers connected to the network, then updating the client using AttachedComputerPacket
    - This works with wired full modems, wired cabled modems and directly connected computers
    - Added SyncedPeripheralBase and SyncedComputerControllable for TE's and peripherals that want to be aware of attached computers

commit 96dc4db6dc
Author: caelwarner <caelawarner@gmail.com>
Date:   Tue Oct 4 21:11:38 2022 -0700

    Sequenced Gearshift screen "greys out" when being controlled by a computer

    - This is to stop players from trying to using both the builtin sequencing and a computer to control the Sequenced Gearshift at the same time, leading to undefined behaviour
    - The "greyed out" screen should have a message added explaining why it's greyed out.
    - Added ComputerControllable#isComputerControlled to check if a tile entity is connected to a modem

commit 9a80781401
Author: caelwarner <caelawarner@gmail.com>
Date:   Tue Oct 4 19:36:08 2022 -0700

    Added PeripheralBase

commit d404f07319
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Oct 3 20:46:16 2022 -0700

    Added invalidateCaps

    - Changed setRemoved to invalidateCaps. I don't know why I wasn't just using invalidateCaps from the beginning

commit 654476d9f3
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Oct 3 20:05:25 2022 -0700

    Added Rotation Speed Controller and Sequenced Gearshift as peripherals

    - Rotation Speed Controller can get and set targetSpeed
    - Sequenced Gearshift can rotate by a certain angle and move a certain distance

commit 1420406ab7
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Oct 3 16:38:12 2022 -0700

    Added Speedometer and Stressometer as peripherals

    - Speedometer can get current speed
    - Stressometer can get current stress level as well as network stress capacity
    - Made GaugeTileEntity abstract

commit 47b8619d07
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Oct 3 16:17:05 2022 -0700

    Refactored peripheralHandler to peripheral

    - peripheralHandler was the wrong name. It's just a peripheral.
    - Changed peripheral type from "cdl" to "Create_DisplayLink"
    - Added equals function to DisplayLinkPeripheral

commit 6591c2d46e
Author: caelwarner <caelawarner@gmail.com>
Date:   Mon Oct 3 14:29:04 2022 -0700

    ComputerCraft integration for Display Links

    - CC computers can now control display links through a variety of functions
    - Added ComputerControllable interface to define a tile entity as controllable by CC computers
    - Added CC: Tweaked soft dependency
2023-05-12 13:41:28 +02:00
NerdsOfAFeather
db19a394f5 Add armor tags for Create armors 2023-05-11 20:34:48 -04:00
TropheusJ
beb61708a0
Add GameTests by TropheusJ (#4496) 2023-05-11 15:00:32 +02:00
simibubi
f8ec8e5ded Fixed #4744 2023-05-10 21:36:18 +02:00
simibubi
3c1961c846 Implement #3906
- Fixed players dismounting from Trains upon assembly
2023-05-10 16:53:29 +02:00
simibubi
ee33858ddc Move event invocation in case transferAll gets re-used 2023-05-10 16:09:03 +02:00
simibubi
c86c10f1b1
Merge pull request #4443 from DaComputerNerd717/mc1.18/dev
Add TrackGraph merge event to API
2023-05-10 16:01:35 +02:00
simibubi
b4a8386cd8 Implement #4534 as configurable multipliers 2023-05-10 15:31:28 +02:00
simibubi
9e3140938b Implement #4577 for Encased Pipes 2023-05-10 15:13:39 +02:00
simibubi
8a4190fcf5 Merge branch 'mc1.18/dev' of https://github.com/Creators-of-Create/Create into mc1.18/dev 2023-05-10 14:41:57 +02:00
simibubi
81babd3a39 Implement #4597 2023-05-10 14:41:46 +02:00
simibubi
83889f7689
Merge pull request #4604 from cakeGit/mc1.18/dev
Fix "Lighter  than air" fluids display in spouts
2023-05-10 14:38:07 +02:00
simibubi
916e4aa0f7
Merge pull request #4693 from Attack8/mc1.18/dev
Open Ended Pipes now correctly handle Builder's Tea
2023-05-10 14:25:20 +02:00
simibubi
bd24fead0f
Merge pull request #4718 from Walle123/mc1.18/dev
add brass tunnel speed setting
2023-05-10 14:22:54 +02:00
simibubi
2e3c906ce0 Create in the far lands
- Fixed couplings, schematics and in-world overlays not rendering correctly at coordinates far from the origin
2023-05-08 13:05:16 +02:00
simibubi
85a53f6966 Fixed LineOutlines rendering incorrectly 2023-05-08 10:03:47 +02:00
Walle123
b8779299cd brass tunnel distribution speed config added 2023-05-01 12:22:17 +02:00
Walle123
0347038c9a brass tunnel distribution speed config added 2023-05-01 11:32:29 +02:00
NerdsOfAFeather
596c9839d2 Open Ended Pipes now correctly handle Builder's Tea 2023-04-23 17:55:01 -04:00
cakeGit
cc09f4c634 Fix 😁 2023-03-28 21:51:16 +01:00
caelwarner
c2977bbfff
Fixed GirderEncasedShaftBlock's default blockstate
- GirderEncasedShaftBlock was missing entries for WATERLOGGED, TOP and BOTTOM in its default blockstate
- Fixes #4550
2023-03-14 14:26:28 -07:00
Xavier Stouder
ce955e9fcd
fix(#4527): prevent hand crank from draining hunger using extendo grip (#4539) 2023-03-13 12:31:28 -07:00
PepperCode1
d4106d545b Rewrite outline buffering
- Outline buffering now uses Vector3f instead of Vec3 to avoid creating
many objects and double to float casts
- Remove OutlineParams.transformNormals since it was not used
- Rename OutlineParams#disableNormals to disableLineNormals since only
lines have normals disabled
- Fix seats not having descriptions
2023-03-10 16:10:47 -08:00
Zelophed
442e1c3c5b
Tabbed Out 2023-03-08 13:53:24 +01:00
simibubi
3a63cdbf66
Merge pull request #4395 from Creators-of-Create/l10n_crowdin_translations
New Crowdin translations
2023-03-08 13:48:11 +01:00
simibubi
0959e4408c
Merge pull request #4478 from EdrowsLuo/fix-4477
- Fixed crash when Schematicannon gets placed by another Schematicannon
2023-03-08 13:46:08 +01:00
Crowdin Bot
bb8149b2ba New Crowdin translations by Github Action 2023-03-08 12:36:11 +00:00
simibubi
af86a7366a Mildly Experienced
- Players can now sneak while using exp nuggets to only consume one item at a time
- Fixed brass funnels losing their filter when changing from or to a belt/depot funnel
- Minecart contraption items can no longer be placed in container items like toolboxes or shulkers (configurable)
- Implement #4436, #4419
2023-03-08 13:33:05 +01:00
PepperCode1
1b2ca00c44 Minor fix-ups
- Fix some contraption transforms (fix Fabricators-of-Create/Create#591)
- Remove AllStitchedTextures
- Organize imports
- Swap jarjar versions and ranges to ensure more reliable version
matching
- Add the jarJarRelease task to the jarjar group
2023-03-07 14:10:44 -08:00
Cyvack
c907454be9
Overhaul to how encasing blocks works (#4458)
* Make Encasing utilize Interfaces

* Add Javadoc to IEncasable and IEncased interfaces

* Fix Weird block.block issues (No clue where those came from)

* Final Touch ups for now and made requirement for casing normal Block instead of CasingBlock

* Make requested changes

* Add more parameters for tryEncasing, for use in handleEncasing
Move handleEncasing to Encased Interface for more flexability

* Simplify and organize

- Rename:
  - Encasable -> EncasableBlock
  - Encased -> EncasedBlock
  - EncasableRegistry -> EncasingRegistry
- Remove EncasedBlock#setCasing
- Remove encasedBlock argument from EncasedBlock#handleEncasing
- Add Registrate builder transformer to EncasingRegistry for easy use

---------

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>
2023-02-22 13:09:11 -08:00
EdrowsLuo
3ed3fe5a09 Fix crash when SchematicannonTileEntity try to parse state using empty string 2023-02-21 14:59:46 +08:00
DaComputerNerd
6b0af48e99 Add track merge event
Can't test it due to java shenanigans, but I think this will work.

It's worth noting that this will only be specific to merging as long as transferAll is. If anything else ends up using transferAll, all that needs to happen is adding an intermediate method that posts the event instead of transferAll doing it, then calls transferAll
2023-02-10 10:32:15 -05:00
simibubi
40f96b0038 You wrenched this? I wrenched this.
- Fix NPE in CarriageSyncData (Unknown cause)
- Fixed crash when applying text to display boards before they initialise
- Fixed incorrect itemstack remainders on Weighted Ejectors
- Other mods' wrenches now always behave like the Create wrench on IWrenchables
2023-02-02 12:14:25 +01:00
simibubi
5836ad4b82 Compatulations
- Fixed AE2 ore crushing compat recipes not using up-to-date modid/blocks
- Added Enchantment Descriptions
2023-01-29 23:42:08 +01:00
simibubi
8cf282372c Tangled handlers
- Fixed server-side ticking code called from the render thread with forge 40.2.1 and up
2023-01-29 16:49:01 +01:00
52593a2ae9 fix nullability crash in Carriage.java 2023-01-29 16:07:19 +01:00
simibubi
157077b0ef Payload Overload
- Potential fix for players getting kicked while merging very large track networks
2023-01-28 21:04:25 +01:00
simibubi
9ab3b77294 Repeat offender
- Crashes that occur during schematic loading no longer terminate the server
- Fixed crash when creating new belts at existing chutes/funnels
- Fixed ghost items appearing on non-powered belts when extracted from
2023-01-24 15:29:59 +01:00
simibubi
6606a07d44 Remove Localisation templates 2023-01-24 14:12:04 +01:00
simibubi
85200fe48f Stop flying your vehicle 2023-01-15 15:07:45 +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
Crowdin Bot
b7e2970d3d New Crowdin translations by Github Action 2023-01-14 15:11:46 +00: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
b502cd1c16 Burning through cake
- Superheated burn time of blaze cakes changed from 1000 to 3200 ticks
- Blaze cake insertion threshold matched to standard threshold
2023-01-14 14:08:08 +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
318bac3704
Merge pull request #4213 from TropheusJ/mc1.18/contraption-data
Fix and improve handling of large contraption data
2023-01-14 13:53:59 +01:00