Commit graph

2595 commits

Author SHA1 Message Date
Rabbitminers
06fb901144 Implemented Common Rendering For StandardBogeyRenderer 2023-03-23 18:39:11 +00:00
Rabbitminers
435b0f8266 Added Common Renderer 2023-03-23 18:38:40 +00:00
Rabbitminers
96a0623dab Implemented BlockState Models For Rendering 2023-03-23 18:38:29 +00:00
Rabbitminers
469d9d592b Added Standard Bogey Instance (Might be redundant) 2023-03-23 17:42:28 +00:00
Rabbitminers
2661d260d8 Refactored Changes To Existing Methods 2023-03-23 17:42:06 +00:00
Rabbitminers
9ded16fbab Integrated BogeyRenderer To BogeyInstance (Also Corrected Rendering In Contraption) 2023-03-23 17:41:15 +00:00
Rabbitminers
4a82fcbca1 Implemented Changes To StandardBogeyBlock 2023-03-23 17:40:13 +00:00
Rabbitminers
7238fb93f3 Added Renderer To IBogeyBlock 2023-03-23 17:39:51 +00:00
Rabbitminers
ded4c1f613 Merge remote-tracking branch 'origin/mc1.18/dev' into mc1.18/dev 2023-03-22 17:03:37 +00:00
Rabbitminers
91727cc84a Implemented Model Data Initializer to StandardBogeyRenderer 2023-03-22 17:03:28 +00:00
Rabbitminers
6d98a1f469 Added Contraption Model Instance Initializer 2023-03-22 17:03:00 +00:00
Rabbitminers
3c02fe6ecc
Added missing render type check 2023-03-21 22:45:34 +00:00
Rabbitminers
6672c49649 Re-created standard bogey with test api 2023-03-21 22:37:36 +00:00
Rabbitminers
a8a9491fa0 Implemented Proof Of Concept Generic Bogey Renderer 2023-03-21 22:34:54 +00: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
SpottyTheTurtle
e4e5ac1c40 init 2023-03-11 21:34:59 +00: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
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
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
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
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
grimmauld
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
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
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
TropheusJ
5bf088c436 use Mods enum 2022-12-24 00:10:13 -05:00
TropheusJ
41697aca7f Improve handling of contraption data for syncing and minecart pickup
- filter out null contraptions in ContraptionRenderingWorld
- fix and unify contraption data size estimates
- add config for max contraption size for syncing
- Minecart pickup max is increased if XL Packets is loaded
2022-12-23 22:50:31 -05: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
simibubi
12065c6b09 Stronk in Description, guard isCreative from NPE 2022-12-12 13:12:39 +01:00
simibubi
76aeb83254
Merge pull request #4118 from Jobieskii/mc1.18/dev
Add survivalContraptionPickup option to config
2022-12-12 13:07:42 +01:00
simibubi
8e79317ae4 #3980 with deployer integration
- Deploying and Item Application recipes now display up to 3 additional rollable output stacks in JEI. Original PR by Christofmeg
2022-12-12 13:07:07 +01:00
simibubi
0b8e6760be
Merge pull request #4108 from KJP12/mc1.18/forge/pr/memleak
Use a WeakHashMap in WorldAttached to prevent memory leaks
2022-12-12 12:39:08 +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
d6e8ac73df Bad Acting
- Fixed crash when loading contraptions with missing blocks which had provided movement behaviours
2022-12-11 21:31:11 +01: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
Maurycy J
eae7d70694 Add survivalContraptionPickup option to config 2022-12-10 17:15:44 +01:00
KJP12
d9354263a7
Use a WeakHashMap in WorldAttached to prevent memory leaks 2022-12-08 13:49:03 -06:00
simibubi
450359b212 Pulley a Stunt
- Fluid manipulation of Hose Pulleys can no longer cause chunks to be loaded
- Hose Pulleys no longer lose infinite status upon un- and reloading
- Hose Pulleys now retain infinite status if surrounding lake is not fully loaded
- Fixed Hose Pulley not loading in extended on the client side
2022-12-08 20:05:06 +01:00
simibubi
579bddc5af Target practice
- Improved position of rendered blocks launched by Schematicannon
- Fixed Schematicannon play button having to be pressed twice to start printing
- Schematicannon no longer moves while searching for the next location to shoot at
- Schematicannon now skips through empty sections more quickly
- Fixed Creative players losing items used on block application recipes
- Fixed blocks used in item application recipes briefly being placed on the client
- Blaze burners now create less light updates
- Goggle overlay fade-in no longer repeats when looking at adjacent blocks with information
- Reduced particle amount produced by active steam engine setups
2022-12-08 14:07:03 +01:00
simibubi
8e64f387bc
Merge pull request #4036 from jacquerol/mc1.18/dev
Add 3rd person crossbow holding animation to potato cannon and zapper
2022-12-07 18:18:24 +01:00
simibubi
3d8a147d79
Merge pull request #4018 from starlottemusic/patch-2
Scroll Tick sound in GUIs
2022-12-07 17:35:12 +01:00
simibubi
94cb3a43f7
Merge pull request #4017 from starlottemusic/patch-1
Sails use vanilla dye/shear sounds
2022-12-07 17:33:50 +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
simibubi
1c22fd8165
Merge pull request #3988 from FortressNebula/addon-support-for-lang-merger
Add support for other mod ids in LangMerger
2022-12-07 17:04:35 +01:00
simibubi
89856bbe67
Merge pull request #3958 from NotSoEpic/mc1.18/dev
Fix: blaze burner overfill and automation issue
2022-12-07 16:50:43 +01:00
Xavier Stouder
5685606613
Fixed spectators interacting with hand cranks (Xstoudi) 2022-12-07 16:42:37 +01:00
Xavier Stouder
109de51400
Query complete player list for Scoreboard displays (Xstoudi) 2022-12-07 16:21:16 +01:00
PepperCode1
5b038d419c Instanced steam engines
- Add SteamEngineInstance
- Delete contraption models on contraption invalidate
- Do not use enum subclasses in BottomlessFluidMode
- Fix ContraptionDriverInteractMixin being added twice
- Update Flywheel
2022-11-22 14:35:37 -08:00
jacquerol
24c13dab89 Added PlayerEntityRendererMixin
- Added crossbow animation to potato cannon and zapper
- Updated potato cannon model to fit animation
2022-11-21 00:37:36 -03:00
PepperCode1
131c9a5479 Hard-working Registrate
- Deprecate CreateRegistrate#lazy, add CreateRegistrate#create, and call
registerEventListeners manually
- Remove Create#registrate and use Create.REGISTRATE instead
- Move tag datagen code and methods to TagGen
- Pass event busses directly to Curios#init
- Update logging to use SLF4J
- Update Flywheel to 0.6.8-95
- Increment version to 0.5.0.g
2022-11-17 13:50:15 -08:00
starlottemusic
8fbaaa60f2
Scroll Tick sound in GUIs
Added the Scroll Tick sound to ScrollInput boxes within GUIs for consistency with in-world scroll boxes.
2022-11-14 17:37:47 -05:00
starlottemusic
bbe0c2a5cb
Sails use vanilla dye/shear sounds
Adds the "Dye stains" and "Shears click" sounds to the sail block when the respective action occurs.
2022-11-14 17:29:47 -05: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
FortressNebula
e053c9240f AllLangPartials also now supports more mod ids 2022-11-06 12:24:37 +00:00
FortressNebula
f0311f3245 Add support for other mod ids in LangMerger 2022-11-05 22:31:59 +00:00
NotSoEpic
172c8da43e Fix: blaze burner overfill and automation issue
Currently when inserting an item that smelts > 50 items such as lava buckets into an unfueled blaze burner, its burn time will go over maximum.
This fixes that by limiting added burn time from a single item to 98% of max burn time.
Also fixes #3518
2022-10-29 09:43:20 +08:00
caelwarner
0c5ccf38ee
Added server-side check to BackTankUtil
- Added server-side check to BackTankUtil#isBarVisible, BackTankUtil#getBarWidth, BackTankUtil#getBarColor
- Fixes #3751
2022-10-08 02:01:54 -07:00
simibubi
959aa4afbd Pick a better side
- Pass local coordinates to blocks when calling pick() in identify mode
2022-10-07 19:47:22 +02:00
simibubi
7cd149ba06 Pick a side
- Ponder's Identify mode now supports blocks with ray-specific pick block results
2022-10-07 19:33:10 +02:00
simibubi
c4eb62c862 World of Tags
- Tile Entities in ponder are now backed up as their nbt compound instead of a cloned instance
2022-10-07 18:43:39 +02:00
simibubi
c7a75f8ffd Subcontraption Overlap
- Fixes #3871
2022-10-03 00:31:42 +02:00
caelwarner
b03aaef5a2
Switched getInputInventory() to availableItems
- Using availableItems instead of getInputInventory() in case an item in the output inventory is being used as an ingredient
- Removed commented code
2022-09-30 15:39:19 -07:00
caelwarner
7f6cf4b4a2
Fixed basin recipes that override Recipe#getRemainingItems
- The output of Recipe#getRemainingItems was being ignored by basin recipes. This could cause duplication of container items
- Created DummyCraftingContainer to allow us to call Recipe#getRemainingItems for CraftingRecipes
2022-09-30 13:38:21 -07:00
simibubi
5303d69bf1 Better guard for Deployer#initHandler
- Addresses #3685
2022-09-29 13:00:33 +02:00
simibubi
c5b144b60c No Comment
- Added "." to empty comments in config files (-> Fixes forge startup crash on 1.19)
2022-09-28 22:28:29 +02:00
PepperCode1
e74bdaa262 Bump network version
- This prevents a client from joining a server if they have different
network versions.
2022-09-27 14:51:36 -07:00
rbasamoyai
e45d12c904
Fix FluidTagIngredient testing null tag 2022-09-25 23:36:15 -04:00
PepperCode1
2e838b6e01 Obsidian movement config now controls respawn anchor 2022-09-25 11:56:52 -07:00
simibubi
95a23f7433 Collision Spike
- Reduced false positives for train/player collisions during lag spikes
2022-09-25 20:41:12 +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
PepperCode1
09124ea92b Add config for automated brewing
- Add allowBrewingInMixer config
- Add 0.5.0e to the bug report template
- Allow Flywheel 0.6.6
2022-09-22 12:09:23 -07:00
simibubi
d6ca0343b8 PR Datagen
- Hand cranks, valve handles and smart pipes can now be waterlogged
- Version bumped
2022-09-22 20:10:42 +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
f6f3a82025
Merge pull request #3793 from MoarDm/mc1.18/fix-3744
Fix: Fluid valve isn't waterloggable
2022-09-22 19:46:36 +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
a4dc6bad54
Merge pull request #3783 from RungeCC/fix_cauldron
fix: lava/water/snowpowder cauldron
2022-09-22 19:03:38 +02:00
simibubi
c2d06edbf6 Merge branch 'mc1.18/dev' of https://github.com/Creators-of-Create/Create into mc1.18/dev 2022-09-22 19:00:39 +02:00
simibubi
d117637df1 Telekinetics
- Fixed Movement Behaviours not resetting state when minecart contraptions are picked up
2022-09-22 19:00:26 +02:00