Commit graph

2293 commits

Author SHA1 Message Date
Cael Warner
01866db72e
Fixed null pointer when resetting gameplay settings in config menu
- Added a null check to make sure a config value has a comment before trying to split the comment
- Fixes #2412
2021-12-11 20:58:23 -08:00
Cael Warner
51763382d3
Pulleys will now work in worlds with non-default world heights 2021-12-11 18:29:55 -08:00
Cael Warner
aa4668ef28
Fixed issues with new world height
- Pulleys are now able to extend below Y=0
- Super Glue can now be placed above Y=256, all the way up to the new world height limit of 320
- Fixes #2421, fixes #2426, fixes #2427
2021-12-11 17:44:03 -08: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
8101f19611 Worlds are bigger now
- Stop clamping Y in [0, 256)
2021-12-10 00:28:33 -08:00
simibubi
858fbd5c1a Merge branch 'mc1.17/dev' into mc1.18/dev 2021-12-10 01:45:35 +01:00
Jozufozu
2efbcdbd6b No more material spec, everything is StructType 2021-12-09 16:42:13 -08:00
simibubi
4350c3c334 Moving the Buds 2021-12-10 01:37:35 +01:00
simibubi
2f8cfc24bc Ah its not actually that good 2021-12-10 01:19:51 +01:00
Jozufozu
ef5afd42c3 Move api package 2021-12-09 15:32:55 -08:00
simibubi
967323d0f8 Version bump 2021-12-09 18:47:22 +01:00
Jozufozu
1a3f27abc8 Reorganize, rename, refactor, 0.4.0
- Move most user facing interfaces to flywheel.api package
 - Refactor InstanceData to have no package private classes
 - Remove 'I' prefix from many interfaces
 - ILightUpdateListener -> LightListener
 - IMultiProgram -> ContextAwareProgram
 - IFlatLight -> FlatLit
 - All materials use the same vertex format: UNLIT_MODEL
2021-12-09 00:44:43 -08:00
simibubi
1590acd1ab Merge branch 'mc1.17/dev' into mc1.18/dev 2021-12-09 06:13:15 +01:00
simibubi
12768ee8b3 Send me a null 2021-12-09 06:10:53 +01:00
simibubi
46fc25f8e9 More suitable ids for brass diode TEs 2021-12-09 06:10:23 +01:00
simibubi
59f9ae1f30 Merge branch 'mc1.17/dev' into mc1.18/dev 2021-12-09 02:41:56 +01:00
simibubi
4708dcfca9 The less handsome Basin
- Fluid networks can now pull lava and water from filled cauldrons
2021-12-09 02:40:07 +01:00
simibubi
ed3df18a01 Port recent changes 2021-12-08 23:03:34 +01:00
simibubi
973576c030 Merge branch 'mc1.17/dev' into mc1.18/dev 2021-12-08 22:47:18 +01:00
simibubi
8eea60ddee Tuff on the Eyes
- Slightly reduced the amount of block types represented in one batch of ore layers
2021-12-08 22:44:00 +01:00
Jozufozu
35bfa8a15c #tick and #beginFrame on creation
- Fixes weird delay in object appearance when reloading chunks
2021-12-08 12:30:08 -08:00
Jozufozu
4041897d29 Groups store their types again
- Fix crash rendering breaking overlay
2021-12-08 12:28:38 -08:00
simibubi
2e56ad6714 Pillar of Jank
- Added connectivity restrictions to pillar blocks
- Fixed reversed uvs on z-axis pillars
- Fluid Pipes now require twice the amount of Copper
2021-12-08 16:57:23 +01:00
Jozufozu
a3476fd54c Keeping up
- Contraptions always use ArrayModelRenderer
 - De-duplicate UI framebuffer swapping code
 - Unbind VAO between contraption structure drawing and engine drawing
 - Bump flywheel build
2021-12-07 23:15:09 -08:00
Jozufozu
5ad0d1d704 Merge branch 'mc1.17/dev' into mc1.18/dev 2021-12-07 21:19:25 -08:00
Jozufozu
5ae4e49787 Get started on a batching engine
- An Engine is a MaterialManager and a RenderDispatcher
 - Refactor InstanceManager's ctor to use the MaterialManager interface instead of the concrete type
 - MaterialManagerImpl -> InstancingEngine
 - Add skeleton for BatchingEngine
 - Hack in InstanceWorld to switch between the 2
 - Rename/move existing MaterialManager impl to new package
2021-12-07 13:41:43 -08:00
simibubi
62b3a0491a Slight tweak to Layered ore frequency 2021-12-07 19:18:56 +01:00
simibubi
65dfc41b62 Merge branch 'mc1.17/dev' into mc1.18/dev 2021-12-07 19:03:01 +01:00
simibubi
3de903ac2a No Flywheel no Flaps
- Fixed Layered ore deposits not able to replace deepslate
- Fixed Funnels and Deployers not fully rendering on contraptions when flywheel is disabled
2021-12-07 19:01:30 +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
Jozufozu
5e1479d147 Fix drill rendering on contraptions 2021-12-06 15:37:13 -08:00
Jozufozu
ffe670b391 Vanillaization
- IModels now accept a VertexConsumer
 - IRenderState -> RenderType
 - AbstractInstancer for dealing with InstanceData tidyness
 - Bump flywheel version
2021-12-06 15:36:47 -08:00
simibubi
3fcce376e5 Never Scene Before
- Fixed TileEntities in Ponder not receiving blockstate changes
- Fixed Ponder selection rendering offset
- Re-introduced the depth-sorting hack for PonderUI
- Editing mode is now a Config Option
- Fixed Non-Container Screens no longer closing on "E"
- Added tooltip for Experience Nuggets
- Fixed Schematic Prompt no longer starting auto-focused on the text field
- Pulse Extenders now actually extend the pulse, rather than emitting for a fixed time
- Updated Ponder Scenes for the repeaters
- Picking encased kinetic blocks no longer returns a creative-only item
- Added a Ponder Scene with encased cogwheels
- Implemented change of top & bottom texture for copper roof blocks
2021-12-05 19:44:35 +01:00
simibubi
55b13bf421 Backwards Coppertability
- Added the option to ship opt-in resource packs
2021-12-05 14:05:57 +01:00
simibubi
afed0ae586 Belt lighting safety check 2021-12-05 02:54:43 +01:00
simibubi
410dcd61ae Backwards Palettability 2021-12-05 02:37:21 +01:00
simibubi
b487e0a46a Drowning in Datagen
- Mechanical Belts no longer have a Stress Impact
- Stairs and Slabs variants of blocks no longer use plural in their name
- "Polished" stone type variant now uses the prefix Polished Cut
- "Bricks" stone type variant now uses the prefix Cut
- Added more recipes for stone types and copper blocks for convenience
- Reverted re-texture of crushed copper ore
- Added waxed copper recipes for deploying
2021-12-05 00:18:08 +01:00
PepperBell
c6e630a60c The copper commit
- Match Create's copper block variants with vanilla's copper block
variants
- Add CopperBlockSet and CopperRegistries
- Remove copper plating block and OxidizableBlock
- Add remaps for copper ore and copper block and organize RemapHelper
- Fix belt funnel model names
- Bump required Forge version to 37.1.0
- Organize imports
2021-12-03 23:48:55 -08:00
simibubi
79e2ceb23c Packed and Voided
- Added crushing recipes for raw ore blocks
- Layered mineral deposits are slightly more likely to spawn
- Zinc ore is slightly less likely to spawn
- Added layered deposits with Scorchia
- Fixed tuff pillars texture size
- Modified recipe for the Wand of Symmetry
2021-12-04 06:23:01 +01:00
simibubi
210af91396 Cogwheel Configuration
- Reintroduced fluid-lava interactions
- Fixed incorrect uvs on horizontally connected blocks
- Encased cogwheels can now have shaft outputs
2021-12-04 04:17:42 +01:00
Jozufozu
117b5a93a3 No more InstanceData#write 2021-12-02 21:25:32 -08:00
Jozufozu
85b1b86883 Unsafe writers for StructTypes
- Bump flywheel build
2021-12-02 19:32:40 -08:00
simibubi
e2b8e1cb7d The Processing Experience
- Added the Experience Nugget
- Item Vaults are now Immune to regular explosion damage
- Encased Shafts and Cogwheels no longer appear on creative tabs
- Fixed gantry carriage model uvs
- Fixed Palette blocks & Item Vault not easily mineable using a pickaxe
- Fixed ponder crash when a non-ticking tile is shown
- Fixed cube particle interpolation and quads
- Fixed sawblades rendering with wrong rotations
- Items shown on JEI's Washing tab are now centred
- Introduced a new set of Ore Processing recipes
- Moved Portable Storage Interface to andesite tier
- Removed the Adjustable Crate
- Creative Crates can no longer span multiple blocks
- "Chromatic" items no longer appear on creative tabs
- Ejectors now emit comparator signals relative to their max accepted stack size
- Fixed combined slots in the toolbox menu not acting correctly
- Fixed background of the advancement tab
2021-12-03 03:57:00 +01:00
dithpri
dbb2f5729d
Fix #2372
- Powering smart chutes now disables output as well
2021-11-30 20:29:52 +01:00
simibubi
df8f5449f0 Layers of Insanity
- Fixed flipped uvs on horizontal capped faces
- Layered blocks once again can only face the vertical axis (for now)
- Texture updates by Kryppers
2021-11-30 03:18:45 +01:00
PepperBell
68bf1f399a Fix toolbox regression
- Fix toolbox menu closing regression
2021-11-28 18:50:27 -08:00
simibubi
b0ec966b98 Zinc Beans
- New Zinc Ore integration (Art by .vectorwing)
2021-11-28 04:07:18 +01:00
simibubi
cde2350418 Merge branch 'mc1.17/dev' of https://github.com/Creators-of-Create/Create into mc1.17/dev 2021-11-28 02:48:15 +01:00
simibubi
c1b4c8cef2 New Flavours
- Removed Gabbro, Dolomite, Weathered Limestone
- Added Crimsite, Asurine, Veridium, Ochrum
- Added and Removed palette blocks for Andesite, Diorite, Granite, Tuff, Deepslate, Dripstone, Calcite, Limestone, Scoria and Dark Scoria
- Custom stone types now generate as layers instead of ores
(Work in Progress)
2021-11-28 02:24:15 +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
7a4ed99fb5 Bump flywheel build
- New project slug
 - StitchedSprite changes
2021-11-27 12:46:01 -08:00
PepperBell
569975bc07 Merge remote-tracking branch 'upstream/mc1.16/dev' into mc1.17/dev
Conflicts:
	build.gradle
	gradle.properties
	src/generated/resources/.cache/cache
	src/generated/resources/assets/create/lang/unfinished/de_de.json
	src/generated/resources/assets/create/lang/unfinished/es_es.json
	src/generated/resources/assets/create/lang/unfinished/ja_jp.json
	src/generated/resources/assets/create/lang/unfinished/ko_kr.json
	src/generated/resources/assets/create/lang/unfinished/pt_br.json
	src/generated/resources/assets/create/lang/unfinished/zh_cn.json
	src/main/java/com/simibubi/create/AllBlocks.java
	src/main/java/com/simibubi/create/Create.java
	src/main/java/com/simibubi/create/compat/jei/CreateJEI.java
	src/main/java/com/simibubi/create/content/contraptions/components/actors/PortableItemInterfaceTileEntity.java
	src/main/java/com/simibubi/create/content/contraptions/components/actors/SawMovementBehaviour.java
	src/main/java/com/simibubi/create/content/contraptions/components/crafter/ConnectedInputHandler.java
	src/main/java/com/simibubi/create/content/contraptions/components/crafter/MechanicalCrafterTileEntity.java
	src/main/java/com/simibubi/create/content/contraptions/components/mixer/MechanicalMixerTileEntity.java
	src/main/java/com/simibubi/create/content/contraptions/components/press/MechanicalPressTileEntity.java
	src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/ControlledContraptionEntity.java
	src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/piston/LinearActuatorTileEntity.java
	src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/pulley/PulleyTileEntity.java
	src/main/java/com/simibubi/create/content/contraptions/fluids/PipeConnection.java
	src/main/java/com/simibubi/create/content/contraptions/fluids/potion/PotionFluid.java
	src/main/java/com/simibubi/create/content/contraptions/processing/BasinRenderer.java
	src/main/java/com/simibubi/create/content/curiosities/toolbox/RadialToolboxMenu.java
	src/main/java/com/simibubi/create/content/curiosities/toolbox/ToolboxBlock.java
	src/main/java/com/simibubi/create/content/curiosities/toolbox/ToolboxHandlerClient.java
	src/main/java/com/simibubi/create/content/curiosities/toolbox/ToolboxInventory.java
	src/main/java/com/simibubi/create/content/curiosities/toolbox/ToolboxTileEntity.java
	src/main/java/com/simibubi/create/content/logistics/block/depot/EjectorTileEntity.java
	src/main/java/com/simibubi/create/content/logistics/block/depot/EntityLauncher.java
	src/main/java/com/simibubi/create/foundation/data/recipe/StandardRecipeGen.java
	src/main/resources/META-INF/mods.toml
2021-11-25 19:15:31 -08:00
simibubi
393cc55e71 Stealthy Evaporation
- Fixed fluid networks losing fluids when extracted amount is lower than a pumps transfer speed
- Fixed JEI plugin claiming that some occultism's ritual recipes work in a compacter
- Fixed press/deployer/spout failing to process a belt item when another item is processed simultaneously further down the belt
2021-11-24 14:06:10 +01:00
Jozufozu
507a1b1696 Merge remote-tracking branch 'origin/mc1.17/dev' into mc1.17/dev 2021-11-23 18:18:59 -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
simibubi
52eca118ad Back on Patch, Part III
- Better visibility for low/half amounts of fluids in basins
- Fixed Mechanical Press head getting stuck in extended position when off-screened or when its basin changes
- Added processingTime support to mixing recipes (defaults to 100)
- Fixed Basin recipes with fluid output not starting when targeted output inventory supports items only
- Fixed item extraction from create creating stacks of unstackable items when source inventory allows stacking them (Storage Drawers)
- Fixed Deployers not having a valid item capability when asked before their first tick
- Fixed Mechanical Crafting recipes able to be automated via packing
2021-11-23 18:55:39 +01:00
PepperBell
3129672f3a Add CustomUseEffectsItem
- Add CustomUseEffectsItem interface implemented on items to control use
effects behavior
- Replace SandPaperEffectsHandler and SandPaperSoundMixin
- Fix broken polishing particles when no items in other hand (polishing
last item)
2021-11-22 20:12:45 -08:00
simibubi
97bff0f95f Other pipes are available
- Moved fluid update fix from encased pipes to all pipes
2021-11-22 12:44:36 +01:00
simibubi
27c69250d1 Portable Spillage Interface
- Fixed Chutes spilling items when inserting into disconnected storage interfaces
- Blaze Burners can now be picked up using the Wrench
- Additional safety checks from random crash reports
2021-11-22 11:38:52 +01:00
simibubi
67afe74250 Contraption launcher
- Fixed Contraptions being affected by Weighted Ejectors
2021-11-22 02:11:36 +01:00
simibubi
88e487cdf5 Back on Patch, Part II
- Fixed piston/pulleys moving before their attached entity is loaded
- Recipes with an id suffixed "_manual_only" are now ignored in auto-shaped, auto-shapeless and auto-cutting processing features
- Fixed pipes spawning particles at connections between chunks
- Fixed pipes not initialising target fluid holders properly when the source is loaded in first
- Fixed encased fluid pipes not updating flows when neighbouring blocks change
- Fixed fluid pipes not updating flows when adjacent block changes from fluid to block
2021-11-22 00:55:08 +01:00
simibubi
f3109b28ab Back on Patch
- Fixed Crafters voiding any inserted items after being moved on a contraption
- Fixed Crafters crashing the game after being placed by a Schematicannon
- A couple of two-ingredient recipes have been made shapeless
- Improved piston/pulley contraption collision with blocks in the world
- Fixed pistons/pulley contraptions merging into world blocks when disassembling shortly after loaded in
- Added jei support for toolbox colouring recipes
- Disabled item shadows on belts
- Toolbox radial can now be navigated using hotbar shortcuts
- Toolbox radial now steps back when right-clicked
- Toolbox radial now immediately opens the multi-toolbox view when right-clicking the central "unequip" button
- Fixed hidden slots visible in toolbox screen in some gui scales
- Toolbox sorting in the radial menu is now deterministic
- Fixed Toolboxes not always updating their inventory state to clients
- Shulker boxes can no longer be placed inside toolboxes
- Fixed potion fluids not displaying their full name in jei
- Fixed JEI showing all potion recipes when looking up a specific one
2021-11-21 22:03:38 +01: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
simibubi
91ba2780e7 Post-PR Datagen
- move pt_br to correct location
- bump version
2021-11-20 13:57:12 +01:00
simibubi
a3808365dd
Merge pull request #2275 from Eriksonnaren/patch-1
Allows generator blocks to output different speeds in different direc…
2021-11-20 13:25:30 +01:00
simibubi
1d143e9271
Merge pull request #2288 from khjxiaogu/patch-1
Add Gantry Shaft Impact
2021-11-20 13:20:56 +01:00
Jozufozu
075e194f8a Polish polish
- Sanding particles are of the item you are sanding
 - Sanding sounds are played slower
2021-11-17 20:48:09 -08:00
Jozufozu
3aeef5d0ff The sounds of sand 2021-11-17 19:42:34 -08:00
PepperBell
f9000bf777 Extreme polishing
- Add sanding sounds
- Allow sandpaper to polish vanilla copper
- Spawn particles when polishing Create copper blocks
- Make Create copper blocks inherit properties from copper block instead
of iron block
- Fix empty blaze burner not lighting with flint and steel
2021-11-16 17:42:35 -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
0298d4cdf7 Clean up access transformer 2021-11-11 23:15:42 -08:00
PepperBell
795ef07b38 Fix Flywheel contraption lighting
- Fix some events being registered to the wrong event bus
- Organize some event registration
- Fully fix FluidRenderer
2021-11-10 22:15:26 -08:00
simibubi
2078899ed9 Bigger Boxes
- Added the Item Vault
2021-11-10 21:07:47 +01:00
simibubi
6224a3e444 Time well spent
- Fixed shaft models misaligning near large cogwheels
2021-11-10 17:27:03 +01:00
simibubi
70803db5c6 Thanks, Mojang
- Removed the Copper Ingot
- Removed Copper Ore
- Block of Copper -> Copper Plating
2021-11-10 03:30:55 +01:00
simibubi
91e03de96b Blocks of Cogs
- Slightly tweaked cogwheel models
- Added Encased Cogwheels and Encased Large Cogwheels
2021-11-10 02:41:49 +01:00
Jozufozu
e8cddfdfea Fix textures on contraptions
- bump flywheel build
2021-11-09 16:53:52 -08:00
Jozufozu
5284fe742f Chipping away at light 2021-11-09 14:59:31 -08:00
Jozufozu
8261be3d80 Named models 2021-11-08 20:48:02 -08:00
Jozufozu
302b15551a Fix contraption step sounds 2021-11-08 18:54:46 -08:00
simibubi
a6e60d704c Brass Circuitry
- Removed the pulse repeater
- Removed the adjustable repeater
- Adjustable Pulse Repeater -> Pulse Repeater
- Added the Pulse Extender
- Latches now play a sound when flipped manually
- ponder todo
2021-11-08 03:01:27 +01: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
simibubi
bea8cea59d Get building
- Fixed super glue not spawning particles on break
- Fixed logspam when goggle overlays are shown
- Fixed blocks launched by a schematicannon spiraling through the air
- Fixed javadoc errors
2021-11-07 20:58:46 +01:00
zelophed
35239d10f4 fix StencilElements not rendering correctly 2021-11-07 20:43:40 +01:00
PepperBell
d82146a541 Fix cube particle rendering 2021-11-07 11:12:00 -08:00
PepperBell
ad9a6272c2 Fully fix GuiGameElements
- Replace all GUI y-flip scalings to not scale normals
- Rotate CustomLightingSettings along XN instead of XP
- Apply custom lighting to all fluids in JEI scenes
- Fix fluid rendering: fix normals, normal scaling, and color
2021-11-07 10:31:19 -08:00
PepperBell
4909546457 Revert "Patch GuiGameElements"
This reverts commit 55c95b347b.
2021-11-07 10:27:51 -08:00
simibubi
1f0b428e58 Where are the issues?
- Seats are bouncy again
- Seats can be mounted again
- Fixed increased water fog while wearing Diving helmet
2021-11-07 18:37:12 +01:00
simibubi
55c95b347b Patch GuiGameElements 2021-11-07 17:31:56 +01:00
PepperBell
ab8f6a01ce Chipped away too much
- Fix formatting and tooltip depth regressions
- Fix outline rendering
2021-11-07 00:26:41 -07:00
PepperBell
a8f422030c Fix ponder transitions 2021-11-06 21:45:31 -07:00
PepperBell
e0b496f807 Chipped away 2021-11-06 20:59:58 -07:00
PepperBell
b6e35773f0 Merge remote-tracking branch 'upstream/mc1.16/dev' into mc1.17/dev 2021-11-02 19:05:29 -07:00
PepperBell
1c23302544 Chipping away, Part III 2021-11-02 19:04:52 -07:00
simibubi
d35f5905ff Derailed Capabilities
- more porting
- port JEI plugin
- use new capability lifecycle for minecarts
2021-11-02 23:17:26 +01: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
simibubi
741fa401d8 Move to official class names
- also updated buildscript to 1.17
- some remap corruption from compilation errors in flw/next
2021-11-02 00:08:20 +01:00
Jozufozu
b3cf7a6f90 Off-by-one desync 2021-11-01 12:27:59 -07:00
simibubi
8f1fd1c94e Merge remote-tracking branch 'origin/flw/next' into mc1.17/dev 2021-11-01 19:49:50 +01:00
PepperBell
fd1990f732 Dyed toolbox fixes
- Add in-world toolbox dyeing
- Fix toolbox dyeing recipe not keeping stack NBT
- Fix toolbox handle rendering on solid layer
- Fix shadows for items on belts
- Clean up other in-world dyeing and dyed block code
2021-10-30 12:43:34 -07:00
khj xiaogu
e612294c15
Add Gantry Shaft Impact 2021-10-26 00:33:02 +08:00
simibubi
2db2892033 Not client enough
- bump version
- actually fix ISTER dist issue
2021-10-23 03:50:49 +02:00
simibubi
140a4a2463 Too hot a fix
- Potential fix to outside-dev server startup
- Removed unnecessary toolbox recipes
- Fixed absolute coords in toolbox screen
2021-10-23 03:20:55 +02:00
simibubi
3a186c1286 More Calls
- Fixed dist error spam with Contraption interaction on servers
2021-10-23 01:56:15 +02:00
simibubi
3e1312e695 Close Call
- Fixed belt splicing not using or refunding belt connectors
- Fixed server crash when opening toolbox
2021-10-23 01:46:35 +02:00
simibubi
0bc26ac7b0 Outdrawn
- Fixed CTM item models disappearing after a ponder scene is opened
2021-10-22 22:33:45 +02:00
PepperBell
728fb256b7 Finalization
- Make new config fields final
- Do not add item cooldown if cooldown is less than or equal to 0
- Tweak rotation math for depots and billboard potato projectiles
2021-10-22 13:32:40 -07:00
Eriksonnaren
d5aea05283
Allows generator blocks to output different speeds in different directions
It is currently impossible to for example make a block that both generates stress and that behaves as a gearshift in that it rotates differently on either side. This simple check should allow that to be possible in a much easier and more intuitive manner.
2021-10-21 23:27:55 +02:00
simibubi
dca6cc0bff Clickable doors
- Fixed item dupe when interacting with moving deployers
- Added movement interaction behaviours for doors and trapdoors
2021-10-21 20:46:26 +02:00
simibubi
a03025a0a3 Merge branch 'mc1.16/dev' into pr/2146 2021-10-21 19:43:13 +02:00
simibubi
d2d3c7f495 Merge branch 'mc1.16/dev' into pr/2123 2021-10-21 19:40:36 +02:00
simibubi
411ff6cfee Move obsidian movement from tag to config 2021-10-21 19:39:57 +02:00
simibubi
e8484b21ec Merge branch 'mc1.16/dev' into pr/2089 2021-10-21 19:25:10 +02:00
simibubi
855fc52d62 Update FurnaceEngineModifiers.java
- Use registry delegates
- Reduce boilerplate
2021-10-21 19:23:49 +02:00
simibubi
cd32845121 Merge branch 'mc1.16/dev' into pr/2220 2021-10-21 19:12:01 +02:00
simibubi
3093bf5917 Update HarvesterMovementBehaviour.java
- harvestpartial only breaks age zero crops if replant is disabled
2021-10-21 19:10:34 +02:00
simibubi
9443658431 Dummy beats null
- Implement #2228
2021-10-21 18:47:38 +02:00
kotakotik22
4d7f56d052 Merge branch 'mc1.16/dev' into movement_setting_provider_pr
# Conflicts:
#	src/main/java/com/simibubi/create/foundation/config/CKinetics.java
2021-10-21 18:31:47 +03:00
kotakotik22
bc5c6bf21b Merge remote-tracking branch 'origin/mc1.16/dev' into movement_setting_provider_pr 2021-10-21 18:28:13 +03:00
Jozufozu
5a621bbea4 Fix crash during datagen 2021-10-19 15:29:04 -07:00
PepperBell
9870431db8 Miscellaneous refactors
- Refactor custom rendered items; The renderer now creates the model
instead of the other way around
- Only tick wrench cog rotation and linked controller renderer if client
is not paused
- Move all model swapping code from CreateClient to ModelSwapper
- Register client resource reload listener before initial resource
reload
- Use TextureStitchEvent.Post event instead of resource reload listener
for filling sprites of SpriteShiftEntries
- Reuse Random instance in PartialItemModelRenderer
- Make all config fields final
- Merge package foundation.renderState into foundation.render
- Move BreakProgressHook from package foundation to foundation.block
- Rename ResourceReloadHandler to ClientResourceReloadListener
- Rename ProperDirectionalBlock to WrenchableDirectionalBlock
2021-10-16 01:46:49 -07:00
simibubi
2bd10af1bc Ordered Crafter slots
- Connected Mechanical Crafters now strictly distribute added items from top to bottom, left to right
- Fixed smart pipe ponder scene no longer showing milk in the basin
- Added timed invalidation to refresh fluid handler references observed by pipe ends
2021-10-13 03:14:57 +02:00
simibubi
d1810f5173 Invisi-bucket
- Fixed filter slot display issues with Forge's multi-layered item models
2021-10-12 00:36:14 +02:00
simibubi
af9d6075ff Coolbox
- Added item description for the toolbox
- Fixed Smart Pipes not able to be picked up with Wrench
- Fluid Pipes no longer have to be straight in order to be 'wrenched' into a strictly straight windowed pipe
2021-10-11 23:24:22 +02:00
simibubi
3792e06b8a Observing Fluids
- Stockpile Switches can now be used with Fluid Tanks
- Content Observers can now be used with Fluid Containers and Fluid Pipes
- Fixed Pumps not updating pressure when reversed
2021-10-11 22:45:53 +02:00
simibubi
5ee4e61c27 Post-serialisation invalidation
- Fixed Contraptions eternally stalling when loaded back from a temporarily stalled state
2021-10-11 17:10:55 +02:00
simibubi
386a6f698b Stackable Breakable
- Fixed Belt connector items cancelling toolbox sync when their nbt changes
- Fixed Unbreakable items breaking when used as tool in deploying recipes
2021-10-11 14:53:42 +02:00
simibubi
7defbb18a3 Dyed Toolboxes
- Added dyed variants of the toolbox
- Toolboxes can now supply items via the "pickblock" keybind
- Toolboxes are now craftable
2021-10-07 16:16:24 +02:00
simibubi
b0143d604d Merge branch 'mc1.16/dev' into mc1.16/toolbox 2021-10-07 13:34:56 +02:00
simibubi
fae6e39b2a Super ignored
- Fixed pumps and valves not registering their stress impact properly after changing state
- Fixed belts not applying stress when created in certain orientations
- Fixed belt items flickering due to previous changes
2021-10-07 13:30:19 +02:00
PepperBell
1abc3a8bf9 Safe networking and more tag datagen
- Remove NbtPacket and add safe packets for configuring symmetry wand
and worldshaper separately
- Expand internal functionality of AllTags and use optional tags in most
cases
- Datagen tags forge:stone, forge:wg_stone, and forge:buckets/honey
- Fix attribute filter screen being shifted by one pixel
- Add translations for "fluid_container" and "renamed" item attributes
2021-10-07 00:05:35 -07:00
PepperBell
d72f343fdf Various cleanup
- Remove Create namespace restriction in CTSpriteShifter
- Add method to register ponder chapter lang
- Clean up palette block code; Closes #386
- Clean up tag code
- Use Create.asResource in as many places as possible
- Organize imports
2021-10-02 13:02:27 -07:00
simibubi
4d819b6c9d Structure Assist
- Schematic and Quill now creates Air entries in place of any "Structure Void" block
2021-09-30 21:31:35 +02:00
simibubi
34d430989c Belt Shadow Legends
- Fixed a lighting issue for the belt item renderer
2021-09-27 13:43:59 +02:00
simibubi
fa7039a04a Patient Stalling
- Items on belts now stall under empty-handed Deployers targeting them
2021-09-27 12:49:45 +02:00
simibubi
994fe29021 Careful Deploying
- Added the option to have held items not be consumed in deploying recipes
2021-09-26 20:45:24 +02:00
simibubi
b1047bb542 Merge branch 'mc1.16/dev' of https://github.com/Creators-of-Create/Create into mc1.16/dev 2021-09-23 01:25:32 +02:00
Stephen Barnes
a2043bebc5 Make FluidTransportBehaviour fields public 2021-09-19 01:23:16 -05:00
PepperBell
173eb6b7ab Add data driven potato cannon projectile types
- Allow defining custom potato cannon projectile types through JSON in
datapacks
- Separate PotatoCannonProjectileTypes into PotatoCannonProjectileType,
PotatoProjectileTypeManager, and BuiltinPotatoProjectileTypes
- Allow setting a custom render mode when building a projectile type
- Prevent the potato cannon itself from being used as ammo
2021-09-18 17:40:57 -07:00
Stephen Barnes
cff90d6211 Fix hose pulley particle position bug 2021-09-18 17:12:22 -05:00
Stephen Barnes
f9791243f8 Add config option to prevent placing fluid source blocks 2021-09-18 17:11:02 -05:00
Stephen Barnes
85d64010bd Config option to make mounted storage output-only 2021-09-18 16:14:40 -05:00
Stephen Barnes
576a5922b4 Add config options for harvesters 2021-09-18 15:22:44 -05:00
simibubi
4dc3629f5d Packing Up, Part II
- Toolboxes keep nbt on pickup
- Toolbox radial menu supports mouse wheel
- Added Dispose-all buttons
- Synced slots detach when moving stacks back into the toolbox
- Fixed missing data on client on login
2021-09-16 20:14:38 +02:00
simibubi
896ab01644 Packing Up
- Added the Toolbox
2021-09-16 04:10:34 +02:00
Jozufozu
092b16f80b Merge remote-tracking branch 'origin/mc1.16/dev' into flw/next 2021-09-14 13:18:05 -07:00
Jozufozu
0a11539961 LightPacking utility class 2021-09-14 13:17:14 -07:00
simibubi
1ec299deff Post-PR Datagen 2021-09-13 18:11:04 +02:00
simibubi
86b0d80c1b
Merge pull request #2178 from StephenBarnes/mc1.16/dev
Add config option for windmill sails per RPM
2021-09-13 17:46:11 +02:00
khj xiaogu
2d3b1e36f9
Added Option to fill infinite resources (#2071)
- Added fill infinite config option 
- Option to make hose pulley fill infinite sources
2021-09-13 17:30:31 +02:00
Tooster
72a8e24cf7
Extract CClient strings to constants (#2042)
Making it uniform with other config classes using static string holders.
2021-09-13 17:28:29 +02:00
Jozufozu
069506ae09 Initial data/struct format refactor
- Inspired by jellysquid3's vertex sinks
 - More robust/extensible solution for data writes
2021-09-12 14:49:01 -07:00
Jozufozu
2eef57204c Instancer interface
- Entire material/model system finally cleaned up
2021-09-12 09:40:37 -07:00
Jozufozu
6fcc960189 Separate LightVolume and GPULightVolume
- LightVolumes now can act as a light cache with configurable size
 - More GridAlignedBB changes
 - Remove ILightUpdateListeners
 - Simplify pulley rendering using LightVolume
2021-09-08 15:49:34 -07:00
PepperBell
6800c24c58 Fix command permission requirements
- Commands glue, highlight, and replaceInCommandBlocks now require OP
level 2 instead of 0
2021-09-05 21:14:41 -07:00
Jozufozu
d13bf42c22 Immutable view of GridAlignedBB 2021-09-04 19:57:32 -07:00
Jozufozu
e826b31a99 Moving light updates
- Better system for moving objects that want to receive light updates
 - LightProvider interface to better abstract light lookups
 - All light listeners use GridAlignedBBs
 - More utility in GridAlignedBB
2021-09-04 16:40:41 -07:00
Jozufozu
b0aba2d24a Merge branch 'mc1.16/dev' into flw/next 2021-09-02 20:23:04 -07:00
simibubi
aa3d656445 Hot belt replace
- The Wrench can now be used to shorten or divide Mechanical Belts
- Belt Connectors can now be used to extend or merge Mechanical Belts
2021-09-03 05:12:44 +02:00
simibubi
b05506ad46 Mechanicalacinahcem
- Added the option to prevent a Mechanical Crafting recipe from matching a vertically flipped arrangement
2021-09-02 23:58:38 +02:00
simibubi
31c951be65 Streamline Chromatics
- Crafters no longer display item sprites vertically flipped
- Crafters now arrange overlapping items less randomly
- Chromatic Compound can now absorb light emitting blocks from belts & depots
2021-09-02 23:08:03 +02:00
simibubi
aecd988384 Foliage Machine
- Mechanical Harvesters can now be used to gather Leaves
- Mechanical Harvesters can now be used to gather Weeping and Twisting Vines
- Fixed JEI integration of Basin recipes with multiple and/or stochastic outputs
2021-08-31 13:46:28 +02:00
Stephen Barnes
35e4956c02 Add config option for windmill sails per RPM 2021-08-29 21:56:28 -05:00
Jozufozu
c9789169b3 Light update convergence
- Move light update logic for all instances to use LightUpdater
 - Begin refactor of LightUpdater to account for moving listeners
2021-08-29 14:40:47 -07:00
grimmauld
42fac69721 Merge remote-tracking branch 'origin/mc1.16/dev' into mc1.16/dev 2021-08-29 12:27:42 +02:00
grimmauld
b734f73db3 made armor stands in ponder scenes less likely to break to null worlds 2021-08-29 12:27:33 +02:00
reidbhuntley
53774d64af Fix infinite source blacklist being ignored 2021-08-28 20:07:57 -04:00
Jozufozu
68a4478b38 Merge branch 'mc1.16/dev' into flw/next 2021-08-28 15:44:45 -07:00
PepperCode1
8a68911335
Merge pull request #2121 from Ovionyx/mc1.16/dev
custom namespace support of CustomRenderedItemModels
2021-08-28 11:58:20 -07:00
PepperBell
20b2ec4b63 Add CreateCustomRenderedItemModel
- Allows Create's classes to not have to pass the namespace every time
2021-08-28 11:53:45 -07:00
PepperBell
2b9c48b215 Add cake to upright tag
- Add missing override annotation
2021-08-28 11:20:02 -07:00
simibubi
dc0bdd055e Move to api package, also datagen 2021-08-25 17:49:01 +02:00
simibubi
fece0e39e2 Add-ons, behave
- Fixed idle blaze burners sending packets every tick
- Fixed placement indicator rendering behind the crosshair
- Added an Event allowing additional tileentitybehaviour objects to be attached to STEs from outside
2021-08-25 17:21:12 +02:00
simibubi
925c98792f (Sp)out of order
- Added behavioural registry for Spout/Block interaction
- Fixed and Refactored TiCon Casting via Spout
- Fixed fluid pipes getting stuck trying to waterlog non-solid blocks with fluid handling capabilities
- Fixed modlist lookup for non-english locales
2021-08-25 13:46:53 +02:00
grimmauld
f0736bdc41 Simplify the event to not include a te aware inventory 2021-08-24 17:15:43 +02:00
grimmauld
df0b9c3a17 getter for deployer fake player 2021-08-24 15:04:26 +02:00
grimmauld
ce32284d39 DeployerRecipeSearchEvent
- added an event to add custom deploying recipes for addons(that partly need more data and therefore can't use the existing deploying recipe json format)
- made deploying recipe scanning cancelable by event
- added a safety check to tile entity behaviours to prevent concurrent modification exceptions when loading old worlds (0.2 time, dev 0.3)
2021-08-24 11:17:47 +02:00
Jozufozu
6de4b92ad0 Interfaces and less log lines
- MateralManager, MaterialGroup, and InstanceMaterial are all interfaces
 - Separate (T)EI facing API from implementation
 - Comment out debug log in ModelPool
2021-08-23 22:34:29 -07:00
Talrey
b1bcb55838 okay now it works for real 2021-08-19 23:39:32 -07:00
Talrey
afca03de0b deployers work on the move now 2021-08-19 21:13:07 -07:00
Talrey
501e0fcf19 Deployer interactor partially implemented, can't swap items yet but can be wrenched 2021-08-16 00:44:34 -07:00
kotakotik22
30cef7025e Contraption movement setting API
- Renamed SpawnerMovementSetting to ContraptionMovementSetting and moved it to its own class
- Added a contraption movement setting registry
- Made checks previously checking only spawner movement setting and the block being a spawner to check using ContraptionMovementSetting.get(block)
2021-08-16 07:57:10 +03:00
QubicQuantum
80100ff504 fixed some stuff
a
2021-08-15 21:14:26 -07:00
QubicQuantum
7ddf11004b custom namespace support of CustomRenderedItemModels 2021-08-15 20:54:00 -07:00
Talrey
6c3337ae75 interaction behaviour doesn't invalidate _every_ renderer now 2021-08-15 16:00:04 -07:00
Mark Talrey
c6db66876a
Merge branch 'Creators-of-Create:mc1.16/dev' into mc1.16/interaction 2021-08-15 15:49:36 -07:00
Jozufozu
f1701ae784 Method to invalidate contraption renderers
- Call ContraptionRenderDispatcher#invalidate, at some point during a tick, and the structure will be reset.
 - Move contraption compartment to SBBContraptionManager
 - Contraption compartment uses custom pair with better hash function instead of apache commons pair
2021-08-15 15:10:58 -07:00
Jozufozu
5cb2eef157 Method to invalidate contraption renderers
- Call ContraptionRenderDispatcher#invalidate, at some point during a tick, and the structure will be reset.
 - Move contraption compartment to SBBContraptionManager
 - Contraption compartment uses custom pair with better hash function instead of apache commons pair
2021-08-15 15:10:35 -07:00
Jozufozu
322902d056 Some decoupling
- New Loader class in charge of loading and compiling everything
 - ShaderSources now only loads sources
 - ShaderSources is immutable now
 - Resolver singleton in charge of managing name resolutions
 - ProgramSpecs go through Resolver
 - WorldShaderPipeline no longer needs reference to ShaderSources
2021-08-10 15:20:52 -07:00
Jozufozu
208c6eff89 A heck of a lot
- Reorganize everything
 - Isolate SourceFile related things
 - Should consider decoupling ShaderLoader from resource loading
 - Document a lot of newer things
 - Index functions
 - Awkward WorldContext builder
 - Template responsible for providing shader inputs
 - Template is now an abstract class
 - Template provides GLSL version
 - ProgramSpecs now only accept one file
2021-08-10 02:06:23 -07:00
Jozufozu
cb47ca8452 Reload
- Redo shader loading
 - Now loads an immutable SourceFile containing some metadata
 - Replace legacy compilation pipeline with improved new one using new api
 - Builtins are defined in one file, now "header"
 - New ErrorReporter/ErrorBuilder methods
 - Fancier shader loading errors
2021-08-08 22:35:27 -07:00
Talrey
1539f30a3d First stab at interactors on contraptions 2021-08-08 22:21:48 -07:00
simibubi
5555f9e6bb Those don't mix
- Fixed 3x3 compacting recipes marked as Shapeless able to be processed by a mixer
2021-08-08 19:37:04 +02:00
simibubi
62f65e832a Give Widget 2021-08-08 16:26:44 +02:00
simibubi
45de01ff9e Attack of the remap, Part III
- Fixed Chute Particles not moving
2021-08-08 14:41:41 +02:00
PepperBell
019a61c444 Expose ponder instruction addition 2021-08-07 21:10:38 -07:00
PepperBell
67a7726f1c Ponder registration refactor
- Remove utility methods from PonderRegistry and only leave the one
essential method
- Move utility registration methods to PonderRegistrationHelper
- Move entry builder methods to entry class, PonderStoryBoardEntry
- Move listed tags list to tag registry
- Make ponder chapters namespaced
- Add localization and language datagen support for ponder chapters
2021-08-07 20:18:45 -07:00
simibubi
8edb9121cc Outstanding Performance
- Fixed Chutes pulling from inventories causing major framerate drops
- Fixed Chutes sending update packets when idling
- Added a max range for filter slot rendering of blocks
- Synced TEs are no longer able to cause side-effects by calling sendData on the Render Thread
2021-08-07 16:24:57 +02:00
zelophed
cc575a70c8 flash mich nochmal
- fix ponder buttons not flashing correctly
2021-08-07 02:46:16 +02:00
zelophed
370c813287 lost in the depths
- add a search box to config screens
- add a new screen that gives easier access to other mod's configs
- add a couple more config annotations
2021-08-07 02:09:12 +02:00
zelophed
ca02ac038f Merge remote-tracking branch 'origin/mc1.16/dev' into mc1.16/dev
# Conflicts:
#	src/main/java/com/simibubi/create/foundation/ponder/SceneBuilder.java
2021-08-07 01:23:43 +02:00
Jozufozu
085ab2d7bc Merge remote-tracking branch 'origin/mc1.16/dev' into mc1.16/dev 2021-08-06 12:14:13 -07:00
Jozufozu
0349d57929 Fix CI
- Javadoc doesn't like angle brackets
 - Add jar to artifacts
2021-08-06 12:13:51 -07:00
PepperBell
b19d92f6c2 Remove legacy TER light code
- TERs now pass in the light, so no need to recalculate it
- Make ContraptionRenderInfo.matrices final
2021-08-05 22:35:24 -07:00
PepperBell
333ef9ecbb Reuse contraption matrices
- Optimize memory usage by reusing ContraptionMatrices instances
2021-08-05 17:48:35 -07:00
MRH0
6173f9600c Integration support for Furnace Engine speed modifiers
+ FurnaceEngineModifiers which hold a Block -> float map of modifiers
~ Changed FurnaceEngineTileEntity to use the FurnaceEngineModifiers map instead of hardcoded modifier fro the Blast Furnace.
This will allow addon modders to change the speed modifier of a Furnace block.
2021-08-06 01:27:14 +02:00
Jozufozu
26fbe97ae6 Fix contraption shadow rendering with optifine
- More conventional naming for fields of ContraptionMatrices
 - Encapsulate fields in ContraptionMatrices
 - Move creation to RenderLayerEvent
 - De-clutter RenderedContraption#beginFrame
 - Bump flywheel version
2021-08-05 15:09:00 -07:00
Jozufozu
3e6e8c406b Bump Flywheel version
- Small tweak to contraption layer creation
2021-08-05 15:09:00 -07:00
PepperBell
b81fc66145 Sandpaper tag improvements
- Use already created sandpaper tag
- Use previous recipe's namespace instead of Create's when converting
sandpaper recipes to deployer recipes
2021-08-05 10:23:59 -07:00
simibubi
9f558cf419 Not a magic mod
- Fixed Auto-Compacting picking up special gated recipes from the mod Occultism #2070
2021-08-05 19:11:13 +02:00
simibubi
a6f893da7e
Merge pull request #2080 from mrh0/mc1.16/dev
Added tag for improved integration in DeployerApplicationRecipe
2021-08-05 17:58:42 +02:00
simibubi
8dd2f1dbf6 Schematic Problematic
- Fixed ammo-specific fire damage not dropping cooked drops from killed entities
- Fixed Schematicannons not visually aiming toward current block trajectory
- Fixed placed Schematics using smaller boundaries than the original
- Added the option to enable/disable placing air blocks with instant creative schematic printing
- Added safety check for Missing/Migrated filter attributes #2065
- Added safety check for Crushing wheels near unloaded blocks
- Added safety check for instant printing an invalid Schematic
2021-08-05 17:05:13 +02:00
MRH0
e8a6500434 Added tag for improved integration in DeployerApplicationRecipe
+ Added create:sandpaper to AllRecipeTypes and datagen.
~ Changed hardcoded list of sandpaper items to Tag.
This would enable me to include the Diamond Grit Sandpaper from CC&A in the deployer recipe. Node: There might be more applications for this tag.
2021-08-04 02:20:40 +02:00
Jozufozu
468435e1a0 Fix nullpointer when contraptions stop 2021-08-02 00:22:50 -07:00
PepperBell
c674b5df8d Fix linked controller rendering
- Fix unequip animation
- Fix button progress not resetting on unequip
- Optimize code
2021-07-31 19:10:17 -07:00
PepperBell
99be93e8a6 Synchronization
- Make PonderRegistry use a ThreadLocal current namespace
- Add synchronized blocks to some methods that modify maps or lists
- Move some non-thread safe method calls to the event.enqueueWork
lambdas
2021-07-31 17:28:41 -07:00
zelophed
e26d7d61f2 Merge remote-tracking branch 'origin/mc1.16/dev' into mc1.16/dev 2021-07-31 14:25:09 +02:00
zelophed
0fe3230640 color me surprised
- move functionality of ColorHelper into a new Color class
- replace usage of java.awt.Color with our own color in most cases
2021-07-31 14:21:19 +02:00
simibubi
296b302160 Attack of the remap, Part II
- Fixed Crafting Blueprints not able to be placed
2021-07-31 14:13:29 +02:00
simibubi
05d581c779 Blinding transparency
- Fixed goggle overlay fading into a solid colour when its custom alpha is 0
- Fixed crash rendering saws, addresses #2064
2021-07-31 12:24:28 +02:00
simibubi
2535ecb917 Attack of the remap
- Fixed two ObfucationHelper lookups
2021-07-30 21:51:05 +02:00
PepperBell
0d7f486107 Update fluids
- Update Registrate from 1.0.4 to 1.0.9
- Remove unnecessary manual bucket creation in fluid builders
- Set more realistic fluid viscosities; Fix #2010
2021-07-29 18:49:04 -07:00
Jozufozu
e1248e598a Model changes
- Buffered models directly consume IModels
 - Document IModel more
 - Move contraption world render spoofing to flywheel
 - Miscellaneous new RenderMaths
 - Added WorldModel, renders many blocks given a world instance
 - Fix broken transparency on contraptions when using Flywheel
2021-07-29 01:37:48 -07:00
Jozufozu
7c202ed491 DRY contraption rendering
- Different subclasses for flywheel rendering and sbb rendering
 - Select which to use on renderer reload, gather context, and when create buffers are invalidated
2021-07-28 19:25:25 -07:00
Jozufozu
cd9f18a8c9 WorldAttached contraption rendering
- ContraptionRenderDispatcher's meat was moved to WorldContraptions
 - Rename ContraptionWorldHolder to ContraptionRenderInfo
 - One ContraptionMatrices per contraption per frame
 - Cull contraptions
 - Bump flywheel version
2021-07-28 18:21:07 -07:00
Jozufozu
ce2e2be2c2 Less world holders when using Flywheel 2021-07-28 15:27:11 -07:00
Jozufozu
17421df5ce Contraptions have l a y e r s
- SBB contraption rendering is done through Flywheel's RenderLayerEvent
 - Fix instanced tile rendering on contraptions and in ponder worlds
 - Bump flywheel version
 - Some package-info.javas
2021-07-28 14:25:50 -07:00
PepperBell
b31f5f5d78 Default fallback
- Make stress value getters fallback to default value map if provider is
absent
- Rename StressConfigDefaults to BlockStressDefaults and move to block
package
- Rename StressConfigValues to BlockStressValues and move to block
package
2021-07-27 16:13:50 -07:00
PepperBell
0dea880665 Stress config value refactor
- Add StressConfigValues to allow registering stress value providers and
getting values by namespace
- Use correct namespace inside StressConfigDefaults builder transformers
- Expose StressConfigDefaults maps
- Add methods to manually register default stress values
- Only add stress configs for defaults that have the create namespace
- Clean up ItemDescription#getKineticStats
2021-07-27 13:25:16 -07:00
simibubi
85be4be395 OK Goggle
- Press/Spout placement offset no longer activates when clicking the side of a block
- Press/Spout placement offset no longer activates on invalid belt slopes
- Block-items without innate fluid handling no longer require sneaking to be placed next to item drains
- The Goggle overlay can now be activated by external add-ons
- The Goggle overlay default colour now has less opacity
- The Goggle overlay now fades in over a couple ticks
2021-07-27 15:25:25 +02:00
simibubi
eea9778840 Post-PR datagen 2021-07-27 13:43:58 +02:00
simibubi
e01a53b10e
Merge pull request #2037 from TheRamenChef/patch-2
Add milling recipes for beetroots and sea pickles
2021-07-27 13:30:43 +02:00
Jozufozu
cb8e6d92d5 Contraptions use flywheel for vanilla tiles
- Update more usage of glActiveTexture to the enum wrapper
 - Fix superglue rendering in the solid layer
 - Fix issue caused by states with different textures on contraptions
 - Bump flywheel version
2021-07-26 16:27:18 -07:00
PepperBell
1d6da03799 Copper armor fixes
- Add backtank layer to all player models
- Only add backtank layer if entity renderer returns BipedModel
- Make copper armor considered to be worn only when in the correct armor
slot
2021-07-25 14:08:46 -07:00
TheRamenChef
fc0e7a0a66
Add milling recipes for beetroots and sea pickles 2021-07-25 11:58:41 -05:00
zelophed
74d57f38fe Merge remote-tracking branch 'origin/mc1.16/dev' into mc1.16/dev 2021-07-25 04:13:08 +02:00
zelophed
e944906519 overlayn't
- add config options that allow some more customization of the overlay renderer (addresses #2020)
- overlay position has been reset to its default position, because the config path changed

- allow integer config values to be entered and displayed as hex or binary (inside the config gui only)
- how integer values are displayed can be changed with a special comment
- minor changes to theme, that allow keys to refer to one another
2021-07-25 04:12:56 +02:00
reidbhuntley
87d630ca0a Little ones
- Fixed crash when simultaneously converting and destroying a Peculiar Bell (#2008)
- Fixed Stockpile Switch not updating its signal when the inventory it's watching is moved (#1980)
- Fixed Potato Cannon projectiles being able to move players in creative mode (#1950)
- Fixed Lectern Controller not rendering buttons when being used by a different player
2021-07-24 17:08:50 -04:00
simibubi
b6b6b32e96 SuperBustedBuffer
- Removed obsolete milk filling/draining code and recipes
- Fixed lack of transforms on cpu rendered stuff
- Move fluid remapper to RemapHelper
2021-07-24 22:32:27 +02:00
simibubi
65f1748e04
Merge branch 'mc1.16/dev' into fix-milk 2021-07-24 20:57:05 +02:00
simibubi
3e92574130 Mixing 24/7
- Fixed mixer and press not checking for recipes once more after completing
- Creative Cake -> Creative Blaze Cake
- Post-PR data
2021-07-24 20:41:23 +02:00
simibubi
77aa620fb9
Merge pull request #2026 from garyyo/mc1.16/dev
- Fixed incorrect damage displayed in the tooltip of potato cannons
2021-07-24 20:06:45 +02:00
Jozufozu
5308671882 MaterialManager and MaterialGroup refactor
- Material manager builder
 - No more overload render method/IProgramCallback
 - MaterialRenderers accept a Program consumer instead
2021-07-23 23:45:31 -07:00
Jozufozu
976017d084 Merge branch 'mc1.16/dev' into mc1.16/flw/vanilla-opt 2021-07-23 12:35:56 -07:00
Jozufozu
f06983c339 Basic model abstraction
- Stop providing a buffered model supplier
 - Instead, provide an IModel supplier
 - IModel exposes basic properties of models
 - IModel exposes a method to copy the model to a VecBuffer
2021-07-23 12:26:33 -07:00
PepperBell
c4236ad884 Forgotten call 2021-07-23 10:53:09 -07:00
PepperBell
8f6dcb8ba6 Fix resource leak
- Fix ponder resources not being closed properly
2021-07-22 16:13:03 -07:00
PepperBell
37261ee8e6 Update Forge
- Bump minimum required Forge version to 36.2.0
- Re-add chorus teleport event compatibility
- Update Flywheel, JEI, and Shade plugin
2021-07-22 14:16:00 -07:00
Jozufozu
b188f97ae0 Merge branch 'mc1.16/dev' into mc1.16/flw/vanilla-opt 2021-07-22 14:10:20 -07:00
Jozufozu
89c34262d0 Flaps no longer use old origin pos behavior 2021-07-22 14:06:48 -07:00
PepperBell
c3f87ec347 Recipe interface
- Add IRecipeTypeInfo to replace AllRecipeTypes method calls in most
cases to allow for better addon support
- Tweak some visibility modifiers
2021-07-22 13:40:40 -07:00
garyantonyo
2ded6bd2fa Remove flooring of damage as it no longer is useful with the new damage calculation 2021-07-22 11:20:49 -04:00
garyantonyo
35778640ba Flooring is always done on damage calculation, so add it to the description tooltip too? 2021-07-22 11:16:44 -04:00
garyantonyo
64e822626e update PotatoCannonItem damage description to reflect changes to PotatoProjectileEntity 2021-07-22 11:12:21 -04:00
Jozufozu
a52b6d766f MaterialGroups and massive refactors
- Move material stuff to its own package
 - The various render functions in the material tree now bind to specific render layers
 - Instancers can choose which layer to use
 - The layers are SOLID, CUTOUT, and TRANSPARENT
 - More layers are likely unnecessary, but we'll see
 - Deprecate functions in MaterialManager in favor of more builderesque ones using MaterialGroups
 - Catching up with Flywheel
 - Remove MatrixStacker in favor of Flywheel's TransformStack (thread safety too)
2021-07-21 20:30:35 -07:00
PepperBell
2cea2e1c0f OpenEndedPipe effect API
- Allow registering custom effect handlers for open ended pipes
- Add some getter methods to OpenEndedPipe
2021-07-21 14:48:39 -07:00
PepperBell
0c3696dd21 Extra alternative
- Rename AnimatedKinetics#defaultBlockElement to
AnimatedKinetics#blockElement
- Add static alternative to AnimatedKinetics#blockElement meant to be
used outside of subclasses
2021-07-21 12:49:55 -07:00
Themba Dube
f1815e1d2d Fix capitalization in English subtitles 2021-07-20 19:44:20 -04:00
PepperBell
d5e659dad2 Merge remote-tracking branch 'upstream/mc1.16/creative-cake' into
mc1.16/dev

Conflicts:
	src/generated/resources/.cache/cache
	src/generated/resources/assets/create/lang/unfinished/ja_jp.json
	src/generated/resources/assets/create/lang/unfinished/ru_ru.json
2021-07-18 19:47:39 -07:00
simibubi
1e7078fe56 One-liner marathon
- Version bump
- Implement #1969
- Guard emptying JEI integration from empty item outputs, addresses #1994
- Goggles icon no longer renders when menu button is set invisible, addresses #1979
- Fixed missing blaze burner in JEI's display of heated compacting recipes, addresses #1970
2021-07-18 17:37:14 +02:00
PepperBell
9923f04ff5 Allow building sequenced assembly recipe directly
- Resolves #1991
2021-07-17 20:53:39 -07:00
PepperBell
f4eaf6fff4 Tweak creative particle colors to match palette 2021-07-17 18:01:54 -07:00
PepperBell
01366e30bb Merge remote-tracking branch 'upstream/mc1.16/dev' into
mc1.16/creative-cake

Conflicts:
	src/generated/resources/.cache/cache
	src/generated/resources/assets/create/lang/unfinished/zh_tw.json
2021-07-17 17:52:39 -07:00
PepperBell
4bdd802170 Organize imports 2021-07-17 00:46:35 -07:00
PepperBell
ca94873148 Ponder namespace refactor
- Add full support for custom namespaces in ponder
- Make ponder files use Minecraft's resource system
- Allow easily registering and generating ponder lang for any namespace
2021-07-17 00:39:05 -07:00
PepperBell
1dd7c4bc1e Minor cleanup changes
- Change AllRecipeTypes to have less repetition and force getter usage
2021-07-16 15:11:28 -07:00
PepperBell
7ec02fd040 Merge remote-tracking branch 'upstream/mc1.16/dev' into
mc1.16/creative-cake

Conflicts:
	src/main/java/com/simibubi/create/AllBlocks.java
	src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerBlock.java
	src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerHandler.java
	src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerTileEntity.java
	src/main/java/com/simibubi/create/content/logistics/block/mechanicalArm/ArmInteractionPoint.java
2021-07-15 13:21:47 -07:00
grimmauld
d53e89887a fix obfuscation reflection helper calls 2021-07-15 11:45:45 +02:00
grimmauld
9e4198fa79 fix mixins 2021-07-15 11:39:37 +02:00
grimmauld
a048285699 Bulk remap, compiles 2021-07-15 11:32:03 +02:00
PepperBell
0088a5c404 Merge remote-tracking branch 'upstream/mc1.16/dev' into mc1.16/creative-cake 2021-07-14 16:07:48 -07:00
PepperBell
8f4be44a6d Fix blaze cake burn time
- 240 ticks/1.2 items -> 6400 ticks/32 items
2021-07-14 16:00:29 -07:00
PepperBell
777d47ca8b Fix depot rendering and potato cannon model
- Upright items were reflected when rendered on depots
- Potato cannon model had itself as parent and faces with invalid
texture
2021-07-14 15:12:59 -07:00
PepperBell
a17dd26aab Add creative cake
- Item texture and particle colors are not final
2021-07-14 13:29:02 -07:00
reidbhuntley
f3a521121d Advanced Arm Applications
- Mechanical Arms remember their targets when placed by Schematicannon (for real this time)
- Mechanical Arms will now rotate/mirror their targets when rotated/mirrored in a schematic or contraption
2021-07-12 22:03:22 -04:00
simibubi
2300e0e58a Bug Fixes
- Copper backtanks can no longer accumulate air pressure when waterlogged
- Copper backtanks now emit a comparator output
- Removed id prefix requirement for ponder and seq. assembly tooltips #1931
- Improved the odds to succeed of existing sequenced assembly recipes
- "junk" -> "salvage"
2021-07-12 20:02:47 +02:00
reidbhuntley
cb41ac679d Use custom FakePlayer for converting Zombie Villagers 2021-07-12 00:43:23 -04:00
reidbhuntley
b70608b030 Yet further finely-tuned
- Fixed blocks not updating their neighbors when being assembled into a contraption
- Fixed Stockpile Switch not updating its redstone output when its signal is inverted
- Reduced lag caused by many active nearby soul particles
- The Wither's shield is now immune to potato projectiles
- Fixed potato projectile potion effect weirdness
- Golden Apple potato projectiles can now cure Zombie Villagers
- Potato Recovery will no longer drop Golden Apples that successfully hit an entity
2021-07-11 21:25:41 -04:00
zelophed
4306d076db slow and steady
- add create's panorama as a background for config ui when opened from the main menu
- fix panoramas moving at a inconsistent speed

- add a optional speed limit to physical floats
2021-07-11 21:09:23 +02:00
PepperBell
e3386c178a Minor SBB clean up
- Allow custom light from dual (utility) light method to be applied
- Reorganize and rename some members
2021-07-10 22:39:42 -07:00
reidbhuntley
3ab3bffac3 Bump StressConfigDefaults version number
- Should fix Mechanical Arm stress usage staying at the old value in worlds created in previous Create versions
2021-07-10 23:30:27 -04:00
reidbhuntley
da9c306ed5 Lectern Controller edge cases
- When a Lectern Controller that a player is using is broken, they are no longer prevented from using any other Lectern Controllers
- Fixed weirdness when activating a Lectern Controller while holding another Linked Controller
2021-07-10 21:52:26 -04:00
simibubi
4a57b916ff Top ten hotswap engineering oversights
- Fixed reversed frequency display of Redstone Links
2021-07-11 01:28:28 +02:00
simibubi
2821fd7135 Lamptank
- Fixed custom rendered models rendering full bright when supposed to render full dark
2021-07-11 01:14:38 +02:00
reidbhuntley
f726477c8a make unenchanted potato cannons actually do damage (oops) 2021-07-10 18:26:21 -04:00
Jozufozu
f1da8b8f1e Cull code to fix crash on mac
- A bunch of dead code removal
2021-07-10 15:20:34 -07:00
grimmauld
282a9a6f3a Fix valve handles not having a tooltip 2021-07-10 18:46:44 +02:00
grimmauld
f9a40e2f06 Merge remote-tracking branch 'origin/mc1.16/dev' into mc1.16/dev 2021-07-10 10:55:01 +02:00
grimmauld
976d53c9e4 Adjustable repeater, Pulse repeater, Powered latch and toggle latch can now power comparators from the side, like vanilla repeaters already can 2021-07-10 10:54:54 +02:00
reidbhuntley
bc456a76cd Tuber Tube Tidy-up
- Set recovery chance for unenchanted Potato Cannons to 0
- Power enchantment on Potato Cannons now scales the damage of the projectile type instead of adding to it
- Changed Potato Cannon crafting recipe to better fit the new model
2021-07-09 23:11:16 -04:00
simibubi
802f8337fb Tweak projectile spawn location 2021-07-10 04:10:47 +02:00
grimmauld
1f4b8d3303 Merge https://github.com/kotakotik22/Create into mc1.16/dev 2021-07-09 23:52:58 +02:00
LordGrimmauld
95ad754654
Merge pull request #1908 from Carbon5/mc1.16/dev
Superglue follows mobGriefing gamerule
2021-07-09 23:45:47 +02:00
simibubi
30ba34dbb0 Behind the flaps
- Brass tunnels now show a goggle tooltip of contained items within their group
- Right-clicking brass tunnels now retrieves all contained items from their group
2021-07-09 23:43:11 +02:00
grimmauld
e56da570e8 Limit the light 2021-07-09 23:38:28 +02:00
Jozufozu
2eb9c7b6eb PartialModel gets called from the right place 2021-07-09 13:39:56 -07:00
simibubi
352f213429 Buffing the Buffers
- Fixed large amounts of output in crushing wheels getting voided due to its buffer capacity
- Fixed basin processing running constant recipe lookups while backed up #1911
- Fixed mixer retracting after every operation when auto-output is active
2021-07-09 19:27:50 +02:00