Commit Graph

263 Commits

Author SHA1 Message Date
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
2efbcdbd6b No more material spec, everything is StructType 2021-12-09 16:42:13 -08:00
Jozufozu
ef5afd42c3 Move api package 2021-12-09 15:32:55 -08: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
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
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
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
PepperBell
68bf1f399a Fix toolbox regression
- Fix toolbox menu closing regression
2021-11-28 18:50:27 -08: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
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
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
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
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
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
simibubi
70803db5c6 Thanks, Mojang
- Removed the Copper Ingot
- Removed Copper Ore
- Block of Copper -> Copper Plating
2021-11-10 03:30:55 +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
PepperBell
e0b496f807 Chipped away 2021-11-06 20:59:58 -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
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
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
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
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
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
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
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
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
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
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
b0aba2d24a Merge branch 'mc1.16/dev' into flw/next 2021-09-02 20:23:04 -07: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
Jozufozu
68a4478b38 Merge branch 'mc1.16/dev' into flw/next 2021-08-28 15:44:45 -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
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