Commit graph

458 commits

Author SHA1 Message Date
simibubi
77835c3a65 Helper swap
- Replaced temporary AllItems#typeOf with ItemEntry's non-static isIn
2020-06-03 22:17:11 +02:00
simibubi
36ab939126 "Batched" rendering, huh
- Schematic previews can now render TEs
- Schematic renderer no longer relies on negative scale and noCull for mirrored previews (fixes a few inconsistencies)
- Avoided blending issues with the outliner system when using multiple textures throughout a batch
- Introduced SuperRenderTypeBuffer as an attempt to give options for render order in the RWLE context (does not fix the early flushing in the fallback buffer)
2020-06-03 22:04:05 +02:00
tterrag
c486854b7f Convert AllTileEntities to Registrate, refactor TE constructors
Update Registrate to build 17
2020-06-01 00:33:08 -04:00
tterrag
ea88e8fcf5 Convert AllEntityTypes to Registrate 2020-05-31 18:12:57 -04:00
simibubi
33b5338828 More porty todos
- Added back the silk touch requirement to suitable loot tables
- Added generated recipes and tags for glass and window blocks
- Fixed blockzappers selecting new blocks upon firing
- Removed duplicate recipes and lang entries
- Fixed some outdated translation keys in ui screens
2020-05-31 23:37:31 +02:00
simibubi
daee93dc48 Stone variant recipes
- Setup automated recipes for stone palette blocks and their stairs/slabs/etc
- Fixed datagen putting air blocks as drops for attached logistical blocks
- Fixed recipes and lang entries using outdated registry names
- Fixed kinetic blocks appearing twice in the main creative tab
2020-05-31 19:17:00 +02:00
simibubi
9973a853cc Fix build issues outside IDE (again) 2020-05-29 00:19:47 +02:00
simibubi
c53f9c2079 Contraption actors and blockzapper screen
- Fixed harvesters and drill animating incorrectly on contraptions
- Ported blockzapper and worldshaper screen
2020-05-28 13:37:15 +02:00
simibubi
467af2ea20 Renamed AllItemsNew to AllItems 2020-05-28 01:30:14 +02:00
simibubi
3d68bec18a Item registrates, and more porty
- All Items are now using registrate
- Blockzapper now renders an outline around its affected area
- Ported rainbow debug ™️
- Reworked the custom item model/renderer system
- Schematics now preview their structure again
- SuperByteBuffers now support being rendered into non-BufferBuilders
2020-05-28 01:29:26 +02:00
simibubi
8d8f96c778 Fixed outliners' culling issue 2020-05-27 13:12:57 +02:00
simibubi
68b656c6be More porty
- Ported blockzapper beams
- Terrainzapper now uses outliner utility
2020-05-26 20:45:56 +02:00
simibubi
57edbe0c38 Schematics in 1.15
- Ported Schematic placement tools to a usable state (missing preview and noCull)
2020-05-26 14:40:15 +02:00
simibubi
f9fc00855a Reversed Simi's reverse-rendering
- Fixed all TERs that had their transformations backwards
- Fixed contraptions not rendering tileentities when not near world origin
- Fixed Schematic table crashing on upload
- Made more kinetic blocks non-opaque
2020-05-25 23:09:36 +02:00
simibubi
4e8a72be8b Moving contraptions in 1.15
- Ported the contraption renderer
- Fixed sticky blockstates of the linear chassis
- SuperByteBuffers can now be given a separate matrixStack for vertex lighting
- Kinetic TERs now make use of the passed light parameter
2020-05-25 19:58:13 +02:00
simibubi
85a30afc2b Fix build issues outside IDE 2020-05-25 13:34:25 +02:00
simibubi
67f88e666c Crafter connectivity
- Ported input connection handler of mechanical crafters
- Added new TE behaviour for interacting with faces/edges between two blocks
2020-05-24 15:58:25 +02:00
simibubi
4e9cd1db49 ColorRegistrate, Part II
- Added functional interface for block vertex coloring
- Removed several unused type-check-based behaviours
- Belt now registers its color handler in the builder
- Natural scoria now registers its color handler in the builder
- Fixed wrong offset in colored vertex models
2020-05-24 12:31:05 +02:00
simibubi
e9c26eed0a ColorRegistrate
- Added support for Block & ItemColors in CreateRegistrate
- Updated forge and removed obsolete warning suppressions
- Fixed mossy & overgrown block items not having their foliage layer coloured
2020-05-24 03:12:18 +02:00
simibubi
61aab48cdb Merging langs
- Set up a data generator to combine the generated lang from registrate with manual langs from assets/
2020-05-23 21:03:35 +02:00
simibubi
78ad674c22 Re-organized packages and utilities 2020-05-23 14:02:38 +02:00
simibubi
029b7e2123 Merge branch 'master' into mc1.15/dev 2020-05-23 12:15:55 +02:00
simibubi
34ce4c9a3e
Merge pull request #330 from Snownee/fix
Bug fixes and deployer feeding
2020-05-23 12:12:36 +02:00
simibubi
88337a3e0c Renamed AllBlocksNew to AllBlocks 2020-05-22 20:12:53 +02:00
simibubi
fda3c4760c Removed old block reference holder 2020-05-22 20:08:02 +02:00
simibubi
785c79786d Get registrated, Part II
- Set up datagen and registrate chains for all remaining blocks
2020-05-22 20:02:07 +02:00
simibubi
8ab9118de2 Get registrated
- Set up datagen and registrate chains for all remaining blocks from the contraptions section
2020-05-21 00:15:02 +02:00
simibubi
b773ba697f Generating water wheels and fans
- Kinetic TER now renders animated partials in the correct layer
- Ported Water wheel and Encased Fan to registrate
2020-05-19 16:41:54 +02:00
simibubi
aebbec5ffc Generating belts
- Added builder transform for registering stress config values for kinetic blocks
- Created a blockstate generator for belt blocks
- Added belts to registrate
2020-05-19 15:25:21 +02:00
Snownee
3890698a4b Fix GUI rendering order 2020-05-19 13:29:11 +08:00
BigDaleAHA
b08d147311
Minor Chinese Lang File Fix (#331)
* Minor Chinese Lang File Fix

According to the feedback received from fellow Chinese players, I made some minor fixes and improvements.

* Update zh_cn.json

Co-authored-by: Snownee <1850986885@qq.com>
2020-05-19 11:59:30 +08:00
simibubi
ff1f7bd207 Spiffy creative motor
- Motors can now face any direction
- Reworked motor model
- Ported motor to registrate
2020-05-19 01:07:45 +02:00
simibubi
c698aec5d4 Generating complex blockstates
- Added utility for outsourcing blockstate generators into dedicated classes
- Ported Encased belt and Adjustable Pulley
- Updated Forge
2020-05-18 22:01:09 +02:00
Snownee
f08a574653 Add deployer feeding 2020-05-19 02:06:22 +08:00
Snownee
282445d2ac Fix deployer can eat, part 2 2020-05-19 01:43:59 +08:00
Snownee
485e6c529d Implement IHaveColorHandler on WindowInABlockBlock
https://discordapp.com/channels/620934202875183104/689866656914210897/700713829407129620
2020-05-18 23:57:49 +08:00
Snownee
1378418593 Fix deployer can eat 2020-05-18 22:35:42 +08:00
Snownee
4a7ad75cd0 Fix sand paper is sometimes stackable 2020-05-18 22:29:25 +08:00
Snownee
21cdea67f6 Fix AirCurrent damage handling 2020-05-18 22:13:36 +08:00
simibubi
9c96ee8bb8 Removed Symmetry Particles from block registry
- Fixed fluid rendering in fan recipe JEI
- Made symmetry mirror models partials instead of blockstates
- Ported symmetry wand GUI Screen
2020-05-18 15:51:24 +02:00
simibubi
78cee0bd5e Merge branch 'master' into mc1.15/dev 2020-05-18 13:06:58 +02:00
simibubi
6df522e902 Merge branch 'master' of https://github.com/simibubi/Create 2020-05-18 13:01:28 +02:00
simibubi
4d3f8f993b Another chinese lang update
- Added new zh_cn localization by Big_Dale
2020-05-18 13:01:24 +02:00
Snownee
e3d3a5de3d Fix deployer cannot place potato on campfire
https://discordapp.com/channels/620934202875183104/689866656914210897/697585687397925007
2020-05-18 18:34:02 +08:00
Snownee
830c1c6d3d Fix contraption duplication (#325) 2020-05-18 11:20:04 +08:00
Snownee
616f8f746e Remove unused import 2020-05-17 17:58:01 +08:00
Snownee
3544b981ee - Fix extractor couldn't drop items when it attaches to a moving blcoks (#317) 2020-05-17 17:56:32 +08:00
simibubi
fb72a686e7 Ported in-world interfaces
- Outlines now support shading/normals
- Refactored Value boxes to use the outliner system
- Ported scrolloption, filter and frequency slot rendering
2020-05-16 17:51:29 +02:00
Snownee
f662a1c805 - Fix schematicannon can place water in nether
- Fix schematicannon item duplicating and wrong item requirement
2020-05-16 23:47:49 +08:00
simibubi
170f154b74 Merge branch 'master' into mc1.15/dev 2020-05-16 09:58:14 +02:00
simibubi
8212d39d95 Ported superglue entityrenderer 2020-05-16 09:57:06 +02:00
simibubi
d5ec1d6fef Ported Schematic and Quill handler
- Updated outlines rendered by the schematic and quill
- Removed some now auto-generated leftovers from the asset folder
- Fixed Schematic Table screen not rendering the table properly
2020-05-16 00:13:49 +02:00
Snownee
6ed79de6c7 Fix potential item duplicating (Block like bell) 2020-05-16 01:55:52 +08:00
Snownee
1578a2ac68 Improve glue behavior. Glue can no longer place on torch or so on 2020-05-16 01:49:32 +08:00
Snownee
2a9795f411 Fix contraption blocks do not drop while replacing by bedrock 2020-05-16 01:44:58 +08:00
simibubi
071482bb26 Ported Outline utility to 1.15
- Outliner can now be used in 1.15
- Ported Chassis range display to use new Outlines
2020-05-15 17:13:38 +02:00
tterrag
afd6ec17e0 Fix material blocks model generation, clean up unnecessary loot tables 2020-05-14 23:17:31 -04:00
tterrag
7f07a4af6e Remove PalettesRegistrate, can't have multiple datagens for same output 2020-05-14 22:32:36 -04:00
tterrag
02d052ed44 Port material blocks to Registrate 2020-05-14 22:07:19 -04:00
simibubi
c501de8c21 Merge branch 'master' into mc1.15/dev 2020-05-15 02:06:28 +02:00
simibubi
78b3d2c47e Goodbye, tools
- Removed shadow steel, rose quartz and blazing toolsets
- Removed some other unused assets
- Fixed limesand not registering an item
2020-05-15 02:05:01 +02:00
simibubi
12e0e55b0f Generating Stairs, Slabs and Walls
- All palette variants now have auto-generated stairs, slabs and walls for certain patterns
- Layered variant types have connected textures again
- Centralized all SpriteShifts
2020-05-15 01:23:27 +02:00
simibubi
a070792248 Generating Glass and Window Panes
- Re-implemented framed, tiled glass panes and window panes in the palettes registrate
2020-05-14 19:06:40 +02:00
Snownee
a4e7db5788
Merge pull request #313 from Snownee/fix-contraptions
Fix bell duplicating
2020-05-14 23:26:23 +08:00
Snownee
463bf0b641 Fix super glue behavior. Fix super glue can stay between two unmovable blocks 2020-05-14 23:00:43 +08:00
Snownee
8d4e6895bc Fix bell duplicating 2020-05-14 21:42:52 +08:00
Snownee
ca4877430e Fix deployers getting stuck in water or bedrock as contraption 2020-05-14 18:45:34 +08:00
tterrag
702a79684b Fix server launch 2020-05-14 01:04:52 -04:00
tterrag
c3cdf346f7 Update Registrate, use onRegister function instead of CreateBlockBuilder 2020-05-14 00:53:12 -04:00
simibubi
deb03d10de Ported window blocks
- window and glass blocks entered the registrate
- updated palette textures
- removed windowlogging
- removed cocoa logs
2020-05-14 01:23:15 +02:00
simibubi
7536e22eed Connected Textures and Registrate
- CT behaviour is no longer tied to blocks implementing interfaces
- Custom models and connected textures can now be assigned in a custom blockbuider
- Ported framed glass to Palette Registrate
2020-05-13 21:56:46 +02:00
simibubi
bf57058e4e A new home for palette blocks
- Set up datagen for basic palette models and blockstates
- Overgrown blocks now follow foliage colour
- Paved blocks now connect vertically
2020-05-13 01:11:07 +02:00
simibubi
2696fc2a51 BlockState gen progress
- Clutch, Gearshift and Gearbox joined the registrate
- Fixed belt and gearbox items not being assigned creative tabs properly
- Cleaned up and extended the blockstate generator helpers
- Removed advancements from static assets
- Added datagen .cache to gitignore
- Split the palettes section into its own Creative tab
- Fixed Clutch and Gearshift rendering their casing in the TER
2020-05-12 14:06:50 +02:00
tterrag
7832e79b13 Update Registrate, remove now-unnecessary support code for block entries 2020-05-11 23:18:49 -04:00
simibubi
3eee3d2c87 Block entry wrappers
- Simi wants his helpers back
2020-05-11 22:34:02 +02:00
simibubi
20ab49e46e Better game element rendering in GUIs
- Fixed uv issues with connected textures
- Fixed chromatic scope not showing on blockzappers
- Refactored game element rendering in user interfaces, such as JEI screens
2020-05-11 17:48:00 +02:00
simibubi
e69af69b0a Ported new changes to 1.15 2020-05-11 00:48:58 +02:00
simibubi
901c530f62 Merge branch 'master' into mc1.15/dev 2020-05-11 00:23:28 +02:00
simibubi
1fe647b16e Place & Crash
- Fixed some incompatibilities between kinetic blocks and schematic tools
2020-05-09 19:17:51 +02:00
simibubi
32cce4e9b9 Bug-fixes
- Reduced tracking range of mounted contraptions
- Fixed carpets not able to be pushed directly
- Fixed Water Wheels and Belt Tunnels crashing when rendered in a schematic preview
2020-05-09 18:32:47 +02:00
simibubi
0a869190b2 Deployer dupes
- Fixed blazing sword taking damage in the nether
- Fixed blazing sword not igniting entities
- More safety checks
- Fixed stack overflow when overpowering a RSC from both inputs
- Fixed outrageous duplication glitch in deployer item handler
- Fixed crafters not able to return multiple buckets
- Super glue can now be used to make chassis sticky
2020-05-09 14:27:09 +02:00
simibubi
0bd3a8d880 More portable blocks
- Fixed latch hotfix still not making it work properly
- Cocoa pods can now be harvested by harvesters
- Fans, RSCs, basins, stockpile switches, gauges, engines, cranks and other blocks can now be moved in a contraption
- Most of creates technical blocks can now be picked up using a wrench
- Fixed Stockpile switch not reacting to movement.
- Fixed Stockpile switch not reacting to changes to a double container
- Chassis range display no longer shows the overlay for non-sticky directions
2020-05-09 12:14:26 +02:00
simibubi
4cbf424f4d The Bugs win
- Condensed mechanical crafting into one JEI page category, scaling down slots if necessary
- Fixed ploughs trying to break water blocks
- Fixed stationary contraptions getting nudged around by expiring farmland blocks
- Shulker boxes can now be used as portable storage on contraptions
- Added vertical rotation support to buttons, levers
- Fixed certain directional blocks flipping around inconsistently when contraptions rotate by 180 degress
- Random safety checks
- Vertical belts no longer pop when rotated horizontally
- Fixed inconsistent funnel activation when items are inserted on the same segment
- Fixed adjustable pulley popping off due to floating point precision issues
- Fixed toggle latch acting strangely with input signals
- Schematicannons can now place belts safely
- Removed invalid Schematic item from creative tab
2020-05-09 00:09:10 +02:00
Snownee
505b251132 Fix build error 2020-05-09 01:05:56 +08:00
Snownee
6d67c6e30b Fix basin renderer causing crash 2020-05-09 01:05:41 +08:00
Snownee
774f1b5f56 Fix broken rendering state 2020-05-09 01:05:01 +08:00
simibubi
4b1c187d64 Config watching
- Fixed client and common config not being picked up by the configwatcher, thus not reacting to changes
2020-05-08 12:55:52 +02:00
Snownee
5f406d0b74 Fix: belt connector shows twice in creative tab 2020-05-08 11:53:46 +08:00
Snownee
1b040658e4 Remove invalid recipe. It seems BoP has removed this item 2020-05-08 11:43:55 +08:00
Snownee
97aba40cb4 Fix all blockstates 2020-05-08 11:42:54 +08:00
Snownee
5ac6ded468 Fix belt keeping dropping item in debug world 2020-05-08 10:42:01 +08:00
simibubi
65853c9da0 Creative Crate Revival
- The creative crate is back on the menu
- Schematicannons with creative crates no longer require gunpowder to operate
- Creative crates can now be used for infinite item supply and voiding
- Added a few more advancements
2020-05-07 19:52:36 +02:00
Snownee
9c5987310e Fix crash while opening JEI splashing category (Closes #297) 2020-05-07 22:23:47 +08:00
Snownee
e95e62f7ae Fix crash while rendering crafter 2020-05-07 22:22:57 +08:00
Snownee
5fb65d68f7 Fix JEI tab background is not transparent 2020-05-07 22:22:25 +08:00
Snownee
9b8c985b2b Fix blockstates json 2020-05-07 22:19:06 +08:00
simibubi
6c3c0600d3 Rebooting Advancements
- Reworked basic advancement tree, to be continued
- Removed unused trigger and damage source for sandpaper
- Added some new crate assets
2020-05-06 20:24:04 +02:00
simibubi
ef541493c5 Asset tweak
- Made new belt sprite less aggressive
2020-05-05 20:36:42 +02:00
simibubi
0f67b9afe2 Merge branch 'master' into mc1.14/dev 2020-05-05 20:26:53 +02:00
simibubi
d8c00dccb4 Merge branch 'master' into mc1.14/dev 2020-05-05 20:24:22 +02:00