tterrag
656ff25ae1
Fix #5768 add access to MainWindow object in RenderGameOverlayEvent
2019-06-21 20:29:04 -04:00
tterrag
5fb948fb35
Fix #5805 ModelBakeEvent does not fire
2019-06-21 19:34:58 -04:00
cpw
37a896fe1b
Add params for the exception message
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
tweak logging
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-15 19:47:08 -04:00
cpw
9fa4641cb0
Update mappings
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-08 10:45:28 -04:00
tterrag
a93d7d20ee
Rework model patches/classes for new bake signature
2019-06-08 01:02:29 -04:00
LexManos
a7df63e1a1
Update to 1.14.2
2019-06-07 16:50:47 -04:00
tterrag
fb30820e2b
Remove cache eviction for model data, optimize
2019-05-23 21:49:39 -04:00
LexManos
eae0858de6
Fix build script producing duplicated eclipse source folders.
...
Fix not including userdev source in sources jar.
Update license header of files that need it.
Delete patches_old folders. Most are unneeded in 1.13+ as the systems they effected were changed significantly. Any that need to be readdressed can be done as PRs.
2019-05-13 19:11:24 -07:00
tterrag
9209c3cbfe
Add new system for model data, replacing extended states ( #5564 )
2019-05-09 02:10:38 -04:00
Ben Staddon
1fcfd54584
Fix some vertex format changes not being handled correctly ( #5368 )
2019-04-25 18:31:17 -04:00
Ben Staddon
441a9c9024
Transform vertex normals as well as positions when generating quads ( #5242 )
2019-04-25 18:29:12 -04:00
ichttt
1aae18d4bc
Minor performace improvement when building chunks and rendering blocks ( #5286 )
2019-04-24 13:20:19 -04:00
Ben Staddon
119e4a6924
Fix small logic error in ItemTextureQuadConverter ( #5463 )
2019-04-23 19:03:43 -04:00
tterrag
e70cc4fcae
Simplify custom item rendering by removing GL emissivity hacks
2019-04-23 15:23:12 -04:00
tterrag
d02da21a7a
Support diffuse lighting flag in item rendering
2019-04-23 15:21:01 -04:00
Ben Staddon
501f1dc8dc
Fix small logic error in emissive item rendering code ( #5320 )
2019-04-23 12:37:32 -04:00
Lars Gerrits
273b1b110a
Add GuiContainerEvent.DrawBackground event. ( #5595 )
2019-04-15 18:56:58 -07:00
0uti
bbc92fa51c
[1.13.x] Fire InputEvents ( #5533 )
2019-04-15 18:50:18 -07:00
tterrag
67da3182c1
Implement rendering for item models with emissive quads ( #5047 )
2019-04-12 10:45:32 -04:00
Paul Fulham
1280dea111
Fix inaccurate main thread name shown in client log ( #5078 )
2019-04-12 10:23:08 -04:00
Ben Staddon
3920b7aaa3
Fix Baked Item models with transformations ( #5241 )
2019-04-12 10:11:15 -04:00
Ben Staddon
ac210a3201
Make Forge blockstate variants correctly inherit AO setting from vanilla models ( #5190 )
2019-04-11 17:35:01 -04:00
Ben Staddon
a79975b3ea
Make Forge-provided default transforms accessible to custom models
2019-04-11 17:32:31 -04:00
tterrag
37016ca77f
Remove remaining deprecations, improve a few patch comments
2019-03-29 16:58:33 -04:00
tterrag
2f486f2bdd
Add method to IResourcePack to hide it entirely from the UI ( #5525 )
2019-03-25 17:24:37 -04:00
mezz
5fa732d223
Remove uses of java.awt ( #5591 )
...
`java.awt` will statically load itself when `java.awt.Color`, `java.awt.Dimension`, etc are loaded.
This conflicts with lwjgl3 and must be avoided (except for in mojang's server gui).
2019-03-25 12:06:20 -07:00
LexManos
ca72710937
Initial 1.13.2 update. Major thing to note is that Dimensions have been completely revamped.
...
DimensionType is not unique per Dimension. See DimensionManager for more details.
Vanilla now has a chunk loading system, so Forge's will need to be deprecated/adapted.
2019-02-14 15:08:53 -08:00
cpw
f83500db11
Its 2019. Update licence headers to match.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 17:57:03 -05:00
LexManos
9245975955
Change IRenderHandler to an interface Closes #4640
2019-02-07 12:03:13 -08:00
LexManos
e8ae18efda
Fixed Crosshair attack indicator texture issue Closes #5442
...
Add friendlier error message for @Mod annotations with missing mods.toml entry. Closes #5440
Remove Log4J console highlighting. As it doesn't work on many consoles, and prints invalid characters. Closes #5420
2019-02-06 18:18:01 -08:00
ichttt
da33233762
Update for ForgeSPI change, revert back to VersionStatus checking
2019-01-27 20:51:35 +01:00
ichttt
c2a7fe4019
Bring back the forge beta warning. Use a check to see if the forge minor version is zero, as ForgeVersion.getStatus() is not implemented
2019-01-27 19:50:59 +01:00
tterrag
8e43dfa7a6
Refactor OptionalCapabilityInstance to LazyOptional; clean up
...
- Move to util package, rename to LazyOptional
- Clean up existing javadocs, add javadocs to everything missing them
- Add more NonNull functional interfaces, and use them everywhere
- Move orEmpty() to Capability, works better here anyways
2019-01-27 01:41:07 -05:00
mezz
c8c54113d0
Add RecipesUpdatedEvent, fired when recipes are downloaded from the server. ( #5303 )
2019-01-25 13:36:42 -08:00
Vincent Lee
69f8e57cea
[1.13] A sweep through deprecations ( #5345 )
2019-01-25 13:29:52 -08:00
tterrag
cd21f7b927
Implement ConfigValue as a wrapper around ForgeConfigSpec results ( #5361 )
2019-01-15 23:28:40 -05:00
XCompWiz
f2b54acd67
Allow providing a BufferedImage for banner render generation ( #5041 )
...
Ported to 1.13 using NativeImage
Co-authored-by: tterrag <tterrag1098@gmail.com>
2019-01-11 18:32:17 -05:00
Vincent Lee
4e196a445a
Add missing setSeed calls to ForgeBlockModelRenderer ( #5338 )
2019-01-09 20:57:55 -08:00
LexManos
440649bb95
Fix new launcher jar packaging.
...
Run license checker over new code.
2018-12-31 16:48:23 -08:00
tterrag
0b26047ea8
Better documentation for IForgeWorldType, TERFast, TERAnimation
...
Also rename AnimationTESR to TileEntityRendererAnimation
2018-12-29 12:18:10 -05:00
mezz
dc12cda505
Clean progress bar code and fix TextureMap patch ( #5304 )
2018-12-28 18:05:05 -08:00
mezz
b4cf6f7f36
Implement GuiScreen events for mouse and keyboard ( #5297 )
2018-12-23 23:46:42 -08:00
LexManos
4879b0611a
Change how Forge itself is located to be loaded similar to a real mod.
...
Fixes Minecraft/Forge annotation data missing.
Fix Capability injection.
2018-12-21 16:07:39 -08:00
tterrag
d11a67499d
FastTESR -> TileEntityRendererFast
2018-12-21 17:53:01 -05:00
tterrag
b3b8c78527
Rendering patches ( #5262 )
2018-12-21 14:45:35 -08:00
David Quintana
152836c907
Add raytrace logic to the GuiOverlayDebugForge, so that the debug overlay can show the currently targetted block and liquid. ( #5278 )
2018-12-16 12:47:16 -08:00
LexManos
7265900c62
More entity patch work. ISpecialArmor deleted.
2018-12-10 22:19:43 -08:00
LexManos
dd32e74e34
Entity patches progress.
2018-12-05 01:16:33 -08:00
LexManos
bf9158172f
Most client patches done except the render pipeline.
...
Someone who has more in depth knowledge of that rendering system will need to do it.
2018-11-28 22:15:05 -08:00
LexManos
47a11b9a7e
GUI Patches
2018-11-21 21:23:24 -08:00
LexManos
7c0d94ce9c
Patch work, most of block classes, and fix eclipse run configs.
2018-11-16 23:15:39 -08:00
cpw
ca765b857b
Move the version packages somewhere that is now filtered so it doesn't
...
load twice.
2018-10-04 19:28:45 -04:00
cpw
09e2aeaec4
Some tweaks to get the launcher working.
2018-09-24 00:07:33 -04:00
LexManos
94e1a8e0a4
Update mappings to 09/21 snapshots.
...
Conflict with getMatrix in ITransformation, so renamed to getMatrixVec.
2018-09-22 03:40:22 -07:00
tterrag
d08f8e1a78
Fix remaining issues preventing compilation, launching, and loading worlds ( #5156 )
...
Fix duplicate ID for ingredient serializers
Fix KeyBinding compile errors. No GuiKeyBindingList patches yet.
Implement controls GUI and WorldServer patches
2018-09-21 19:07:48 -07:00
LexManos
cdfa7caaeb
More work on compile errors, New system for ToolClasses, using a ToolType class instead to de-stringify things.
2018-09-21 01:47:12 -07:00
tterrag
c4cf950863
Fix the rest of the "easy" compile errors ( #5151 )
...
* Add Entity.changeDimension patch and transitively required patches
* Fix throws declaration on CommandSetDimension#execute
* Fix rest of errors in fluid package
* Add PLAYER_REACH attribute
* Fix compile errors in fml.client.config and add GuiButton patch
* Delete unnecessary client.config classes, fix all config errors
* Comment some fluid errors in models
* Fix all errors in common package root, except ForgeHooks
* Mass comment network package
* Experimental conversion of extended states to generic base class
* Fix errors in common.util
* Remove config annotation stuff cuz lex said so
* Make extended state stuff compile fully
2018-09-18 00:04:02 -04:00
tterrag
949a62a0da
Fix most of the compile errors in the client package ( #5137 )
...
* Add KeyBinding#getKey and clean up errors in KeyModifier
* Add dimension IRenderHandler patches
* Fix most of the compile errors in client package.
The rest are missing Block/KeyBinding patches
* Disable selective reloads until configs are finished
* Add OnlyIn on IForgeDimension to match those of Dimension
2018-09-11 21:42:29 -04:00
LexManos
a0cef07a0b
Pin MCPConfig version
...
Cleanup and implement BrewingRecipes
Delete client command related things
Cleanup some biome stuff.
2018-09-11 18:25:25 -07:00
tterrag
334d925972
Port capability patches to 1.13 and refactor to new system ( #5134 )
...
* resource package and misc leftover rendering stuff
* Port Item and ItemStack patches
* Extract most item patches to interface
* Refactor Item#setNoRepair to be part of Item.Builder
* Adapt AnimationItemOverrideList to new cap system
* Improve null contract of OptionalCapabilityInstance
* Remove Capability.cast
* Update CapabilityAnimation to new cap system
* Remove OptionalCapabilityInstance#flatMap and add NonNullConsumer
* Add capability patch to Entity, not everything yet
* Fix Entity patch and add missing methods to IForgeEntity
* Fix null contract of CapabilityDispatcher
* Add TileEntity caps
* Adapt FluidUtil to new cap system
* Add world caps
* Add chunk caps
* Clean up cap patches
* Replace all tabs with spaces
* Move builder methods on Item to Item.Builder
Whitepsace fix
* Sided stuff take 2
* Prevent OptionalCapabilityInstance creating additional empty instances
* Cache getCapability result in AnimationTESR
* Fix imports in TileEntity patch
* Pull out cap code to base class, add village caps
2018-09-09 17:27:15 -04:00
tterrag
dde7dccef1
Porting Forge rendering code to 1.13 ( #5132 )
2018-09-08 13:34:59 -07:00
LexManos
eac693e785
Introduce rework of Capability provider. And reduce errors to <2000
2018-09-06 06:27:24 -07:00
LexManos
12869710de
Remove old paulscode libraries.
...
Re-work EnumHelper and ObjectHolder systems to bypass JITer of final fields.
Other cleanups.
2018-09-06 04:39:01 -07:00
LexManos
2798080f60
More error cleanup, reinstanted IForgeReigstryEntry.
...
The abstract class will be used as the default, and to enable delegates but we should keep it api simple by keeping the interface.
Removed some patches that didnt get removed in the rebase.
2018-09-05 20:06:18 -07:00
LexManos
ff6fa2cfaf
Add some missing libraries and work on GuiIngameForge. Down 700 errors.
2018-09-05 18:00:14 -07:00
cpw
77c3310711
Zeroth pass on 1.13
2018-09-05 12:56:01 -07:00
cpw
d0ab0e166c
Well, it works, for a game, now.
2018-09-05 12:30:02 -07:00
cpw
06b16aaa19
Some more stuffs. ObjectHolder's replacement?
2018-09-05 11:58:31 -07:00
cpw
baa9dfe55a
Things. they work. Obviously still WAY more to do.
2018-09-05 11:53:54 -07:00
cpw
1b1ee6f0b8
more things. Moving ModContainer around.
2018-09-05 11:49:48 -07:00
cpw
f942eb184a
WOW 😲 such broken. Many brokes.
2018-09-05 11:40:47 -07:00
cpw
c1f0e1b68f
Holy Moly, it's a big fat commit of broken code!
2018-09-05 11:16:33 -07:00
Ben Staddon
69233f1bbf
Add variant alias for item models not loaded via blockstate ( #5025 )
2018-08-16 13:21:21 -07:00
Ben Staddon
889fa4da7e
Fix received data for last vertex format element not being recorded ( #5074 )
2018-08-01 13:35:56 -07:00
Ben Staddon
f3f1e585dc
Add function to lookup model location for an ItemStack ( #5017 )
2018-07-28 18:55:33 -07:00
gegy1000
a935859b24
Resource type sensitive ResourceManager reloading, Disabled by default, but may increase performance. ( #4658 )
2018-07-28 17:47:01 -07:00
Ben Staddon
2786cd279c
Update and clean up Forge fluid render model ( #4763 )
2018-07-17 20:37:20 -07:00
Ben Staddon
6ae2287d57
Add support for FluidStack-dependant colouring to Forge bucket ( #4952 )
2018-07-14 14:52:54 -07:00
Ben Staddon
5624afbc32
Change some client hooks to use GlStateManager functions ( #5010 )
2018-07-04 19:59:12 -07:00
LexManos
0cf5ef221c
Run licenseFormat to apply license header to all files.
2018-07-01 14:17:31 -07:00
Ben Staddon
539626727c
Switch from trove to fastutil collections ( #4933 )
2018-06-27 11:29:09 -07:00
Ben Staddon
a749861cb2
Change item model loading priority to fix model conflicts ( #4898 )
2018-06-27 11:08:38 -07:00
Ben Staddon
f2d7a19702
Clear out stored errors after model loading finishes ( #4938 )
2018-06-24 00:18:13 -07:00
Ben Staddon
7258beeede
Fix vertex lighter using stale normal data ( #4917 )
2018-06-20 12:36:10 -07:00
Ben Staddon
d9a042c775
Fix black flickering on animated models by clamping max diffuse lighting multiplier to 1.0 ( #4962 )
2018-05-31 22:35:02 -07:00
LexManos
b654b84393
Add potential support for models defining 'vanilla like' rotations in Forge's Modified Blockstate format.
2018-05-24 18:37:05 -07:00
Ben Staddon
0139a7baf2
Fix Forge bucket not declaring all texture dependencies ( #4930 )
2018-05-19 21:25:08 -07:00
Ben Staddon
189df85b5a
Reuse multipart model instances across variants ( #4791 )
2018-05-19 20:50:57 -07:00
Kristiāns Micītis
fc1877dd96
Added formatting support for status messages ( #4925 )
2018-05-17 00:41:21 -07:00
Ben Staddon
e742a3f598
Change composite models to fetch quads from submodels using full context ( #4809 )
2018-05-16 23:06:50 -07:00
Ben Staddon
36f94fd20e
Allow custom models to have per-state lighting ( #4732 )
2018-05-16 22:44:34 -07:00
Ben Staddon
90bf8dd95d
Fix some code holding client world references longer than needed ( #4881 )
2018-04-22 14:40:38 -07:00
Ben Staddon
97a2143fc2
Clean up Reader/Writer handling to use a specified charset ( #4872 )
2018-04-14 17:00:38 -07:00
Ben Staddon
d0566ebadc
Suppress firing events at load time if an error has already occurred ( #4801 )
2018-04-12 17:18:43 -07:00
Ben Staddon
dda7bd5d42
Optimise adding normal element to vertex formats ( #4699 )
2018-04-01 00:59:34 -07:00
Ben Staddon
0b5a6a3b03
Reduce memory usage of model transforms ( #4753 )
2018-04-01 00:24:37 -07:00
Brennan Ward
ed314864f0
Cleaner TileEntityItemStackRenderers, now stored on the Item. Modders should be careful and cache their renderers. ( #4700 )
2018-03-27 04:26:58 -07:00
ichttt
cf43250584
Fix some IResources being leaked ( #4806 )
2018-03-19 22:58:54 -07:00
mezz
ae654edfc2
Fix up logging and log4j configuration ( #4802 )
2018-03-17 18:41:16 -07:00
Wyn Price
4242f89c75
Patched BlockInfo#updateLightMatrix to use IBlockState#doesSideBlockRendering instead of Block#doesSideBlockRendering ( #4798 )
2018-03-13 16:35:04 -07:00
Ben Staddon
29fe38f723
Improve how smooth lighting code handles translucency ( #4711 )
2018-02-26 22:13:17 -08:00
Ben Staddon
c01165f313
Don't cull generated item models with non-default transforms ( #4749 )
2018-02-16 21:04:21 -08:00
Ben Staddon
6cbc277de7
Maintain deterministic order in deserialised Forge blockstates ( #4748 )
2018-02-15 22:11:52 -08:00
Bartek Bok
e1f691617f
Remove texture loads from SimpleModelFontRenderer ( #4721 )
2018-01-31 21:08:29 -08:00
Ben Staddon
0e3f46c74b
Use relative time offset, rather than absolute value, for animations ( #4635 )
2018-01-28 23:19:16 -08:00
malte0811
c12df92170
Fixed UV contraction for the texture in the top-left corner of the texture map (0, 0), see sp614x/optifine#1024 ( #4703 )
2018-01-28 16:09:05 -08:00
Vincent Lee
9c5177282e
Fix MusicType enumhelper not working ( #4682 )
2018-01-19 01:22:41 -08:00
Ben Staddon
533b03300a
Catch and log exceptions during model baking ( #4609 )
2018-01-18 13:14:33 -08:00
Tyler Hancock
01f573dbaa
Added a tooltip color event. ( #4595 )
2018-01-18 12:54:35 -08:00
Vincent Lee
3a3883589f
Allow WorldProviders to specify in-game music ( #4539 )
2018-01-18 12:39:14 -08:00
Daomephsta
adf3c7164a
[1.12.x] Implement hooks allowing mods to add horse armor. Partially addresses #3975 . ( #3994 )
2018-01-18 12:04:37 -08:00
mezz
d0bdb23300
Minor code and documentation cleanup. ( #4664 )
2018-01-12 23:54:29 -08:00
Bartek Bok
10b8d47b53
Don't copy state from variant to multi-part model ( #4629 )
2018-01-06 22:36:43 -08:00
Bartek Bok
cfbcfeaf4b
Enhance crash message when custom models return null default state ( #4615 )
2017-12-26 15:16:32 -08:00
Ben Staddon
37e5dc1e66
Adjust light matrix calculations to use per-face logic ( #4339 )
2017-12-16 18:30:18 -08:00
Ben Staddon
dc6fa09066
Fix applyUVLock not preserving input order ( #4336 )
2017-12-16 18:27:33 -08:00
Ben Staddon
05c88d91d8
Adjust diffuse light calculation to match vanilla facing values ( #4305 )
2017-12-16 18:26:20 -08:00
Bartek Bok
9fdb79ae7a
Fix invalid rendering of single-frame B3D models ( Fix #3815 )
2017-12-16 18:23:55 -08:00
Bartek Bok
867698eb54
Fix animation of rotated block parts ( #4156 )
2017-12-16 18:23:15 -08:00
Ben Staddon
98997061f0
Add an event for registering block/item colour handlers ( #4565 )
2017-12-16 17:34:00 -08:00
Ben Staddon
23ea237f2c
Fix incorrect lighting of item models ( #4493 )
2017-11-09 14:32:43 -08:00
Ben Staddon
4b3799f460
Change item model alpha tests to match values used for rendering ( #4490 )
2017-11-09 14:31:39 -08:00
mcenderdragon
4cdb6b6d60
Added tint index of 0 to fluid models ( #3938 )
2017-11-09 13:59:30 -08:00
Bartek Bok
6f49568c98
Add InputUpdateEvent ( #4356 )
2017-10-31 11:47:47 -07:00
Zaggy1024
9c7538db8d
Added a cloud renderer that uploads geometry to the GPU. ( #4143 )
2017-10-31 11:45:46 -07:00
mezz
b5e88dd07b
Improve the Forge Bucket ( #4435 )
2017-10-31 11:03:44 -07:00
Ben Staddon
43749d3fd1
Further reduce quad count of generated item models ( #4448 )
2017-10-31 11:02:09 -07:00
Ben Staddon
8d938660e7
Add caching of data for flat lighting ( #4358 )
2017-10-31 10:09:39 -07:00
Matthew Mirvish
e283d51e28
[1.12.x] [Animation API] Add rotation origin variable ( #4466 )
2017-10-20 22:27:35 -07:00
mezz
083daeb5ed
Update mcp mappings to 20171003
2017-10-03 22:08:36 -07:00
Ben Staddon
0d34b02f88
Improve performance of vertex format mapping by caching hashcodes ( #4370 )
2017-10-02 16:45:58 -07:00
Ben Staddon
4073891058
Reduce the number of quads generated by ItemLayerModel ( #4332 )
2017-10-02 16:43:06 -07:00
tterrag
6956df4ff2
Allow item models to use formats other than ITEM ( #4273 )
2017-10-02 16:17:35 -07:00
Paul Fulham
4203e7426f
Fix lightmap calculation vertex clamping ( #4387 )
2017-09-17 19:28:11 -07:00
Xander
ce49596014
Add an extra error check for OBJ model materials ( #4402 )
2017-09-16 21:17:12 -07:00
Ben Staddon
0dd386b74c
Improve generation of normals for vanilla models ( #4313 )
2017-09-06 14:31:46 -07:00
Marvin Rösch
cb8cace92d
Fire RenderGameOverlayEvent for vignette ( #4360 )
2017-09-06 14:19:56 -07:00
Ben Staddon
ef5ffc2c5d
Add missing bounds checks to ItemTextureQuadConverter ( #4343 )
2017-09-06 14:08:19 -07:00
Ben Staddon
cd5d7d2bed
Adjust float (un)packing functions to be slightly more accurate ( #4316 )
2017-09-06 13:55:41 -07:00
iChun
29b717faa7
Add PlayerSPPushOutOfBlocksEvent. ( #4091 )
2017-08-09 15:26:51 -05:00
KnightMiner
82d735e43a
Add support for running IModel.retexture() on models from blockstates ( #4200 )
2017-08-09 15:18:35 -05:00
covers1624
099bbd479a
Add GuiContainer Foreground render event. ( #4127 )
2017-08-01 16:23:08 -05:00
Ben Staddon
0fde64ac38
Clean up uses of deprecated library functions ( #4130 )
...
Avoid catching and rethrowing runtime exceptions
Append error messages to exceptions instead of the log
2017-07-12 21:50:28 -07:00
LexManos
b0edb23dba
Fix getting missing models for overridden Item registry entires
2017-07-05 14:52:29 -07:00
E2
43be1f46a5
RenderLivingEvent now stores partialTick
...
2
2017-07-03 12:20:45 -07:00
ichttt
ede05a25f1
Fix missing messages of missing models ( #4120 )
2017-07-03 10:39:42 -07:00
mezz
8581225da8
Use java 8 collection functions
2017-06-28 00:14:10 -07:00
mezz
9675585891
Use lambdas for short anonymous methods
2017-06-27 23:18:09 -07:00
mezz
93025510ae
Use multiple catch, try-with-resources, replace system.out and e.printStackTrace
2017-06-27 22:57:10 -07:00
Ben Staddon
9a09ff68aa
Remove some deprecated methods and clean up
2017-06-25 22:30:18 -07:00
mezz
7892ca922c
Remove the call to client.refreshResources during loading ( #4032 )
2017-06-25 22:13:58 -07:00
Fry
0f7ec7e7fd
Added dependencies and dependency ordering for textures. ( #4070 )
2017-06-26 07:58:19 +04:00
LexManos
45147ac512
Fix ModelBlockAnimation expsing a private class.
2017-06-25 12:23:56 -07:00
RainWarrior
dc043ac79f
Cleanup of model system, taking advantage of java 8;
...
replaced guava Optional and Function with java 8 versions.
2017-06-25 04:08:20 +03:00
Ben Staddon
1b5da5d4fe
[1.12] Cleanup of files with old licence headers, Add missing LGPL 2.1 licence headers ( #4051 )
2017-06-24 01:25:23 -07:00
Ben Staddon
b0dfaa2b81
Remove Java 8 warnings now that Minecraft requires it
2017-06-23 23:31:50 -07:00
LexManos
dee84dc1e4
More work, game loads and runs now.
...
Moved Registry events to directly AFTER PreInit instead of before.
This allows modders to register handlers for it without @EventBusSubscriber.
It also allows you to register custom things needed before the construction of blocks or items such as Fluids.
TODO: Move Fluids to a real registry.
@ObjectHolder can now be used on private fields.
Reworked FMLModIdMappingEvent to include data for all registries.
Tile Entities are now registrable.
2017-06-23 16:59:57 -05:00
LexManos
a26d89c876
First pass of registry rewrite.
...
Tests do not run yet.
Things of note:
Removed the idea of substitutions, just register multiple items with the same name they will override each other like a normal map.
Decoupled Forge registries from vanilla classes. They now use bouncer classes. MODDERS SHOULD NEVER USE THESE
Introduced more stringent registry locking. As it sits things are only allowed to be registered during the RegistryEvent.Registry phases!
This is to force modders to split up their registrations, and pave the way for calling these functions multiple times during a single MC lifecycle.
ObjectHolder, Missing Mappings, etc... *should* now work for all registry types, nothing should be special cased to Blocks/Items anymore.
Added optional generic dummy factory to registries, to allow registry creators the ability to dummy more then just Blocks.
Re-worked the ItemStack transformer and applied it to ItemBlock and ItemBlockSpecial. Allowing us to cleanup reflective hacks in Block callbacks.
Registry onAdd callback is now only fired on the ACTIVE registry, fixing any issues of temp registries overriding active objects.
2017-06-23 16:59:57 -05:00
diesieben07
0e9820c51c
Clean up Logging ( #3953 )
...
# Conflicts:
# patches/minecraft/net/minecraft/client/renderer/texture/Stitcher.java.patch
# patches/minecraft/net/minecraft/client/renderer/texture/TextureMap.java.patch
# patches/minecraft/net/minecraft/entity/EntityList.java.patch
# patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch
# src/main/java/net/minecraftforge/oredict/OreDictionary.java
2017-06-22 23:18:49 -07:00
mezz
c6d7c7c11f
Fix itemstack comparison with null
2017-06-19 23:27:52 -07:00
mezz
e3777f4559
Add missing Override annotations
2017-06-17 18:24:17 -07:00
mezz
c2845967cc
Update MCP mappings to 20170617
2017-06-17 18:06:04 -07:00
mezz
3d322ef925
Update mcp mappings to 20170611
2017-06-17 17:13:44 -07:00
LexManos
f1cca475ea
Initial patch update to 1.12.
...
Some things to note:
Netty is screwy so currently can't join single player. @cpw
Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS.
Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration.
Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13
which would allow servers to have custom recipes.
OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients.
Please be patient
Rendering:
A lot of functions got a new float parameter, this is similar to partial ticks, needs more research
2017-06-10 22:22:02 -04:00
Ben Staddon
2814df89b3
Tweak vertex lighter to avoid causing excess array initialisations ( #3771 )
2017-05-26 13:57:21 -07:00
tterrag
d77033b0d0
Fix normals not being generated for formats without normals ( #3896 )
...
Fix normals not being generated for formats without normals
2017-05-15 12:39:54 +04:00
Vincent Lee
0b41a0a822
Fix forge pipeline block shifts ( #3789 )
2017-05-01 17:53:17 -07:00
diesieben07
b2e3f353df
Allow client commands to control whether they can be invoked without prefix. ( #3847 )
2017-05-01 17:22:53 -07:00
mezz
15aee5b18a
Skip loading models if there is a fatal mod dependency error ( #3772 ) Close #3768
2017-04-07 16:48:00 -07:00
Lance
671d462645
Added ClientChatEvent. Closes #1442 ( #3704 )
2017-04-07 16:09:46 -07:00
sinus
25497d310b
Adding config GUIs to the @Config based configuration System ( #3735 )
...
Lots of internal API that modders should not touch. See test mods for example usages.
2017-04-01 14:24:50 -07:00
Vincent Lee
1df8d5f8e5
Fix forge:default-item missing case for FIXED transform ( #3663 )
2017-02-23 15:36:48 -08:00
RainWarrior
b2e3233dc1
Added check for quad builder to always have the particle texture set, and fixed where that wasn't true. Fixes #3653
2017-02-19 22:11:31 +03:00
RainWarrior
9888214524
Small bugfix in lighting logic.
2017-01-21 21:10:30 +03:00
Fry
bbc107de96
Added the variant name to the missing model. ( #3328 )
2017-01-19 13:57:37 +04:00
Vincent Lee
a41288644d
Skip first baking in ModelLoader ( #3621 )
2017-01-11 18:33:13 -08:00
James Mitchell
c545b8ecd4
Clean up null issues, add more annotations ( #3590 )
2017-01-11 15:17:56 -08:00
Ben Staddon
c4dea9fc66
Fix a couple more ItemStack null checks ( #3586 )
2017-01-11 15:15:47 -08:00
RainWarrior
da3af92343
Fix super call to ItemOverrideList constructor inside AnimationItemOverrideList, fixes #3264 .
2017-01-07 04:27:36 +03:00
RainWarrior
cea922432a
Added caching for baked vanilla models, fixes #3594 .
2017-01-07 02:58:36 +03:00
James Mitchell
5165dc52bf
Update MCP mappings to snapshot_nodoc_20161220 ( #3551 )
2016-12-21 15:52:30 -08:00
James Mitchell
b9ebc44790
Make NBSP character display as a space. MC-2595 ( #3522 )
...
Add easy getter for the Locale: MinecraftForgeClient.getLocale()
2016-12-17 13:27:45 -08:00
James Mitchell
6a125ae0d4
Fix uses of uppercase "Forge" where it fails Loader.isModLoaded(modID) ( #3513 )
2016-12-17 13:23:39 -08:00
Ben Staddon
6921ee54f5
[1.11] Fix null checks in shouldCauseReequipAnimation ( #3482 )
2016-12-03 10:47:57 -08:00
mezz
e09e6c0f24
Add a way for modded GuiScreens to cancel mouse and keyboard events ( #3438 )
2016-12-03 10:32:09 -08:00
liach
2337b0a6ae
Moved TextureStitchEvent.Pre to allow custom sprites for blocks ( #3436 )
2016-12-01 20:49:23 -08:00
Ben Staddon
14f3120eed
Fix sky colour blending not working for render distances >16 ( #3476 )
2016-12-01 18:49:34 -08:00
Ben Staddon
86a772ee8c
Clean up handling of changes to IVertexConsumer ( #3458 )
2016-11-27 02:01:26 -08:00
mezz
2bd8b95a3b
Cleanup some null checks and remove deprecated methods in Item and Block ( #3429 )
2016-11-22 15:20:05 -08:00
Shadowfacts
9cf74914e7
Initial annotations/nullability changes ( #3392 )
2016-11-18 13:24:03 -08:00
mezz
6f1a44a405
Remove deprecated Fluid stuff
2016-11-16 16:17:21 -08:00
cpw
9ab96fbda6
Update to 20161111 mcp names
2016-11-12 10:05:32 -05:00
mezz
bea5d44273
Add better key modifier behavior for GUI contexts ( #3307 )
2016-10-14 13:14:27 -07:00
tterrag
d3ad8aed76
Fix typo in sky rendering causing tons of BlockPos allocations ( #3267 )
2016-09-21 12:50:24 -07:00
cpw
7a84376044
Add in registry registration events, new subscription events you can use to make sure you're registering things at the "best" time.
2016-09-17 21:13:15 -04:00
shartte
7643be8cdc
Unlike BakedQuad, UnpackedBakedQuad does not propagate the diffuse lighting flag to Vertex Consumers. Made UnpackedBakedQuad conform to BakedQuad's behavior. ( #3181 )
2016-08-12 14:33:38 -07:00
LexManos
4cd0f88a69
Add RenderTooltipEvent ( #3034 )
2016-08-12 13:57:07 -07:00
LexManos
1c8f22ed43
Set ModelLoader.WHITE's texture size iniatlly instead of defaulting to zero and being set later.
2016-08-12 13:49:46 -07:00
AlgorithmX2
bc6b008364
Fix Vertex Transformer for breaking models ( #3132 )
...
* Add setTexture to IVertexConsumer and propagate it.
2016-08-04 16:37:59 -07:00
AlgorithmX2
a3d8664028
Use extended state for breaking models ( #3086 )
2016-07-28 16:00:36 -07:00