Commit graph

1365 commits

Author SHA1 Message Date
PepperCode1
42675f9511 Clean up and optimize copycat models
- Rename ITransformableTE -> ITransformableBlockEntity
2023-02-24 12:37:41 -08:00
PepperCode1
783cd126f7 Renaming and getters
- Rename AllBlockPartials -> AllPartialModels
- Make AllPackets.channel private and use getter method instead
- Make config fields in AllConfigs private and use getter methods
instead
- Optimize SyncedBlockEntity#sendData
2023-02-23 16:05:22 -08:00
PepperCode1
6265b6d295 Refactor custom rendered items
- CustomRenderedItemModel no longer holds partials
- Store partials as PartialModels in static fields in renderers
- Remove all CustomRenderedItemModel subclasses
- Remove CustomRenderedItemModelRenderer#createModel
- CustomRenderedItemModelRenderer is no longer generic
- Store items with custom renderers in CustomRenderedItems instead of
CustomRenderedItemModelRenderer
2023-02-22 20:34:37 -08:00
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
79c59e5f3c Port new changes 2023-01-16 13:48:12 +01:00
simibubi
46c6856b6e Merge branch 'mc1.18/dev' into mc1.18/0.5.1 2023-01-16 13:43:51 +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
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
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
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
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
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
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
94cb3a43f7
Merge pull request #4017 from starlottemusic/patch-1
Sails use vanilla dye/shear sounds
2022-12-07 17:33:50 +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
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
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
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
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
simibubi
9498dacfc9 Counter balance
- Elevator contacts no longer cause observer updates whenever an elevator is leaving
2022-11-01 14:25:04 +01: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
simibubi
da5b752e1f Merge branch 'mc1.18/copycat' into mc1.18/0.5.1 2022-10-21 22:04:42 +02:00
simibubi
069d154396 Trapdoors everything
- Added Copycat Panels and Copycat Steps
2022-10-21 21:58:30 +02:00
simibubi
cd0c748e0b Too much elevation
- Elevator contacts no longer power adjacent elevator contacts
- Fixed elevator contraptions travelling to unreachable floors
- Switch to redstone palette for controls indicator
- Added localised elevator assembly hints
- Multiple elevators can no longer be assembled into the same column
2022-10-19 13:15:47 +02:00
simibubi
ad57fe158c Merge branch 'mc1.18/netherite-diving' into mc1.18/0.5.1 2022-10-18 23:02:56 +02: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
PepperCode1
3d74c41c2d Netherite Diving
- Add netherite diving helmet, netherite backtank, and netherite diving
boots
- Full netherite diving set makes entity fire immune
2022-10-07 12:32:44 -07: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