LexManos
983e0a93db
Re-implement state.onBlockExploded() Closes #5914
2019-07-09 17:07:09 -07:00
Vincent Lee
d88e4fbf36
Add general damage hook for items. Closes #5502 ( #5670 )
2019-07-08 20:43:02 -07:00
LexManos
f79da3edf7
Fix syntax error in IRenderHandler.
2019-07-08 20:14:41 -07:00
LexManos
8742d74e93
Pass tick counter to custom render handlers ( #5744 )
2019-07-08 19:55:47 -07:00
Cadiboo
ff80ab6a23
Fire Loading event ( #5795 )
2019-07-08 19:49:47 -07:00
Dirk "YouDirk" Lehmann
8c37d642fe
Fix logoFile not working properly ( #5775 )
2019-07-08 19:49:31 -07:00
ichttt
06a30e9f23
Adds some explanatory javadocs and check world in ModelDataManager ( #5762 )
2019-07-08 19:47:18 -07:00
Antoine Lucas
650e7dc16e
Add InputEvent documentation ( #5698 )
2019-07-08 19:47:06 -07:00
ichttt
d41fad51c2
Add IModelData to getParticleTexture ( #5756 )
2019-07-08 19:46:32 -07:00
ichttt
0463949ac3
Fixed BakedModelWrapper not delegating new methods ( #5761 )
2019-07-08 19:45:27 -07:00
Sargun Vohra
5f0fd4b706
Throw exception when a mod returns null from a dispatched capability provider ( #5646 )
2019-07-08 19:45:10 -07:00
Benjamin K
201c368325
Add isServer and isClient methods to LogicalSide ( #5606 )
...
* Add helper methods to LogicalSide.
* Fix backwards docs.
2019-07-08 19:44:35 -07:00
Cadiboo
3fe08f149d
Added documentation to ObfuscationReflectionHelper adn deprecated index based functions. ( #5893 )
2019-07-08 19:44:21 -07:00
LexManos
61bea2bfda
Fixed EntityJoinWorldEvent not being fired when player is added to ServerWorld. #5827
...
Fixed wrong example path for the access transformer in the MDK build.gradle. #5891
Added getters for mouse x/y velocity and if the middle-mouse button is being held down. #5776
Modify issue template for better clarity. #5874
Fixed grindstone not using ItemStack-sensitive getMaxDamage. #5831
Added ParticleManager.registerFactory to Forge's AT. #5896
Fixed NPE in SidedInvWrapper when side was null. #5787
Moved EndermanEntity.setAttackTarget super call to allow LivingSetAttackTargetEvent the ability to override default behavior. #5778
Added field to make "Looking at" debug info maximum distance configurable #5714
2019-07-08 18:42:12 -07:00
DaemonUmbra
f720140481
Disable Config Button when no mods are selected ( #5905 )
...
Closes #5889
2019-07-08 15:56:49 -07:00
Tedstar
66a2d38ab8
Fix MC-258 on mod list screen, enable sorting, minor tweaks. ( #5846 )
2019-07-08 15:50:05 -07:00
Cloudhunter
719f08ea5e
Fix link applying to whole component in chat if component starts with link ( #5909 )
2019-07-08 15:46:49 -07:00
primetoxinz
765efc3c72
Update TextureStitchEvent.Pre to give access to the list of ResourceLocations that will be loaded as textures. ( #5870 )
2019-07-03 12:26:51 -07:00
LexManos
bc23c1ddb2
Add installer processor to deobfuscate Mincraft's Realms library.
...
This task will processes the current realms library from the json, so the installer must be re-ran every time they update it.
2019-07-03 01:08:20 -07:00
LexManos
358211ca66
Fix type cast issues in ForgeConfig values. Closes #5894
...
Added config value set and save functions.
By default mod configs are auto-saved, so you do not need to call save unless you create your own Config object.
2019-07-02 11:54:59 -07:00
cpw
c8e5007913
Remove legacy StartupProgress.
...
Implement properly scalable progress thanks to @gigaherz. Closes #5863 .
Implement API for pushing messages to the startup screen from mods.
Add memory display.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-30 23:48:54 -04:00
LexManos
13ae8e41ee
Fix duplicate WorldEvent.Unload call in client key handler.
...
Add recipe generator to replace vanilla recipes with Forge tags.
2019-06-27 17:23:23 -07:00
ある
2c3183bdae
Fix garbled "µs" ( #5818 )
2019-06-26 13:23:47 -07:00
LexManos
53349603e2
Fix fmluserdevdata not being a valid launch target.
2019-06-25 18:16:10 -07:00
LexManos
c284de366b
Split userdev data entry point into it's own provider to fix duplicate mod issue.
2019-06-25 18:03:51 -07:00
tterrag
e81c330694
Fix configs correcting numeric values when the primitive type differs
...
Fix configs with range not clamping the corrected value, and instead
just replacing with the default
Closes #5855
2019-06-25 19:56:31 -04:00
Ben Staddon
790da699dd
Fix item placement losing NBT data in creative mode ( #5757 )
2019-06-25 13:59:10 -07:00
MajorTuvok
7915397377
Add extension to write entry id's to PacketBuffer's ( #5812 )
2019-06-25 13:55:24 -07:00
Someone
b2a5d34679
Add isItemValid check for ItemStackHandler ( #5850 )
2019-06-25 13:50:08 -07:00
Tedstar
9701148819
[1.14.x] Replace dye items in Forge tags. ( #5843 )
2019-06-25 13:44:54 -07:00
bl4ckscor3
b8131e6e67
implement Ingredient.getSerializer for custom ingredients ( #5813 )
2019-06-25 10:25:33 -07:00
LexManos
f4598a97f7
Fix vines and scaffolding not being climbable.
...
Fix powered rails not spreading power correctly. Closes : #5854
2019-06-24 20:05:50 -07:00
LexManos
ff0bb8c83c
Initial 1.14.3 update.
2019-06-24 19:01:03 -07:00
cpw
e5acea60e6
Fix too many registries being sent from server to client
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 19:54:55 -04:00
cpw
0a819da0e7
Reorganize sided event dispatch slightly. Dispatch model and entityrenderer
...
functions at more appropriate times.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 16:01:20 -04:00
cpw
bdad2af27b
Tweak for lowercase handling.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 14:51:58 -04:00
cpw
60513446fa
Merge branch 'pull/5793' into 1.14.x
2019-06-23 14:42:32 -04:00
cpw
be415091cd
Fix crash when crashing during modloading. Fix GuiModList being weird.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 14:37:05 -04:00
cpw
9067dbf6a0
Process the main modloading work on the async thread, but still
...
do deferred work on the main thread by passing in the executor.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 12:26:45 -04:00
tterrag
359be1a880
Clean up config comments, make comment array nonnull
2019-06-23 02:57:00 -04:00
tterrag
99624bf3b5
Fix forge event bus never starting up
2019-06-23 02:17:51 -04:00
tterrag
252b94a110
Automatically add range to config comments
2019-06-23 02:17:28 -04:00
cpw
448d996a45
First pass of adding text to the loading progress UI. It deliberately uses the very primitive STB
...
generated font, so can only render basic ASCII text, and also only renders pre-defined strings,
as translations aren't available either.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 23:39:00 -04:00
JoJoDeveloping
b9e5dfd286
Add mod failure identification
2019-06-23 03:14:05 +02:00
cpw
d966746fbf
Moved some events to the Mod's event bus. You'll need to update which bus
...
you're listening to for these. (The Mod event bus is the only one actively
dispatching events during model loading).
ModelRegistryEvent, ModelBakeEvent, TextureStitchEvent.Pre, TextureStitchEvent.Post, ColourHandlerEvent.Block, ColourHandlerEvent.Item
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 20:36:07 -04:00
cpw
89006458a2
Fix stupid bug introduced with the refactor..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 19:08:49 -04:00
cpw
389bc1ecea
Tidy up mod loading a bit more, and also crash if the [[mods]] list isn't
...
a list.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 12:52:22 -04:00
cpw
1e0437208b
Merge remote-tracking branch 'origin/1.14.x' into 1.14.x
2019-06-22 12:33:46 -04:00
cpw
256bd01e0c
Fix server side loading, tweak mods command.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 12:31:27 -04:00
tterrag
ef7b035f02
Fix ModelDataTest
2019-06-21 23:35:08 -04:00
cpw
83a0dc2ef9
Merge remote-tracking branch 'origin/1.14.x' into 1.14.x
2019-06-21 22:42:33 -04:00
cpw
c10174d50d
Update mappings, move mod initialization to the async loader.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-21 22:42:16 -04:00
tterrag
5a3b375147
Fix #5612 add entity to ISelectionContext
2019-06-21 21:15:56 -04:00
tterrag
656ff25ae1
Fix #5768 add access to MainWindow object in RenderGameOverlayEvent
2019-06-21 20:29:04 -04:00
tterrag
8c3e511538
Make sure test mods load, fix BlockstateRetextureTest
2019-06-21 19:35:32 -04:00
tterrag
5fb948fb35
Fix #5805 ModelBakeEvent does not fire
2019-06-21 19:34:58 -04:00
LexManos
a14c2233e0
Fix lighting not being sent to client when large amounts of blocks change at once. Closes #5839
...
Remove RecipeType/VanillaRecipeTypes, as 1.14 has a vanilla system for this.
2019-06-19 18:10:02 -07:00
LexManos
f01b87fac7
Fix some compile errors in test classes.
2019-06-19 18:07:58 -07:00
LexManos
0a8a601877
Add temporary hard crash when mods error until we can load our error screen.
2019-06-16 00:48:38 -07:00
LexManos
002e29958e
Make ReverseTagWrapper unmodifiable, fix error in log when mods folder doesn't exist initial scan.
2019-06-16 00:47:40 -07:00
cpw
604987a005
Skip running the datagenerator on unrequested mods.
...
Add a run config for the data task for modders to use
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-16 00:47:50 -04:00
cpw
7e3e6b1969
Remove paulscode hack. It is not needed in 1.14, since paulscode is
...
no longer used.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-15 21:51:51 -04:00
cpw
d821514372
Modify lex's data handler to use proper mod lifecycle event mechanisms
...
instead. New Lifecycle Event for requesting data harvesting. Mods will
be constructed, the registry will fire, and then a new Data event will
fire. Submit new data tag files to the data gatherer if you wish.
The game will shutdown after this. No other mod elements will happen.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-15 21:24:45 -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
LexManos
e1cdb2e558
Expose the data entry point and generate Forge's Tags using it.
2019-06-13 20:58:03 -07:00
LexManos
c30b27fcfe
Add reverse tag cache, to make looking up tags for items/blocks/etc.. less costly.
2019-06-12 19:28:10 -07:00
its_meow
a7b56f0975
Fix AT for EntitySpawnPlacementRegistry.register ( #5799 )
2019-06-12 16:17:25 -07:00
Johannes
ed3dc8c7d3
Implement getValue in ClearableRegistry fixing DimensionArgument. ( #5809 )
...
Fix DimensionArgument
2019-06-12 16:16:32 -07:00
kashike
4bd7427b70
Use dragon_immune block tag instead of manually checking blocks ( #5792 )
2019-06-12 01:04:13 -04:00
tterrag
d5ee80a70a
Add IContainerFactory for reading custom container data on the client
2019-06-10 18:14:49 -04:00
tterrag
da22fd40bf
Adjust NetworkEvent#enqueueWork to match vanilla logic
...
In singleplayer our packet work could get delayed until the next tick,
breaking the expectation of packet read order. Fixes that using
NetworkHooks.openGui would result in missing inventory data on the client
2019-06-10 00:13:27 -04:00
tterrag
3385e62aa7
Add forge registries for most vanilla registries
...
Made all registry names consistent with their vanilla counterparts
Also added a system for legacy registry names, so no data will be lost
Cleaned up formatting in GameData and ForgeRegistries
2019-06-09 04:23:39 -04:00
tterrag
40f2276e88
Add registry flag for syncing
2019-06-09 00:55:42 -04:00
tterrag
35cd89c00c
Fix issues preventing test mods loading
2019-06-09 00:19:29 -04:00
tterrag
892fea3df9
Add forge registry for container types, expose ScreenManager.registerFactory
2019-06-09 00:19:17 -04:00
cpw
2d32929dc5
Don't NPE during construction of ModLoadingException..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-08 14:30:15 -04:00
LexManos
728b4857c3
Fix misobfed methods due to mapping conflict.
2019-06-08 09:22:03 -07: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
b74b72e44c
Fix NamespacedWrapper not delegating a new getter. Fixing data loading spam at world start.
...
Update red/yellow/green tags with new vanilla item names.
Reenabled test source directory in project and made ModelDataTest compile.
2019-06-07 19:34:16 -07:00
cpw
850c73b73f
and userdev
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-07 17:34:25 -04:00
cpw
d736e26e0c
Fix realms class name
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-07 17:32:33 -04:00
LexManos
a7df63e1a1
Update to 1.14.2
2019-06-07 16:50:47 -04:00
LexManos
d3e8804dbf
Include new library in installer json.
...
Change order of versions on main menu, to prevent overlap with default window size.
Fix Forge update not displaying version info.
2019-05-27 19:13:55 -07:00
LexManos
4b5bf760ec
Fix tall grass not dropping seeds. Closes #5675
2019-05-27 13:46:19 -07:00
cpw
c57c6213ea
Enhance crash reports and logging to capture transformers on stack trace elements.
...
Moved log4j2.xml file to the launcher source set, so it loads first in the client.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-05-27 00:00:45 -04:00
tterrag
fb30820e2b
Remove cache eviction for model data, optimize
2019-05-23 21:49:39 -04:00
Philipp
61b612c88a
dimesnion -> dimension typos ( #5684 )
2019-05-21 15:43:45 -04:00
ben-mkiv
d3edc9dcdc
FENCES_NETHER_BRRICK => FENCES_NETHER_BRICK ( #5681 )
2019-05-21 15:43:45 -04:00
Hugman
ba2485b807
GEMS_QUARRTZ -> GEMS_QUARTZ ( #5635 )
2019-05-21 15:43:45 -04:00
Cadiboo
60c6635af5
Small comment typo fixes for ObfuscationReflectionHelper ( #5583 )
2019-05-21 15:43:45 -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
cpw
5cd82f16f2
Fix #5735 by pushing new build. Shutdown Forge eventbus when errors occur. Closes #5711
...
Also, improve logging so warnings, errors and fatals are always shown, regardless of marker.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-05-12 13:07:29 -04:00
tterrag
9e39570d49
Add ModelDataTest to test mods.toml
2019-05-11 23:22:24 -04:00
cpw
6a1337aa92
Updated a couple of libraries. Fixed bug where modid could be in toml but
...
not found during loading, yet game continued to load.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-05-11 20:47:42 -04:00
tterrag
7c90d9f3e8
Better handle errors from eclipse compiled (non-compiling) bytecode
2019-05-11 18:58:45 -04:00
tterrag
01a0674490
Finish model loader debug mod
2019-05-11 18:58:45 -04:00
tterrag
e482793f69
Comment out test Mod/EventBusSubscriber annotations, fix up ModelLoaderRegistryTest
2019-05-11 18:58:45 -04:00
tterrag
9209c3cbfe
Add new system for model data, replacing extended states ( #5564 )
2019-05-09 02:10:38 -04:00
LexManos
a7204b5cd3
Bump ForgeSPI version, and add support for DistCleaner stripping interfaces from classes.
...
Add more detail to VersionChecker log info.
2019-05-06 15:52:12 -07:00
tterrag
616416569b
Add explicit return type checks for extensible enums, fix exc
2019-04-25 19:51:20 -04:00
tterrag
cab1b9716c
Fix EnumRarity, make sure extensible enums have at least one factory candidate
2019-04-25 19:38:03 -04:00
tterrag
bda3f1b7c6
Make EnumRarity extensible
2019-04-25 19:29:19 -04:00
tterrag
416bf9e3bf
Allow loading json constants outside of _constants
2019-04-25 19:22:43 -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
Robert WC Seifert
f68fdcf703
Fix for SidedInvWrapper isItemValid using wrong slot ( #5642 )
2019-04-25 18:20:42 -04:00
tterrag
d8137f7bcf
Add comment to vanilla bugfix, update skipped_commits.md
2019-04-25 15:59:08 -04:00
tterrag
42c27b8845
Change default username to 'Dev', add ability to replace '#' with randomized numbers
2019-04-25 15:52:02 -04:00
ichttt
1aae18d4bc
Minor performace improvement when building chunks and rendering blocks ( #5286 )
2019-04-24 13:20:19 -04:00
Ben Staddon
45902676fd
Catch json parsing errors from constants/factories files ( #5258 )
2019-04-24 13:12:03 -04:00
Ben Staddon
931105123e
Allow custom DataSerializers to be registered safely ( #5245 )
2019-04-24 13:05:12 -04:00
tterrag
cf35019d07
Further clean up Constants, and add two new BlockFlags
2019-04-24 12:58:09 -04:00
tterrag
d6da893c0c
Update Constants for 1.13
2019-04-24 01:26:24 -04:00
Wyn Price
47a7d8e2b7
Added more Constants ( #5323 )
2019-04-24 01:25:21 -04:00
Thanh-Phuong
cb0cf2f04f
Add a few events pertaining to villages ( #5302 )
2019-04-24 01:07:02 -04:00
tterrag
a4cf5951ca
Sync up canPlaceTorchOnTop logic with BlockTorch#isValidPosition
2019-04-24 00:59:03 -04:00
Tyler Hancock
2ea475ad31
Fix special spawn event not firing in many cases. ( #5389 )
...
Co-authored-by: tterrag <tterrag1098@gmail.com>
2019-04-23 21:10:37 -04:00
Ben Staddon
eed92ba07c
Only prompt for missing registries on local worlds ( #5348 )
2019-04-23 20:45:48 -04:00
tterrag
a86317efc8
Reimplement ForgeHooks#onPlaceItemIntoWorld and remove old place events
2019-04-23 20:42:08 -04:00
Christopher Krier
ca973f053f
Add EntityPlaceEvent ( #5057 )
...
Co-authored-by: tterrag <tterrag1098@gmail.com>
2019-04-23 19:58:09 -04:00
Ben Staddon
119e4a6924
Fix small logic error in ItemTextureQuadConverter ( #5463 )
2019-04-23 19:03:43 -04:00
Ben Staddon
aef224221f
Better support for custom bows ( #5209 )
2019-04-23 18:04:19 -04:00
Ben Staddon
18d0f7ba0d
Fix up torch placement logic to handle more vanilla special-casing ( #5426 )
2019-04-23 17:39:50 -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
817546e4c8
Add a hook to allow continuously using items through stack changes ( #4834 )
2019-04-23 15:12:55 -04:00
Ben Staddon
f19fed0853
Add redirects to PotionEffect to respect registry replacement ( #5213 )
2019-04-23 14:47:47 -04:00
tterrag
06f67f7696
Add FieldRedirectTransformer updated to new modlauncher API
2019-04-23 14:39:26 -04:00
Ben Staddon
501f1dc8dc
Fix small logic error in emissive item rendering code ( #5320 )
2019-04-23 12:37:32 -04:00
Ben Staddon
8b5a5ecd74
Ensure slave maps are cleaned up when handling registry overrides ( #5250 )
2019-04-23 12:31:55 -04:00
tterrag
cb3ff19801
Remove hack to force enum configs to strings
2019-04-18 22:13:19 -04:00
tterrag
f30d7bc845
Fix #5688 config values are unordered, update Night-Config
2019-04-18 22:13:13 -04:00
ichttt
c0aa4c8517
Cleanup/Implement some todos ( #5660 )
2019-04-17 13:57:32 -07:00
ichttt
e868739675
Readd redirecting of stdout and stderr ( #5678 )
2019-04-16 14:08:08 -07: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
8515b9dd10
Fix compile error in FakePlayer from cherry pick
2019-04-13 21:42:42 -04:00
LexManos
592b957b77
Fix potential issues with the Minecraft FakePlayer lingering around after world unloads.
2019-04-13 11:17:27 -04:00
tterrag
65cfef1b2e
Fix potion remove event not always firing, add expiry event
2019-04-13 11:17:00 -04:00
mcenderdragon
914fe91db5
added PotionHooks, closes #3867 , #4375 ( #4614 )
2019-04-13 11:03:58 -04:00
ichttt
a67cce2f91
Add a hook for farmland watering ( #4891 )
2019-04-12 20:16:34 -04:00
tterrag
abf010ac48
Fix #5659 setdimension command entity filtering, avoid inverting logic
2019-04-12 19:43:41 -04:00
Ben Staddon
2baa05ace9
Improve support for custom block path types ( #5203 )
...
Co-authored-by: tterrag <tterrag1098@gmail.com>
2019-04-12 13:47:48 -04:00
Ben Staddon
fa708f93ee
Allow items to control the rate of repair from mending ( #5102 )
2019-04-12 13:26:15 -04:00
Ben Staddon
e376172312
Improve context provided by potion icon rendering hooks ( #5111 )
2019-04-12 11:05:34 -04:00
MrRiegel
d20b1f271e
Fix an ObjectHolderRef internal error message ( #5214 )
2019-04-12 10:49:26 -04: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
3f70fd49ff
Fix missing string parameters in some log messages ( #5210 )
2019-04-11 18:57:37 -04:00
Ben Staddon
7496e3dbdf
Re-add some missing villager profession patches ( #5200 )
...
* Fix zombie villagers only spawning with vanilla professions
* Fix spawning modded villagers that do not have their own building
2019-04-11 18:50:01 -04:00
Ben Staddon
a02bec7ebe
Fix some null returns from defaulted registries ( #5235 )
2019-04-11 18:05:26 -04:00
Yanbing Zhao
254c1d1531
Only remove synthetic lambda methods referenced in body of SideOnly methods ( #5127 )
2019-04-11 18:02:34 -04:00
gaudus
7d2c8fa6ef
fixed visual bug with guislider
2019-04-11 17:38:01 -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
cpw
aa7380acc6
Actually parse the i18n exception message into the super constructor,
...
so the exception has a useful text message, even in crash logs and
on the server.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-04-06 14:22:24 -04:00
cpw
cdbd842494
Refactor to use naming service, and provide an MCP naming service when
...
in userdev. Step 1 to supporting loading SRG mods in userdev.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-04-06 12:10:54 -04:00
cpw
3f735b715b
Implement API for mods to control their server status response..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-31 16:36:49 -04:00
cpw
4ecb04ed9f
Merge branch 'pull/5636' into 1.13.x
2019-03-30 15:03:48 -04:00
cpw
e0361047f7
Fix StartupQuery to run properly on dedicated server.. Closes #5649
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-30 14:46:30 -04:00
tterrag
37016ca77f
Remove remaining deprecations, improve a few patch comments
2019-03-29 16:58:33 -04:00
tterrag
98ef5049f4
Fix BrandingControl caching text through resource reload
2019-03-29 16:29:26 -04:00
cpw
944d760855
Fire the ModIdRemappingEvent on the Forge Event bus. Closes #5632
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-25 21:55:34 -04:00
cpw
e0e999da0d
Remove redundant method call in Minecraft patch. Also fix a translation
...
string error (closes #5643 )
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-25 21:55: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
JoJoDeveloping
7e4101b3ad
Remove game registry comparsion from list ping
...
Signed-off-by: JoJoDeveloping <jojohostert@gmail.com>
2019-03-25 22:22:29 +01:00
cpw
d8d30e1f82
Defer configuration of channel until it is actually available during
...
connection. Closes #5626
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-25 17:20:44 -04:00
Brennan Ward
36470f69ad
Add class to wrap IItemHandler as IInventory for easier recipe interaction. ( #5522 )
2019-03-25 12:31:54 -07: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
Vincent Lee
5e7279b0a2
Fix PlayerInteractEvent using Dist when it should be using LogicalSide ( #5611 )
2019-03-25 11:41:08 -07:00
JoJoDeveloping
4764136d47
Re-Add the list ping compatibility checker
...
Signed-off-by: JoJoDeveloping <jojohostert@gmail.com>
2019-03-25 15:15:25 +01:00
tterrag
10a06157aa
Update Night-Config to 3.5.0, improve defineEnum methods
...
Closes #5537
2019-03-23 00:12:48 -04:00
tterrag
d7ba9a50df
Fix loading errors GUI crashing when errors occur during construction
2019-03-22 20:58:10 -04:00
LexManos
18400e8457
Revive CapabilityProvider on entity revive. Madders should NOT need this, as caps are copied via NBT.
2019-03-19 21:21:37 -07:00
LexManos
f5375783c6
Do not invalidate caps when entity is being moved across worlds. Should fix #5500
2019-03-19 14:10:29 -07:00
LexManos
8045e48952
Fix NPE in TileEntityPistonRender when class is created to early.
2019-03-17 22:15:52 -07:00
Ben Staddon
be18bdee88
Fix getDefaultCreatorModId for enchanted books ( #5534 )
2019-03-17 13:51:10 -07:00
tterrag
1e34f331da
Handle null return from ResourcePackInfo.createResourcePack
2019-03-16 01:52:37 -04:00
cpw
d99a55a7d1
Allow login packets to only generate on server based connections
...
Run injectSnapshot on the client thread, wait for result and
disconnect when injectSnapshot fails.
Fix DevServer to load MOD_CLASSES
Fix LaunchTesting to properly load log4j2 markers (don't use a
static variable in that class!)
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-15 23:22:28 -04:00
its_meow
ff6fa31b1d
Fix entity spawn packet pitch (reversed yaw/pitch) ( #5603 )
2019-03-13 12:53:48 -07:00
ichttt
00845d5252
Add UI for warnings that occurred during loading ( #5530 )
2019-03-11 15:32:37 -07:00
LexManos
7113f4400c
Fix max entity radius not being settable by making it a instance method on world. Closes #5601
...
Fix VoidFluidHandler.INSTANCE not being a instance of VoidFluidHandler. Closes #5602
Remove backwards compat code and make IItemHandler.isItemValid non-default. Closes #5598
2019-03-11 15:04:04 -07:00
cpw
7cfc5c3316
Add in the ability to load modlists from a file.
...
This is simple: <modfile>.list is a newline separated list
of maven-like coordinates for mods to load into the game.
They are searched for in all known maven roots.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-09 17:51:37 -05:00
LexManos
47e6b34d2b
DimensionManager.registerDimension now returns the DimensionType instance for convienance.
...
You can still access others in DimensionType.getByName()
Fixed ForgeRegistry rappers not forwarding isEmpty.
2019-03-06 21:01:12 -08:00
LexManos
3003e33074
Refactor Userdev and Forgedev launching.
...
Locating mods on the classpath in dev should solve linked MC sources when debugging.
As well as loading deobfed mods.
Rewrote how arguments are handled in dev, so users can overwrite any defaults we provide.
Added basic Yggdrasil auth support. Passing in --username and --password arguments.
ONLY USE IF NECESSARY. Forge is NOT responsible for your login information.
2019-03-06 20:59:32 -08:00
LexManos
7bd7b059c4
Make userdev parse out the classifier for the Forge jar that is on the classpath.
...
Should fix debugging Minecraft at dev time.
2019-03-06 12:06:49 -08:00
cpw
230d69b772
Tidy up network initialization, and force it to classload early in
...
modloading lifecycle. Closes #5576
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-04 08:22:46 -05:00
cpw
cbfa572acb
Tweak log4j2 config and allow access to classdump functionality from
...
modlauncher.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-02 15:31:35 -05:00
cpw
8f5a2be6fd
Fix #5584 by copying the zipped resource to a temporary directory if
...
paulscode is requesting it. This is so icky.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-01 22:07:11 -05:00
cpw
45f5f0904a
Log a message as well, when we crash.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-01 19:48:25 -05:00
cpw
6db8b3c26d
Try writing a temporary file to disk when a paulscode thread requests
...
a resource, because even zipfilesystems return interruptible file channels.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-01 19:46:59 -05:00
cpw
b4ccafe718
Enforce specversion number for forgeSPI so we don't crash with weird errors later.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-03-01 19:27:22 -05:00
cpw
3c73dc2d0b
Put both LogicalSides on NetworkDirection:
...
Origination (where it came from) and Reception (where it arrived at).
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-28 21:39:36 -05:00
LexManos
58494f8878
Rewrite the FML Handshake packet formats to include actually syncing the registry data and introduce the concept of caching it locally.
...
Snapshots are not injected yet due top threading issues.
2019-02-27 23:56:31 -08:00
cpw
cb70702ab5
Handle differing network versions for FML gracefully?
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-28 00:59:27 -05:00
cpw
7f1ea578d6
Fix problem with duplicate mods caused by duplicate classes found during scan.
...
File Scan results are now sets.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-27 23:34:23 -05:00
cpw
dd7e7fc122
Try to fix #5573 by peeling the worldclient fetch into a separate handler.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-27 13:45:51 -05:00
cpw
0bcc60fbe3
Tidy up server launch. The JAR will resolve it's libraries from a relative
...
path. We just need to verify what we need is on the classpath, and
try and handle when it's not, cleanly (by recommending running the
installer).
The manifest now embeds the correct launch arguments to allow FML to
resolve - these were _never_ editable, and belong somewhere out of
the way.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-26 10:28:48 -05:00
Ben Staddon
af717ad788
Fix droppers not spawning items in world ( #5559 )
2019-02-25 00:47:37 -05:00
cpw
2a4e05c982
Allow vanilla connections properly, and allow mods to decide.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-24 13:52:26 -05:00
cpw
c219416bb8
Patch DimensionSavedDataManager to not spam FS mkdirs requests for
...
empty files that don't exist yet, and don't contain data. Should
result in a significant performance improvement for those with slower disks.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-24 13:03:11 -05:00
cpw
8d1ff45c71
Fix GUI packet dispatch, add additional blockpos helper for common usecase.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-24 11:51:53 -05:00
cpw
245d0b6282
Fix startup Query to actually display (fixed commit).
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-23 20:42:45 -05:00
cpw
bbdf52e038
Update to 0.10 modlauncher API with performance improvements..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-23 14:36:05 -05:00
LexManos
1469df26db
Delete old OreDictionary file, fix type in NUGGETS_IRON field name, and ping discord from jenkins.
2019-02-21 21:26:45 -08:00
LexManos
b7f6fbcfcb
Merge extra and data jars. As Log4j has issues with it's config being in a different jar then the custom logger.
2019-02-21 04:24:39 -08:00
tterrag
329f26ee20
Add GuiUtils.drawInscribedRect, use in mod list GUI to fix logo rendering
2019-02-19 21:48:34 -05:00
tterrag
57cd8324dc
Fix reference to UnsafeHacks in RuntimeEnumExtender
2019-02-19 19:28:17 -05:00
tterrag
4b564b91bf
Fix MinecraftForge.initialize not being called.
...
Fixes UsernameCache and harvest tools
Closes #5529
2019-02-19 12:33:41 -05:00
tterrag
4abfedea68
Make BannerPattern extensible ( #5464 )
2019-02-19 12:14:14 -05:00
Ben Staddon
7d971a3262
Remove EnumFacing internal ID maps from AT file ( #5526 )
2019-02-18 23:16:28 -08:00
Cadiboo
ab92801740
Fix bug with ObfuscationReflectionHelper ( #5509 )
2019-02-18 14:12:07 -08:00
cpw
1d6536a53b
Move unsafehacks to separate JAR built separately..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-18 15:54:36 -05:00
tterrag
60315d079b
Clean up Entity patches, remove extra method. Closes #5494
2019-02-18 15:52:01 -05:00
cpw
70be790b2a
Add a simple network API..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-18 15:09:03 -05:00
Jack Taylor
2e2c57dbd1
Refactor forge and example run configs based on MinecraftForge/ForgeGradle#546
...
- Updated run config formats based on the refactored setup
- Removed old 'runclient' and 'runserver' JavaExec tasks, replacing them by creating the run configs using the refactored setup.
- Set 'assetIndex' environment variable from FG
- Updated MDK for new run config setup
2019-02-18 14:39:05 -05:00
cpw
e47fa70279
Fix connection to vanilla servers. Generate a default mod server config
...
for mods connecting to servers.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-17 16:07:47 -05:00
cpw
e248503b0a
Fix TPS string
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-17 15:03:25 -05:00
Vincent Lee
3f2c66dca5
Change openGui to take a Consumer<PacketBuffer>
2019-02-17 20:02:29 +00:00
cpw
579c3ecc0e
Fix assetIndexes for 1.13.1
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-16 17:16:34 -05:00
cpw
ae01194a5e
Merge branch 'pull/5484' into 1.13.x
2019-02-16 16:59:13 -05:00
gegy1000
3c006c4ca4
Fix lazy ModContainer evaluation skipping thrown loadingExceptions
...
Fix formatting
2019-02-16 16:58:54 -05:00
cpw
738d54ff4c
Fixes #5446 Listening for the same registry event in two different mods fails
...
Tell the mod event bus not to track phasing for events.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-16 16:45:05 -05:00
cpw
7f9e8d059b
Fix network syncing of SERVER config. Enable COMMON Config. Fix network
...
login handling.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-15 21:45:28 -05:00
cpw
36ccb3bbfe
Fix serverlang loading issue, by frontloading MC and Forge langs,
...
so error messaging works.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-15 20:00:41 -05:00
cpw
3e516e54b2
Remove Forge ChunkLoader - vanilla has a new system. API will follow.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-14 23:15:40 -05:00
tterrag
3baa00decb
Fix Block$Properties AT for new class name
2019-02-14 23:13:37 -05:00
cpw
78455ac3c0
Add the language providers to the main classloader as well, so
...
their resources are available to other classes..
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-14 21:43:56 -05:00
tterrag
2ec74e5c22
Fix RegistryManager#getRegistry not working for generic registry entries
2019-02-14 18:50:15 -05:00
tterrag
9d56309a05
Fix license headers
2019-02-14 18:49:40 -05:00
LexManos
2f547c8c56
Fix javac compile issues.
2019-02-14 15:21:28 -08: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
9a1688599a
Actually fix byte array behaviour for openGui.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-14 14:34:39 -05:00
cpw
d6c3df32d6
Fix byte array behaviour for OpenContainer packet
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-13 23:25:48 -05:00
cpw
28c0ffe333
Clean up the mod loading context objects. There is only one ThreadLocal now.
...
**BREAKING CHANGE** FMLModLoadingContext is renamed to FMLJavaModLoadingContext.
LanguageProviders can setup additional contextual data.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-13 22:13:59 -05:00
cpw
586c24f9d6
Implement a GUI packet and GUIFACTORY for triggering from the server.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-13 21:06:39 -05:00
cpw
31c0a70f8e
Merge branch 'pull/5451' into 1.13-pre
...
# Conflicts:
# patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch
2019-02-13 18:59:43 -05:00
cpw
64a92530d9
Handle bad formats with an exception. Translators MAKE SURE you watch for this error!
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-13 18:54:43 -05:00
cpw
4441935a4a
Handle invalid JAR files more gracefully. Don't crash.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-13 18:33:50 -05:00
cpw
f1feac76b3
Fix JKS to be stored as binary
2019-02-11 13:51:13 -05:00
cpw
d9c4446ccc
Enable https to Let's Encrypt endpoints by using an SSL factory with
...
the two extra Let's Encrypt root certs installed into an auxiliary
keystore.
The keystore was generated using standard commands, documented in the
FixSSL class.
The Let's Encrypt certificates are not provided by default in Java 8
prior to update 101.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 23:41:40 -05: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
cpw
fd02d81e73
Fix Terminal Handler and GUI logging on dediserver, hopefully..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 17:51:25 -05:00
cpw
0d379fdd6b
Fix config to use new system properly, without exploding the server.
...
Separates server specific config into the server config file.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 16:38:14 -05:00
cpw
f6fd800242
Fix up accidental newline removal that broke the console...
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 16:31:49 -05:00
cpw
c25214aaf4
Fix #5429 properly, without breaking symlinks on linux..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 15:58:12 -05:00
cpw
c6afb2be3f
Move to using Minecrell's terminal logger directly, for better ANSI control and JLine support.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 14:35:21 -05:00
cpw
13501a8b05
Make a second logger with colour highlighting and control it with a sysproperty:
...
forge.logging.colourconsole.level (defaults to off)..
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 11:45:36 -05:00
cpw
dae5994e9d
Tidy up modcontainer building and discovery..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 11:44:47 -05:00
cpw
b28a418bd9
Use a configuration value for the thread count, make it default to
...
availableProcessors when set to <=0 (default value is -1)
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 11:44:22 -05:00
cpw
64f69cf5c9
Revert "Make sure to create entire path for directory, fixes #5429 "
...
This reverts commit 77dd9eb8
This will completely break symlinks on linux.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-10 10:26:21 -05:00
m00nl1ght-dev
8084ca43b9
Port CommandEvent and custom entity selectors to 1.13 ( #5411 )
2019-02-08 17:41:50 -08:00
LexManos
2e5f25d8ae
Finish off most old patches, fix issue for mounted entities.
2019-02-08 17:40:07 -08:00
Vincent Lee
153e7a1806
Tentatively reintroduce a container-opening system
2019-02-07 20:31:17 -06:00
tterrag
065ebd748a
Add synchronized modifier to runtime enhanced enum methods
2019-02-07 17:01:40 -05:00
tterrag
79c17cb542
Add IExtensibleEnum, fix DimensionType create method
2019-02-07 16:36:30 -05:00
LexManos
9245975955
Change IRenderHandler to an interface Closes #4640
2019-02-07 12:03:13 -08:00
mcenderdragon
6ea19ec8bf
Made functional interface IChunkGeneratorFactory public ( #5395 )
2019-02-06 23:18:47 -08:00
Bartosz Skrzypczak
b527bf8ab3
Fix leaking unclosed InputStream in Scanner.fileVisitor ( #5432 )
2019-02-06 22:57:00 -08:00
LexManos
0b1b3c68fa
Invalidate capabilities that we attach to vanilla entities and TileEntities. Closes #5307
2019-02-06 22:55:17 -08:00
LexManos
d930c8ae8b
'Fix' Specific y-levels in water behaving like you're in air. Closes #5341
2019-02-06 21:43:37 -08:00
LexManos
053c5300ed
Reintroduce ObfuscationReflestionHelper closes #5373
2019-02-06 20:46:21 -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
LexManos
71dd5c9f4d
Properly set context classloader in mod loading threads.
2019-02-05 22:42:21 -08:00
LexManos
aa91af865d
Rework server launching at runtime to include needed default arguments and validate libraries exist.
...
Move Forge config loading to manual while config system is in development.
2019-02-04 18:23:58 -08:00
Girafi
9119e395d4
Added 'create'-method for EnumCreatureType ( #5400 )
2019-02-04 11:40:03 -08:00
Merlin Addams
68433924c7
Fix redstone power calculation ( #5433 )
2019-02-04 11:38:54 -08:00
Merlin Addams
87b67cb45a
Fix wrong grass block being used for comparisons ( #5434 )
2019-02-04 11:38:01 -08:00
tterrag
77dd9eb883
Make sure to create entire path for directory, fixes #5429
2019-02-04 12:31:47 -05:00
cpw
e000fd2f8f
Put the FMLModContainer back in it's cage. Delete the ClasspathLocator.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-01 20:37:04 -05:00
cpw
e4d20a80ed
Use the resource pack directly in the GuiModList, skip the resourcepackinfo.
...
Closes #5418
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-02-01 16:55:28 -05:00
cpw
55691fce4e
Expose the ModFile in the scan data, so languages can read it and make
...
mod construction decisions.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-31 23:09:47 -05:00
Justin
d2a3b5bed8
Fix RuntimeEnumExtender creating new enums with incorrect ordinal value ( #5402 )
2019-01-30 12:51:14 -08:00
cpw
6365674a2a
Config watching and config events now actually work!
...
Also fixed small bug with MOD_CLASSES not defaulting to empty string.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-29 15:42:56 -05:00
cpw
7a02ccc3a8
ConfigEvents - the beginning.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-28 22:42:37 -05:00
cpw
2918864248
Merge branch 'pull/5405' into 1.13-pre
2019-01-28 20:50:12 -05:00
cpw
9fbfe2b98e
Fix 5408 by making Paths from the default provider (not inside jars)
...
offer a FileInputStream rather than Files.newInputStream. Fun. Stupid
ancient paulscode.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-28 20:37:25 -05:00
LexManos
b40e2cc59e
More old patch work, cleaned up static methods added to ItemStack, and various networking functions.
2019-01-28 16:25:49 -08:00
ichttt
3eac9c536b
Config option implemented
2019-01-27 22:02:58 +01:00
ichttt
ad32b01d85
Reimplement update checker
2019-01-27 21:23:24 +01: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
cpw
0a11ffb827
More logging tweaks, including some aimed at userdev.
...
`forge.logging.markers=<LIST OF MARKERS>` will enable markers.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-27 00:06:57 -05:00
cpw
3c55b46ca0
Big cleanup of logging. Might do some tweaks of the userdev logging, but this should be good for vanilla..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 22:18:28 -05:00
mezz
7d21e5d328
Cherry pick mezz's logging improvements..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 21:09:43 -05:00
ichttt
9ee34f57f5
Fix some of minecraft's resources loading twice, as minecraft is on the list of namespaces as minecraft and as an empty string
2019-01-26 23:23:05 +01:00
cpw
d539dc12a1
Fix modsorter to not crash on soft dependencies that don't exist.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 17:07:17 -05:00
cpw
c578cae676
Fix resource pack info generator - use the first modid as part of the
...
pack prefix.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 16:56:10 -05:00
cpw
8b74b32909
Make MOD_CLASSES available to the forge development environment as well.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 13:07:30 -05:00
cpw
1d1133123b
Change MOD_CLASSES to support %% separated paths, that are grouped into
...
<prefix>%%<path> sets. Allows for multiple mods to be located in UserDev.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 12:29:55 -05:00
cpw
0bdafb976e
Fix handing the "minecraft" dependency properly by adding it to the list
...
of mods.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-26 11:23:51 -05:00
Vincent Lee
13f9418201
Send head yaw, use setPositionAndRotation
2019-01-26 10:25:20 -05:00
Vincent Lee
a771a3ea06
Add license header
2019-01-26 10:25:20 -05:00
Vincent Lee
1f11ac76fa
Readd modded entity spawning/tracking support
2019-01-26 10:25:19 -05:00
mariaum
2e1456517a
Fix first call to ToolType.get always returning null ( #5396 )
2019-01-25 22:40:03 -05:00
SquidDev
659091c565
A couple of minor improvements and fixes to ForgeConfigSpec ( #5394 )
...
- Use the config file's path instead of the config object in error messages.
- Print the dotted path of each config key instead of the array version (group.item instead of [group item]).
- Fix comments causing a config file to be considered incorrect.
- Pass each list element to the element validator, rather than the whole list.
2019-01-25 13:43:06 -08: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
ShetiPhian
06a6fac23a
Add a RayTraceResult method to Block that can be can be overridden ( #5354 )
2019-01-25 13:29:07 -08:00
Vincent Lee
fa939a890c
[1.13] Make Caps, TESR, Entity renderers, and keybinds thread safe to call during parallel init ( #5359 )
2019-01-25 13:14:49 -08:00
LexManos
7a651b8c1f
Repatch missed hasTileEntity redirects. And cleanup related patches. Closes #5369
2019-01-25 13:11:06 -08:00
mcenderdragon
d3c9db906f
Make ChunkGeneratorType.Settings accessible for modders ( #5376 )
2019-01-25 11:24:24 -08:00
mariaum
6643997304
Fix #5365 : Some chat messages lose their formatting ( #5386 )
2019-01-25 11:19:49 -08:00
LexManos
7b867d0069
Fix vanilla trying to load the constants json as an recipe. Closes #5388
...
Force constant names to use namespace of their json file. To prevent conflicts.
2019-01-25 11:18:25 -08:00
Brennan Ward
a15c4dc9b0
Add recipe types for faster runtime iteration. ( #5312 )
2019-01-25 10:22:41 -08:00
tterrag
7c11fe1022
Fix capability attach event not firing with base type
2019-01-24 21:04:50 -05:00
tterrag
0b2a98f956
Fix dependents not being loaded into mod sorter
2019-01-23 20:04:57 -05:00
liach
c01b336095
Improves topological sort
...
This can be used for mod sorting, dependencies between registries, etc.
e.g. https://github.com/MinecraftForge/MinecraftForge/pull/4694#issuecomment-412520302
New features:
Now accepts guava graph
Performance improvement: no longer reverse the graph; changed dfs to bfs
Accepets a comparator for secondary order, e.g. natural order, index by map
Now properly reports all cycles in a graph with Tarjan's strongly connected component algorithm
Adds a test to prove the validity of the sort and cycle detection
Modified build.gradle for test source directory and dependencies
Mod loading changes:
Sort mod file info instead of suppliers (we don't have suppliers instances)
Moves cycle error reporting out of topological sort and into mod sorter
Prevent mod file dependencies between mods that share the same file
Signed-off-by: liach <liach@users.noreply.github.com>
2019-01-21 03:06:27 +00:00
cpw
040cc4bf16
Expose a couple of mods.toml properties properly. Half-implemented
...
override namespace - still needs to be reviewed and determined how this
might work in detail.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-20 21:26:31 -05:00
SquidDev
eefc4d3e84
Use the reply logical side when enqueing work
...
When receiving a packet, NetworkDirection.getLogicalSide details where
the packet was the packet was sent from. Therefore, on a client it'll
be SERVER (and vice virsa), and so the work is queued on the sever
thread, instead of using Minecraft.
2019-01-20 12:31:12 -05:00
ichttt
c3c979f11a
Use minecraft's util class to open files
2019-01-20 12:23:44 -05:00
ichttt
276d0c49c1
Validate mod ids
2019-01-20 12:23:44 -05:00
cpw
7c840dce35
Fix classcast in autoeventsubscriber, also actually make progression
...
work properly. This whole thing is a bit of a gross hack.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-20 12:20:27 -05:00
alexbegt
2bee5f7ac6
Fix recipe constants being overridden by a blank map. Closes #5380
2019-01-20 16:03:09 +00:00
cpw
60524f0f3e
Fix case error in AutomaticEventSubscriber
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-20 00:32:11 -05:00
cpw
f4d2d1a24b
Move Registry Events to the mod event bus.
...
Add infrastructure to allow parallel or synchronous dispatch of
mod events, and pass-through of events to the dispatch system.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-01-19 23:27:27 -05:00
tterrag
ff2e35c243
Greatly improve DeferredWorkQueue API ( #5357 )
2019-01-18 21:10:22 -05:00
tterrag
0d1a2f2af3
Add utilities that RuntimeEnumExtender expects to exist
2019-01-17 13:11:54 -05:00
LexManos
3b029ba031
Re-introduce patch for injecting registry mappings during world loading.
...
And re-introduce registry freezing to ONLY the Register events.
Filter ObjectHolders by registry type and fire between every Register event.
2019-01-16 12:28:13 -08:00
tterrag
cd21f7b927
Implement ConfigValue as a wrapper around ForgeConfigSpec results ( #5361 )
2019-01-15 23:28:40 -05:00
cpw
755eff7415
Fix exploded directory locator to actually scan all paths for a file.
2019-01-15 22:14:23 -05:00
cpw
56a3926b86
Fix up event naming, move them to sensible packages and document everything a bit.
2019-01-14 22:43:17 -05:00
Vincent Lee
220bf8730a
[1.13] Expand tag deserializer to add optional values and remove values without overwriting everything. ( #5350 )
2019-01-14 19:23:36 -08:00
mezz
118eac8f39
Fix mod lifecycle event names
2019-01-14 14:00:15 -08:00
cpw
99452a8b45
Update a bunch of libs, rename some of the mod events to more
...
meaningful names.
2019-01-14 00:39:00 -05:00
LexManos
eb42614288
Add list support to ForgeConfigSpec.
...
Fix incorrect Supplier used in ForgeConfigSpec.
Port ForgeChunkManager config to new system.
Delete old Configuration classes. It's finally gone!
2019-01-11 23:01:08 -08: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
Tim
497bc10d0a
Fix Mesa biome entry tags in the BiomeDictionary ( #5177 )
2019-01-11 18:32:17 -05:00
Ben Staddon
c1bb5cb250
Patch PotionHelper to use registry delegates ( #5142 )
2019-01-11 18:32:17 -05:00
tterrag
958bbf6c9a
Fix MC-136995 - Chunk loading and unloading issue with entities placed in exact positions. ( #5160 )
...
This includes three commits from 1.12.x:
c20a5e8805
93b704b459
ee0d43bbde
Scatter gun patches to improve entity tracking and position tracking.
Provided by Aikar through the Paper project, this commit of patches combines the following patches:
fd1bd5223a/Spigot-Server-Patches/0306-Mark-chunk-dirty-anytime-entities-change-to-guarante.patch
fd1bd5223a/Spigot-Server-Patches/0315-Always-process-chunk-registration-after-moving.patch
fd1bd5223a/Spigot-Server-Patches/0335-Ensure-chunks-are-always-loaded-on-hard-position-set.patch
fd1bd5223a/Spigot-Server-Patches/0378-Sync-Player-Position-to-Vehicles.patch
Co-authored-by: Gabriel Harris-Rouquette <github@gabizou.com>
2019-01-11 18:32:16 -05:00
David Quintana
e98951ee65
Fix blockstate id map calculation. ( #5279 )
2019-01-11 14:52:30 -08:00
LexManos
3765d912a5
Move @EventBusSubscriber application to just after construction instead of pre-init.
2019-01-11 12:28:06 -08:00
Vincent Lee
849bc00b46
Make Block.Builder methods accessible. Closes #5310 ( #5313 )
2019-01-11 11:47:51 -08:00
Vincent Lee
985a48f02e
Fix datapack walking not working for mod datapacks. Closes #5334 ( #5335 )
2019-01-09 20:59:40 -08:00
Vincent Lee
4e196a445a
Add missing setSeed calls to ForgeBlockModelRenderer ( #5338 )
2019-01-09 20:57:55 -08:00
LexManos
36d2e67b07
Reimplement @ObjectHolder scanning, and expose system for others to add handlers.
...
Fix forgedev and userdev run configs.
Fix issue in log functions assuming String arguments.
2019-01-09 20:57:01 -08:00
LexManos
f7acc73282
Update userdev and runconfigs for ForgeGradle changes.
2019-01-08 00:29:36 -08:00
cpw
60926ad6ea
Fix some translation strings. Will pull a big string update from crowdin too.
2019-01-06 21:02:08 -05:00
cpw
f734e614e4
Fire registry events before preinit and after construct.
2019-01-06 17:19:18 -05:00
cpw
1b40618f02
Fix classloading properly. ModLoadingClassLoader doesn't work
...
with the proper delegation model. Abandoned it, in favour of injecting
locators into the Transformer classloader directly.
2019-01-06 16:24:32 -05:00
cpw
58c78560fa
Fix up some stuff with resource packs, so the guilist works properly.
2019-01-05 10:19:47 -05:00
cpw
fd9c83b65f
Finish up classloading system. Use ModJARURL to locate resources
...
and enable ModLauncher to use those instead. This allows all mods to load
within the scope of the game classloader, removing weird conflicts and
class discovery problems.
2019-01-04 23:56:10 -05:00
cpw
6baddc7e26
client and server work standalone and in forge dev. Next up userdev.
...
Moved some launchplugin code to the launcher. Moved servermain to
the launcher.
server currently needs cmdline arguments --fml.forgeVersion=24.0.51-1.13-pre --fml.mcVersion=1.13 --fml.mcpVersion=2018.09.12.04.11.00 --fml.forgeGroup=net.minecraftforge.test
2019-01-01 21:35:23 -05:00
cpw
e9580877b4
fix up some discovery code, and make regular runtime _mostly_ work.
...
Still WIP and doesn't quite get to main screen yet.
2019-01-01 16:50:04 -05:00
LexManos
440649bb95
Fix new launcher jar packaging.
...
Run license checker over new code.
2018-12-31 16:48:23 -08:00
cpw
48846bc0ba
separated fmllauncher code from main forge mod code. This enables much
...
stronger classloader separation between the two sides. Forge now
loads as a regular mod.
Still needs a bunch of debugging, but structure looks good and game loads
in forge dev.
2018-12-31 16:34:33 -05:00
cpw
558e1d2fb0
ResourceLocation Utils for doing things..
2018-12-31 16:34:33 -05:00
tterrag
0b26047ea8
Better documentation for IForgeWorldType, TERFast, TERAnimation
...
Also rename AnimationTESR to TileEntityRendererAnimation
2018-12-29 12:18:10 -05:00
tterrag
7f5a57f4af
Fix patch mistake in IForgeWorldType: CUSTOMIZED -> BUFFET
2018-12-29 12:01:41 -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
mezz
f2f04407a4
Add the sender to NetworkEvent.Context for server-side event handlers ( #5295 )
2018-12-22 23:24:11 -08:00
tterrag
8a11e3bac4
Port most of the world patches ( #5294 )
2018-12-22 10:31:18 -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
LexManos
a992a4325b
Change getWorld function name to prevent inheritance change in Chunk
2018-12-18 16:11:03 -08:00
David Quintana
c1225f3876
Fix the path handling for mod jar resource packs. ( #5228 )
2018-12-18 12:48:39 -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
David Quintana
52b6da1759
Fix classloading issues in userdev (and possibly also for things like tests within forgedev) ( #5275 )
2018-12-13 15:33:35 -08:00
LexManos
f13465012b
World and TileEntity patch work.
...
TerrtainGen events are removed, 1.13's world gen re-write invalidates them all.
2018-12-13 01:15:53 -08:00
David Quintana
b7b5dd5bea
Create a userdev-specific main, and include it as an injected file in the userdev jar. ( #5231 )
2018-12-11 20:04:23 -08:00
LexManos
7265900c62
More entity patch work. ISpecialArmor deleted.
2018-12-10 22:19:43 -08:00
Liqueur Librazy
719ea50d1a
Use getRawSchemeSpecificPart to preserve escape characters in uri, fix #5236 ( #5237 )
2018-12-10 11:07:50 -08:00
LexManos
bbf1ea41b8
world.gen.feature patches, worldgen should be stable with vanilla. In all places I looked.
2018-12-06 18:09:47 -08:00
LexManos
eb22f42fea
More patch work, our async chunk loading doesn't appear to be viable for 1.13.
2018-12-05 18:08:27 -08:00
LexManos
dd32e74e34
Entity patches progress.
2018-12-05 01:16:33 -08:00
malte0811
e1b4a150c3
Fix race condition causing the FML handshake to hang ( #5222 )
2018-12-04 12:22:01 -08:00
LexManos
76d912c0ba
Include project group in ForgeVersion and determine path to patched jar.
...
While testing we install to net.minecraftforge.test. So don't hardcode it.
2018-12-04 11:55:50 -08:00
LexManos
a3c8e04ee6
Item and NBT patches, IShearable blocks are responsible for setting themselves to air, to allow for setting other states.
2018-12-03 18:04:37 -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
b6ddb0a7cf
More patchwork.
2018-11-19 19:55:46 -08:00
LexManos
7c0d94ce9c
Patch work, most of block classes, and fix eclipse run configs.
2018-11-16 23:15:39 -08:00
malte0811
b5264cacf0
Fix crash when placing furnaces or brewing stands in 1.13 ( #5225 )
2018-11-15 13:55:18 -08:00
David Quintana
64c8f67939
Add missing license headers. ( #5192 )
2018-10-19 20:35:29 -07:00
tterrag
74703e2a60
Fix mod asset loading
2018-10-11 18:06:16 -04:00
cpw
43ed744d46
run textcomponenttranslations through the ForgeI18N message format translator as well.
2018-10-05 22:21:30 -04:00
cpw
e199e78a4f
load languages on the server as well as the client, and fix up a bunch of data packs.
2018-10-05 21:42:15 -04:00
cpw
1c9b5fae5e
Server run profile, also setup logging for client profile.
2018-10-05 01:25:27 -04:00
cpw
2b23eb96fb
Tweak library locating code. Works well on vanilla and dev now.
2018-10-04 23:24:02 -04: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
978d0ff2e3
Fall colours
...
🎃 🎃 🎃 🎃 🎃 🎃 🎃 🎃 🎃 🎃
2018-10-04 18:40:34 -04:00
cpw
129870dbe8
Missing language now presents to the UI.
2018-10-04 11:31:08 -04:00
cpw
d5e04dbcb5
Better error passing from early to game client launch.
2018-10-04 00:57:08 -04:00
cpw
c6e7bbe18b
Use the maven artifact code rather than our very outdated copy
2018-10-03 22:47:07 -04:00
cpw
0b11b0e6bb
Launch in the vanilla launcher now.
2018-10-02 00:32:41 -04:00
cpw
6485a48d79
Use latest paulscode (removes need for soundfix transformer) and fix gitignore.
2018-09-30 14:29:14 -04:00
cpw
fe12687ec1
Branding fixup.
2018-09-30 14:29:14 -04:00
cpw
0024d9d283
Config GUI tweaks, and MCP is now part of the "minecraft" entry.
2018-09-30 14:29:14 -04:00
cpw
015ac2547e
Fixup the config GUI and get things working again.
2018-09-29 01:29:49 -04:00
cpw
bb9eca96a8
Basic error display GUI.
2018-09-28 21:07:46 -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
LexManos
5ed03945a0
Disable eclipse compiler and switch to SRG patches.
2018-09-22 00:38:21 -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
c191851ec0
Fixed all compile errors except the 4 in KeyBinding.
2018-09-21 15:50:37 -07:00
LexManos
a0e217b1dc
More because git likes to split to many
2018-09-21 02:17:20 -07:00
LexManos
e2a17ac31b
Ran License checker to fix the headers of files missing them.
2018-09-21 02:15:03 -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
Anthony Anderson
0cd21ebe7e
Block patches and event work ( #5138 )
2018-09-20 13:11:02 -07:00
LexManos
b25f92b0c0
Add concept of pushing/poping levels to ForgeConfigSpec as well as comments on those levels.
2018-09-18 12:19:19 -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
LexManos
6814cbf0df
Beginning work on redesigning Config API.
2018-09-17 20:40:42 -07:00
LexManos
02c31cc867
More work on recipes, custom ingredients, recipes, and constants should work now.
2018-09-17 03:41:16 -07:00
cpw
03d19f2e70
Tweak to remove javac compile errors related to generics on registries.
...
Also remove the recipes registry call - they're gone from registries completely.
2018-09-16 22:27:08 -04:00
cpw
abacf8e141
Net handling pass 2. Tidied up login packet sourcing, generate registry packets.
2018-09-16 20:59:25 -04:00
cpw
9f2c7c881c
Net Handshake phase 1. Validates pairings on client and server.
2018-09-16 20:56:10 -04:00
LexManos
afead63381
Migrate most of the OreDictionary to tags.
2018-09-16 16:28:21 -07:00
tterrag
231dfeee31
Enforce bounds on min/max registry IDs
2018-09-16 16:59:08 -04:00
LexManos
c77d00efe4
Recipe work. No longer a registry. OreDictionary related code removed in favor of Tags. Started moving some OreDict items to tags.
...
Added code to RuntimeEnumExtender to return existing enum values with the same name if they exist instead of creating more.
2018-09-16 04:20:28 -07:00
tterrag
e3a931bf96
Fix errors in commands and getDimension->getId
2018-09-15 15:02:38 -04:00
LexManos
b4c23aba8e
Command work, and Added TileEntityType as a Forge Registry.
2018-09-15 00:59:19 -07:00
tterrag
3f743887e7
More compile cleanups. ( #5139 )
2018-09-14 09:30:56 -07: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
cpw
f72a7e02e3
Fix vanilla bug with GLFW init error display - actually the error, not the memory address containing the message
...
Load natives from the environment var, not hardcoding.
2018-09-10 20:31:51 -04:00
LexManos
bec9214d0c
Fix launching in dev
2018-09-10 13:08:35 -07:00
cpw
a4f2802306
Add I18n accessor, fix up some mod log messages, make the EnumExtender work.
2018-09-09 23:35:02 -04: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
mezz
f851b37aa0
Initial blind port of the mod error screens
2018-09-09 12:46:56 -07: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
f818cc8f71
Tweak
2018-09-05 13:14:16 -07:00
cpw
d7e9217695
Network init
2018-09-05 13:14:16 -07:00
cpw
b50b768852
Server starts
2018-09-05 13:13:53 -07:00
cpw
330db1a54d
Patches deleted
2018-09-05 12:58:49 -07:00
cpw
77c3310711
Zeroth pass on 1.13
2018-09-05 12:56:01 -07:00
cpw
6e99f84e91
Moving some stuff around, network and server events.
2018-09-05 12:37:20 -07:00
cpw
689ebd8036
Dediserver runs and talks to clients.
2018-09-05 12:35:31 -07:00
cpw
506b51f189
A much more straightforward networking system.
2018-09-05 12:33:38 -07:00
cpw
4636365e30
Some beginnings of a network again.
2018-09-05 12:31:47 -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
f279a07586
metadata is dead
2018-09-05 11:40:48 -07:00
cpw
3b78e97ad8
Fidgeting while the world burns 🔥 🔥 🔥 🔥 🔥 🔥
2018-09-05 11:40: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
cpw
5b05e103f4
Starting to put the launch itself together
2018-09-05 10:56:03 -07:00
cpw
7e5bd4ecdb
Access Transformer. Starting to try and launch things.
2018-09-05 10:56:03 -07:00
cpw
c38d2e48cd
Early signs of modloading
2018-09-05 10:55:15 -07:00
cpw
66b6150027
Coremod
2018-09-05 10:55:15 -07:00
cpw
14ac77e444
Goodbye @Mod, it was lovely knowing you!
2018-09-05 10:54:20 -07:00
cpw
d23850ff98
Goodbye @Mod, it was lovely knowing you!
2018-09-05 10:49:33 -07:00
cpw
3e4f3ff142
Delete MarkerTransformer. I don't think this has been used in years.
2018-09-05 10:47:56 -07:00
LexManos
8ace535995
Fix --mods and --modListFile arguments not making it past LaunchWrapper.
2018-09-03 21:20:23 -07:00
Ben Staddon
f2da4be93e
Remove BlamingTransformer ( #5115 )
2018-08-26 18:57:44 -07:00
LexManos
4aaa0370ab
Fix more apache exclusions.
2018-08-22 11:56:35 -07:00
LexManos
c6abcf5b84
Change org.apache to org.apache.maven. class loader exclusion.
2018-08-21 23:50:25 -07:00
Ben Staddon
69233f1bbf
Add variant alias for item models not loaded via blockstate ( #5025 )
2018-08-16 13:21:21 -07:00
mcenderdragon
f6b3893a05
Added getter for children of CompoundIngredient ( #5082 )
2018-08-16 13:19:45 -07:00
Ben Staddon
222a110eb1
Fix saved toolbars not working with non-vanilla items ( #5063 )
2018-08-16 13:17:27 -07:00
Ben Staddon
6ece0ba254
Fix server watchdog thread occasionally crashing on first run ( #5019 )
2018-08-16 13:16:31 -07:00
TheIllusiveC4
8e7b5be3d4
New SleepingTimeCheckEvent to add yet another way to control sleeping. ( #5013 )
2018-08-16 13:14:34 -07:00
Ben Staddon
1171668c25
Allow sending packets to client from ServerConnectionFromClientEvent ( #4991 )
2018-08-16 13:03:32 -07:00
TheCyberBrick
1f58bd71c0
Fixed overworld spawn point reset when respawning in another dimension ( #4982 )
2018-08-16 12:55:11 -07:00
Pyrofab
dd0c251b3d
Fix ModList cache never being updated ( #5081 )
2018-08-16 11:54:56 -07:00
DaemonUmbra
afd6de3e30
Fix blank Server GUI console log ( #5089 )
2018-08-09 22:12:42 -07:00
mezz
cfa33be24b
Fix SlotItemHandler.isItemValid check
2018-08-09 21:18:29 -07:00
mezz
5a48ca99b6
Improve performance of FluidRegistry.getBucketFluids
2018-08-01 22:29:10 -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
Karthas077
682a867a91
Fix missing lang entry for Swim Speed attribute ( #5064 )
2018-07-29 14:21:24 -07:00
Karthas077
9e30f4f6f9
Added Swim Speed Attribute to EntityLivingBase ( #4990 )
2018-07-28 19:24:30 -07:00
Ben Staddon
f3f1e585dc
Add function to lookup model location for an ItemStack ( #5017 )
2018-07-28 18:55:33 -07:00
Ben Staddon
14bfeefb4d
Allow custom SpawnPlacementType registration ( #4973 )
2018-07-28 17:51:44 -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
Cody Brittain
4acfca27f8
Add functionality in IItemHandler to test if a slot can accept an item ( #5033 )
2018-07-28 17:38:18 -07:00
Eragonn1490
36f74e955b
Add wooden doors to the OreDictionary. ( #5036 )
2018-07-28 17:32:59 -07:00
Ben Staddon
2786cd279c
Update and clean up Forge fluid render model ( #4763 )
2018-07-17 20:37:20 -07:00
mezz
ab228832f2
Allow configuring log levels using system properties. ( #5024 )
...
Defaults are:
-Dforge.logging.mojang.level=info (note that setting this to debug or trace will enable extra debug behavior which may slow things down or detect issues and crash)
-Dforge.logging.console.level=info
-Dforge.logging.file.level=info
-Dforge.logging.debugFile.level=trace
2018-07-15 13:22:41 -07:00
Ben Staddon
6ae2287d57
Add support for FluidStack-dependant colouring to Forge bucket ( #4952 )
2018-07-14 14:52:54 -07:00
MrRiegel
cfebf27393
Use itemstack in LivingEntityUseItemEvent.Finish before it was used ( #5015 )
2018-07-14 14:29:32 -07:00
bloodmc
603f4bd7a3
Check use item result before calling onItemUseFirst. ( #5016 )
2018-07-14 14:28:42 -07:00
tterrag
97d58aeaa1
Clean up and improve ICapabilityProvider javadocs ( #4978 )
2018-07-14 14:08:22 -07:00
mezz
c6f001bb6c
Update license header on ChunkIOThreadPoolExecutor
2018-07-09 21:22:58 -07:00
tterrag
a98db5bef2
Fix potential deadlock when chunkload raises non-IO exception ( #4861 )
2018-07-09 13:45:50 -07:00
Ben Staddon
5624afbc32
Change some client hooks to use GlStateManager functions ( #5010 )
2018-07-04 19:59:12 -07:00
Marvin Rösch
c3aa99677a
Move some test mods into appropriate packages ( #5006 )
2018-07-04 19:58:55 -07:00
Weissmoon
1902363eac
Write full class name in undefined packet error messages. ( #4970 )
2018-07-04 19:58:36 -07:00
Ben Staddon
58d570a6f1
Fix ItemHandlerHelper.giveItemToPlayer creating item entities with incorrect contents ( #5007 )
2018-07-02 22:41:18 -07:00
LexManos
0cf5ef221c
Run licenseFormat to apply license header to all files.
2018-07-01 14:17:31 -07:00
Minecrell
eb94dc5c48
Restore original license headers in Maven versioning package
2018-07-01 14:01:38 -07:00
Minecrell
97627e7fb9
Restore original license headers of delta package
2018-07-01 20:30:52 +02:00
Ben Staddon
80724a52d3
Fix some ClassCastExceptions incorrectly being logged in FML handshake. ( #4972 )
2018-06-27 12:56:46 -07:00
KingLemming
19de6cf97e
Fix ISpecialArmor to allow for "Unblockable" damage to be handled if the armor opts in. ( #4964 )
2018-06-27 12:53:45 -07:00
LexManos
74c3aab720
Fix FML entity network spawning not using EntityBuilder's facctory. Closes #4845 and #4846
2018-06-27 12:51:06 -07:00
LexManos
1007d3e9c5
Added Fluid Place Block Event for when fluid changes blocks in world. ( #4627 )
2018-06-27 12:06:55 -07:00
UnRealDinnerbone
c001d2dbf6
Add Farmland Trample Event ( #4895 )
2018-06-27 11:31:38 -07:00
Ben Staddon
539626727c
Switch from trove to fastutil collections ( #4933 )
2018-06-27 11:29:09 -07:00
Ben Staddon
4d6fbd9d2f
Clean up some dimension manager code and add a command to list dimensions ( #4902 )
2018-06-27 11:23:23 -07:00
Ben Staddon
a749861cb2
Change item model loading priority to fix model conflicts ( #4898 )
2018-06-27 11:08:38 -07:00
mezz
1db28d072a
Improve server console implementation ( #4821 )
2018-06-27 10:58:07 -07:00