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
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
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
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
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
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
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
4b564b91bf
Fix MinecraftForge.initialize not being called.
...
Fixes UsernameCache and harvest tools
Closes #5529
2019-02-19 12:33:41 -05: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Pyrofab
dd0c251b3d
Fix ModList cache never being updated ( #5081 )
2018-08-16 11:54:56 -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
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
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
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
Ben Staddon
43895d773e
Add validation to recipe registry ( #4957 )
2018-06-26 22:00:53 -07:00
Ben Staddon
f2d7a19702
Clear out stored errors after model loading finishes ( #4938 )
2018-06-24 00:18:13 -07:00
Paul Fulham
61666ed6aa
Fix AutomaticEventSubscriber error message ( #4986 )
2018-06-23 23:38:57 -07:00
mezz
59c3e1baaf
Always wrap mod creation errors in LoaderException
...
to make error message more clear
2018-06-23 12:33:42 -07:00
Ben Staddon
7258beeede
Fix vertex lighter using stale normal data ( #4917 )
2018-06-20 12:36:10 -07:00
LexManos
9cda586ebd
Fix scala mods crashing with the json annotation cache.
2018-06-01 00:07:17 -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
Ben Staddon
bea02348e2
Fix crash from search tree processing invalid recipes ( #4942 )
2018-05-26 19:56:46 -07:00
LexManos
b30540f20c
Fix names in JSON annotation data not matching expected format. Closes #4953
2018-05-26 16:42:58 -07:00
LexManos
32438d2e00
Bump version in prep for new RB.
2018-05-24 18:38:01 -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
sinus
3c4efa1ae7
Fixes parameter inconsistency in IFieldWrapper ( Fixes #4325 ) ( #4766 )
2018-05-17 04:15: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
330a9c4fd3
Fix server-side data not being released ( #4882 )
2018-05-16 23:13:27 -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
1d863cdefc
Check name prefix used for tile entity registrations ( #4681 )
2018-05-16 22:52:32 -07:00
Ben Staddon
40b567e962
Add an event to control nether portal formation ( #4735 )
2018-05-16 22:48:14 -07:00
Ben Staddon
36f94fd20e
Allow custom models to have per-state lighting ( #4732 )
2018-05-16 22:44:34 -07:00
temp1011
e7cd3d4df6
Preserve original ChunkPos for decoration events. ( #4767 )
2018-05-14 20:20:50 -07:00
LexManos
215157f5cd
Fix library folder detection on various JVMs.
2018-05-14 11:32:25 -07:00
Take Weiland
38c5cb6b94
Add supports for redirects when doing mod version checks ( #4826 )
2018-05-13 11:39:13 -07:00
mezz
c5d95cb3a9
Fix imports
2018-05-12 23:59:22 -07:00
mezz
979797a2a6
Give immediate and complete error messages when there is a crash during startup ( #4869 )
2018-05-12 23:54:10 -07:00
mezz
ad099a4bfe
Revert "Give immediate and complete error messages when there is a crash during startup ( #4869 )"
...
This reverts commit a38f5fd6a2
.
2018-05-12 22:36:45 -07:00
mezz
dae7bcee4b
Remove invalid optimization in ItemStackHandler#setStackInSlot #3465
2018-05-12 21:07:25 -07:00
mezz
a38f5fd6a2
Give immediate and complete error messages when there is a crash during startup ( #4869 )
2018-05-12 16:56:57 -07:00
Ben Staddon
e65bd4a62b
Clean up mod dependency checking code ( #4922 )
2018-05-12 12:58:51 -07:00
mezz
33f4acb6b9
Fix version range check for required mods #4918
2018-05-11 17:58:21 -07:00
mezz
b6f8be6718
Add javadoc note about minimum required Forge versions for old Forge. Close #4918
2018-05-09 22:45:22 -07:00
mezz
789d9437b2
Fix possible NPE when calling Loader.getIndexedModList #4919
2018-05-09 22:40:14 -07:00
Ben Staddon
e1968e73b9
Fix deobfuscator not regenerating super maps ( #4856 )
2018-05-07 14:19:11 -07:00
cpw
9e9cb021ab
Clean up broken aliases caused by registry bug #4894 . ( #4909 )
2018-04-30 21:05:37 -07:00
LexManos
f2fa21e6e2
Move registry snapshot read/write code to Snapshot class. Cleaner code.
2018-04-29 17:58:02 -07:00
LexManos
4df55f3bd3
Only revert to frozen data on server shutdown on client. Should fix race condition exposed by #4904
2018-04-29 17:57:33 -07:00
LexManos
412c2ae53f
Potentially fix issue with BungeeCord or other servers resetting the registry mappings on the client while the game is running.
...
Errors may still occure if the client knows about world data beyond vanilla. Servers should NEVER send world/registry invocations before they have sent registry mappings.
Closes #4901
2018-04-28 04:28:40 -07:00
Ben Staddon
2353800d61
Fix typo in validation of vanilla registry wrappers ( #4899 )
2018-04-26 21:18:39 -07:00
Ben Staddon
fc799564ed
Add checks for undefined packet discriminators when sending messages ( #4890 )
2018-04-22 14:42:05 -07:00
Ben Staddon
90bf8dd95d
Fix some code holding client world references longer than needed ( #4881 )
2018-04-22 14:40:38 -07:00
LexManos
a99fe41667
Fix overrides typo in saving registry data. Closes #4894
2018-04-21 21:40:40 -07:00
LexManos
34f4381e0c
Fix library path and soft fail when repository root is not found.
2018-04-17 19:24:43 -07:00
LexManos
68ce80dad4
Fix libraries not being added to the modlist when using external metadata. Closes #4879
2018-04-15 17:44:01 -07:00
LexManos
32237f57ef
Cleanup some issues with the mod extraction to the memory modlist. Closes #4874 #4875
2018-04-14 19:32:45 -07:00
mezz
a794f1daff
Improve missing mod dependency error screen ( #4762 )
2018-04-14 18:17:06 -07:00
Ben Staddon
fab45a32a8
Fix biome dictionary's biome type detection ( #4878 )
2018-04-14 17:05:08 -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
AlexIIL
76591f7245
Fix FluidUtil.getFluidHandler skipping some fluid tile entities ( #4854 )
2018-04-12 17:17:39 -07:00
Erlend Åmdal
0fca21fbc5
Parse contained dependency Timestamp as long instead of int ( #4866 )
2018-04-11 16:26:53 -07:00
LexManos
9442a48e93
Fix Forge's metadata not being loaded. Closes #4865
2018-04-11 13:10:27 -07:00
LexManos
b71caeb813
Fix mods without ModSide meta value.
2018-04-10 19:17:27 -07:00
LexManos
9d0771b3d7
Rewrite dependency extraction to use mod list system ( #4841 )
2018-04-10 16:01:35 -07:00
LexManos
3f4dfbb367
Bump Forge version for new dev chunk.
2018-04-10 15:40:42 -07:00
LexManos
34706c7cd7
Slow down Forge chunk gen worker when save queue is to high.
...
Prevents task from completing while tons of chunks are pending save.
And add minimum notification every 60 seconds.
2018-04-03 15:26:28 -07:00
LexManos
501e030f3e
Add support for World Workers skipping ticks without being removed from the worker list.
2018-04-03 15:23:35 -07:00
Ben Staddon
fe3478f233
New ITeleporter interface making dimensional teleportation easier. ( #4602 )
2018-04-01 01:55:45 -07:00
Vincent Lee
1d7c04daeb
Add a FML outbound target for all players tracking a point or entity in the world. Closes #3677 ( #4631 )
2018-04-01 01:42:55 -07:00
coolsquid
f5c0b894bf
Prevent EntityPlayer.attackEntityFrom from firing LivingAttackEvent twice ( #4661 )
2018-04-01 01:12:46 -07:00
Mackenzie McClane
e099aa32d4
Add a way to get a list of registered biome types ( #4685 )
2018-04-01 01:03:27 -07:00
Ben Staddon
fff660918a
Improve performance of some ExtendedBlockState methods ( #4698 )
2018-04-01 01:01:40 -07:00
Ben Staddon
dda7bd5d42
Optimise adding normal element to vertex formats ( #4699 )
2018-04-01 00:59:34 -07:00
Ben Staddon
4c1167c96d
Check for empty dimensions outside of chunk unloading loop, culling worlds without needing chunk unloads to trigger it. ( #4704 )
2018-04-01 00:54:22 -07:00
Judge40
b8e411674b
Create event for overriding mob griefing flag based on entity. ( #4710 )
2018-04-01 00:48:25 -07:00
Parker Young
db3b2549e2
Update ItemHandlerHelper.giveItemToPlayer to allow player who picked up the item to hear the sound as well ( #4720 )
2018-04-01 00:43:39 -07:00
malte0811
7c098462fe
Fix FMLCommonHandler#exitJava printing useless/wrong calling info ( #4742 )
2018-04-01 00:25:38 -07:00
Ben Staddon
0b5a6a3b03
Reduce memory usage of model transforms ( #4753 )
2018-04-01 00:24:37 -07:00
TheCyberBrick
11e623bf4d
Added chunk instance to ChunkWatchEvent ( #4805 )
2018-04-01 00:07:01 -07:00
temp1011
1fcff02b67
Add fences and fence gates to ore dictionary ( #4807 )
2018-04-01 00:06:10 -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
mezz
a6bbc2761e
Add support for creator mod ID for modded enchanted books, potions, arrows, and spawn eggs ( #4810 )
2018-03-26 23:25:27 -07:00
CreativeMD
12de748af0
Fixed sound engine crash when stopping streaming sounds ( #4765 )
2018-03-24 22:56:24 -07:00
mezz
f9a2695662
Update docs for ItemTooltipEvent
2018-03-21 20:11:17 -07:00
ichttt
cf43250584
Fix some IResources being leaked ( #4806 )
2018-03-19 22:58:54 -07:00
mezz
881aa67be7
Fix server console logging issues
...
Closes #4808
2018-03-19 22:44:05 -07:00
mezz
ae654edfc2
Fix up logging and log4j configuration ( #4802 )
2018-03-17 18:41:16 -07:00
Joseph C. Sible
5ace86da12
Make lookupFluidForBlock work for flowing water and lava ( #4675 )
2018-03-16 22:54:23 -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
mezz
752be6b526
Fix #4792 TextComponentHelper handling for FakePlayers
2018-03-11 14:58:58 -07:00
ichttt
dc459d6b86
Fix serverside startup failure when checking for vanilla acceptance ( #4783 )
2018-03-01 11:00:48 -08:00
Ben Staddon
29fe38f723
Improve how smooth lighting code handles translucency ( #4711 )
2018-02-26 22:13:17 -08:00
mezz
bdb65e9ed7
Improve the "Mod rejections" error message when connecting to a server ( #4761 )
2018-02-26 22:05:08 -08:00
cpw
18144b7a0a
Fix the ForgeChunkManager to use the writebehind FileIO thread for writing ( #4777 )
...
the chunk file. Closes #4775
This is a performance tweak - doing File IO on the server thread during
world saves causes significant lag spikes. This is one of many.
2018-02-26 19:49:56 -08:00
LexManos
e299489493
Fix vanilla crash classes not being preloaded. Closes #4769
...
Fix classes not being aggregated for mods using the new annotation cache.
2018-02-26 15:36:39 -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
Ben Staddon
d18c03968e
Clean up some GUI code and change magic numbers to GL constants ( #4734 )
2018-02-11 11:48:02 -08:00
LexManos
816d33de28
Initial implementation of JSON based annotation scanning.
...
Disabled by default for now, until proven to be fully function.
Enable using -Dfml.enableJsonAnnotations=true
2018-02-07 00:43:32 -08:00
LexManos
931ce0aa3b
Bump version for RB.
2018-02-02 19:56:31 -08:00
Ben Staddon
572b71d82e
Change chunk gen command to only keep the target dimension loaded ( #4705 )
2018-02-02 10:43:23 -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
mezz
603903db50
Fix errors in preInit being lost when followed by a crash in fireRegistryEvents or objectHolder
2018-01-22 23:03:44 -08:00
SirWindfield
ca7a5eadc0
Added @Ignore to the annotation based Config system. ( #4696 )
2018-01-22 12:35:33 -08:00
mezz
4ae6e4a295
Improve error message on server when a vanilla client connects ( #4691 )
2018-01-21 16:07:54 -08:00
Vincent Lee
9c5177282e
Fix MusicType enumhelper not working ( #4682 )
2018-01-19 01:22:41 -08:00
mezz
adbc374c11
Make FluidUtil sounds server-side, add simulate option for tryFill/EmptyContainerAndStow ( #4623 )
2018-01-18 13:23:30 -08:00
Ben Staddon
533b03300a
Catch and log exceptions during model baking ( #4609 )
2018-01-18 13:14:33 -08:00
ichttt
196e03c921
Fix forge fluids being treated as solid blocks ( #4606 )
2018-01-18 13:14:00 -08:00
alexbobp
1d48e06798
Add MobSpawnerBaseLogic reference to SpecialSpawn and CheckSpawn events ( #4600 )
2018-01-18 13:06:53 -08:00
Justin
ff8ba90da3
Fix default GUIConfig displaying child categories twice ( #4599 )
2018-01-18 13:03:37 -08:00
Tyler Hancock
01f573dbaa
Added a tooltip color event. ( #4595 )
2018-01-18 12:54:35 -08:00
MineMaarten
dbf2beb6fa
Moved firing the MinecartInteractEvent from individual subclasses up to EntityMinecart, which as a result automatically supports EntityMinecartMobSpawner and EntityMinecartTNT. ( #4583 )
2018-01-18 12:52:46 -08:00
mezz
bc3bbe3d84
Avoid copying Forge Registry keys, values, and entries ( #4545 )
2018-01-18 12:46:05 -08:00
Ben Staddon
6962678804
Make async chunk loading a config option ( #4544 )
2018-01-18 12:44:14 -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
LexManos
61a16066e5
Fix debug flags for ClassPatchManager not working. Closes #3674
2018-01-18 11:57:30 -08:00
mezz
4b65807bfa
Fix FML error logging for mods that crash during FMLLoadCompleteEvent
2018-01-15 21:18:38 -08:00
mezz
d0bdb23300
Minor code and documentation cleanup. ( #4664 )
2018-01-12 23:54:29 -08:00
Ben Staddon
0c0cb2b11a
Fix dormant chunk cache allowing entity data to be overwritten ( #4528 )
2018-01-09 10:48:56 -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
LexManos
3c5e082541
Downgrade RegistryEntry's dangerous alternative prefix message to info instead of BigWarning.
...
This is still most likely a broken mod, but nobody ever actually fixes themselves, and i'm tired of being blamed for 'spamming' the logs.
2017-12-21 01:36:23 -08:00
LexManos
18609f57ac
Fix missing call to release() in the event channel handler ( #4513 )
...
(reverted from commit cd99957627
)
2017-12-18 16:04:34 -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
Melonslise
bbf1bef7d3
Added LivingKnockBackEvent event to allow better control over knock back effects. ( #4503 )
2017-12-16 18:03:45 -08:00
kashike
441ece67bd
Delay egg creation to avoid null statistics ( #4508 )
2017-12-16 18:01:58 -08:00
Ben Staddon
cd99957627
Fix missing call to release() in the event channel handler ( #4513 )
2017-12-16 18:00:35 -08:00
mrkirby153
7438ef466e
Reimplemented TileEntity and Entity Update Profiling in the /forge track command ( #4521 )
2017-12-16 17:48:48 -08:00
Justin
ae790c2345
[macOS] Fix missing text on loading error screens ( #4532 )
2017-12-16 17:42:17 -08:00
Ben Staddon
98997061f0
Add an event for registering block/item colour handlers ( #4565 )
2017-12-16 17:34:00 -08:00
Matthew Prenger
c0625f71e7
Fix startIndex for /forge generate position parsing ( #4572 )
2017-12-16 17:02:24 -08:00
Joseph C. Sible
14a7d66024
Deprecate passing a class to CapabilityManager::register ( #4574 )
2017-12-16 17:01:04 -08:00
Joseph C. Sible
83b7010ddf
Fix item handler documentation that says returning ItemStack.EMPTY is required ( #4587 )
2017-12-12 21:18:42 -08:00
jabelar
07c4da8f36
Added color as field with setter to Fluid class. ( #4460 )
2017-12-08 02:18:45 -08:00
mezz
49596910fc
Prevent tooltips from going off the top of the screen.
2017-12-06 21:10:51 -08:00
Anthony Lomeli
bd494af7ee
[1.12] Add Advancement Event ( #4467 )
2017-12-05 14:05:05 -08:00
mezz
bbd4d8d6ef
Update java docs for IItemHandler. Fix #4553
2017-12-01 22:45:10 -08:00
LexManos
846a70f97f
Restore binary compatibility in EntityItemPickupEvent
2017-12-01 13:22:41 -08:00
LexManos
239b9d36a4
Re-enable Vanilla's Shapeless recipe matching.
2017-12-01 13:17:22 -08:00
Draco18s
ccc44956fd
Fix for the EntityItemPickupEvent having 0 count item when event is fired. ( #4549 )
2017-11-30 21:46:54 -08:00
Ben Staddon
b215d90589
Don't force IPv4 network stack if IPv6 is specifically requested ( #4547 )
2017-11-26 19:20:01 -08:00
LexManos
44d0e9f05d
Fix more bad shapeless recipe matching. Closes #4557
2017-11-26 14:50:57 -08:00
LexManos
01b9110ada
Version bump for Recommended Build.
2017-11-24 18:58:28 -08:00
Vincent Lee
2081cdac60
Add TAG_LONG_ARRAY to Constants.NBT ( #4552 )
2017-11-24 18:57:22 -08:00
LexManos
89db87dbfc
Create custom shapeless recipe matching system. Should solve #4516 damageable items in shapeless recipes.
2017-11-22 13:26:02 -08:00
mezz
ad16f15365
Clean up old code for detecting BaseMods. Close #4530 ( #4540 )
2017-11-21 22:27:41 -08:00
Ben Staddon
aaf47afff2
Fix errors caused by multi-target messages sent from LAN host ( #4536 )
2017-11-19 11:47:51 -08:00
LexManos
836be2e3a0
Fix CompoundIngredents not working properly in shapeless recipes.
2017-11-18 13:01:22 -08:00
mcenderdragon
f97c535fa4
[1.12.x] Added BucketUse event to ForgeUniversal Bucket ( #4454 )
2017-11-17 13:10:23 -08:00
Ben Staddon
e616990397
Fix entity spawn messages not handling buffer correctly ( #4524 )
2017-11-15 13:05:17 -08:00
LexManos
fc87d83d73
Make Ingredient explode wildcard values like OreIngredient.
...
Fixes some issues related to Grums order fix for Shapeless recipes.
Other more advanced usages need to be documented and tested.
2017-11-14 00:10:33 -08:00
Ben Staddon
9a36814364
Fix network buffer leak with multi-part messages ( #4511 )
2017-11-12 10:39:41 -08:00
Ben Staddon
ad202e2e83
Fix network buffers not being released in some places ( #4510 )
2017-11-11 15:19:00 -08:00
Justin
a59d20fc02
Fix resource loading on some mac systems when SplashProgress is enabled ( #4082 )
2017-11-09 22:32:01 -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
Yanbing Zhao
c8efe29d61
Fix the incorrect matching algorithm in ShapelessRecipes and ShapelessOreRecipe ( #4472 )
2017-11-07 21:33:04 -08:00
Bartek Bok
dd69f0623c
Add LivingDamageEvent ( #4349 )
2017-10-31 15:29:19 -07:00
Wire Segal
ba71017001
Create IRecipeContainer interface and implementation to allow RecipeBook to work on custom GUIs ( #4480 )
2017-10-31 11:48:55 -07: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
Ben Staddon
31655b3a7d
[1.12] Replace ThrowableImpactEvent with a more generic version ( #4040 )
2017-10-31 11:34:48 -07:00
Ben Staddon
19b7347db9
Clean up BlockSnapshot code ( #3737 )
2017-10-31 11:32:02 -07:00
joeflatt
7d333eb100
Fixed property losing state after rename. ( #4123 )
2017-10-31 11:30:39 -07:00
rguy96
274dfc23ef
Fix GameData#revert ignoring RegistryManager parameter ( #4232 )
2017-10-31 11:29:35 -07:00
Philipp Provenzano
aa2480c7a1
Allow custom selector types to be defined ( #4259 )
2017-10-31 11:28:11 -07:00
Ben Staddon
2a546955a4
Clean up more deprecated library functions ( #4283 )
2017-10-31 11:22:55 -07:00
AEnterprise
22ea5a23ad
Improve performance of World.collidesWithAnyBlock ( #4286 )
2017-10-31 11:20:59 -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
jabelar
61dea7f4c0
Changed BlockFluidBase "fog" color use color from Fluid getColor() method ( #4462 )
2017-10-31 10:46:40 -07:00
Ben Staddon
7b4040b70b
Improve performance of inserting into inventory wrappers ( #4468 )
2017-10-31 10:41:33 -07:00
Ben Staddon
8d938660e7
Add caching of data for flat lighting ( #4358 )
2017-10-31 10:09:39 -07:00
mezz
0960b60d9c
Clean up Forge commands. Add HelpCommand. Fix #4444 ( #4451 )
2017-10-27 20:28:00 -07:00
Matthew Mirvish
e283d51e28
[1.12.x] [Animation API] Add rotation origin variable ( #4466 )
2017-10-20 22:27:35 -07:00
mezz
00d882ab61
Fix outdated VersionParser javadoc link
2017-10-06 22:16:10 -07:00
mezz
083daeb5ed
Update mcp mappings to 20171003
2017-10-03 22:08:36 -07:00
mezz
f494117453
[1.12] Add support for client & server dependencies for mods ( #4403 )
2017-10-02 22:13:30 -07:00
mezz
cf39ff18e1
Add Item.getModId to show which mod is associated with a subitem ( #4330 )
2017-10-02 22:08:16 -07:00
Erlend Åmdal
8a285e0fed
Add Chunk capabilities ( #4228 )
2017-10-02 20:24:11 -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
Ben Staddon
f3273ca0c9
Store entity data for dormant chunks using NBT ( #4162 )
2017-10-02 15:17:37 -07:00
LexManos
b361b72515
Remove limitation of Shaped crafting recipes not being used on grids larger than 3x3
2017-10-01 16:05:15 -07:00
LexManos
303a775fc3
Add new /forge entity list command for displaying a list of all entities in world.
...
As well as tracking down chunks with large amounts of entities.
2017-09-25 12:56:09 -07:00
ichttt
22d2d7825f
Fix IngredientNBT comparing stackSize when checking if ingredient is valid ( #4418 )
2017-09-23 14:25:45 -07:00
kashike
dc2014cdf1
Auto-detect registry namespace when using a legacy string id in EntityEntryBuilder fixes #4410 ( #4411 )
2017-09-21 05:31:53 -07:00
kashike
f2b07e8db1
Introduce entity entry builder, useful in the Register<EntityEntry> event replacing needed calls to EntityRegistry. ( #4408 )
2017-09-20 13:03:03 -07:00
LexManos
50265786b2
MC 1.12.2 update.
2017-09-18 14:35:45 -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
LexManos
0ad4218bc2
Add new /forge gen command to generate large amounts of chunks.
...
Usage: /forge gen <position> <count> [dimension] [notifications]
Position is in Block Coords, and can be relative to the player. These will be converted to chunk coords for you.
Count is the number of chunks to load. This is not a radius, actual total number of chunks.
Dimension is optional, you can use this to pregen other worlds.
Notifications is the chunk interval to inform you of the generating progress. This is optional and will be 5% or 100 whichever is higher.
Added new config option to modify vanilla world gen to fix various cascading issues. MC-117810 MC-114332 and more.
This WILL change block placement from vanilla world gen. So this is a opt-in value. Do not report differences in worlds with this flag enabled.
2017-09-15 19:01:59 -07:00
LexManos
036191cd52
Fixed ShapedOre recipes not laying out correctly with the guidebook.
2017-09-14 14:32:03 -07:00
LexManos
334626aedb
Bump version for RB.
2017-09-11 16:58:45 -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
Benjamin K
45c2ff5329
Fix CustomModLoadingErrorDisplayScreen not being handled during init or preinit. ( #4320 )
2017-09-06 14:14:50 -07:00
Daniel Naylor
dadc715e7d
Insert FML handler before Vanilla connection handshake completes ( #4380 )
2017-09-06 14:11:21 -07:00
Ben Staddon
ef5ffc2c5d
Add missing bounds checks to ItemTextureQuadConverter ( #4343 )
2017-09-06 14:08:19 -07:00
BlayTheNinth
da85dcadf5
Allow custom GuiEditArrayEntries without having to recreate the object in several places ( #4329 )
2017-09-06 14:03:13 -07:00
Ben Staddon
cd5d7d2bed
Adjust float (un)packing functions to be slightly more accurate ( #4316 )
2017-09-06 13:55:41 -07:00
Tyler Hancock
523b4f85c2
Added missing MapGen types to the InitMapGenEvent ( #4322 )
2017-09-03 16:26:29 -07:00
Choonster TheMage
d85fcb26c2
Fix FieldWrapper.MapWrapper initialising wrong category ( #4335 )
2017-08-30 20:57:17 -07:00
Choonster TheMage
cb051f7893
Don't parse category names as regular expressions in FieldWrapper.MapWrapper ( #4334 )
2017-08-30 20:56:15 -07:00
LexManos
52702e5cc9
Fix issue saving observers using different metadata then vanilla.
2017-08-30 13:20:51 -07:00
Bartosz Skrzypczak
8803bf9a29
Fix netty warning spam when sending >1MB packets ( #4363 )
2017-08-29 17:20:03 -05:00
Bartosz Skrzypczak
161b47ee75
Fix FML handshake crash, fixes #4285 and #3974 ( #4304 )
2017-08-27 13:58:55 -07:00
LexManos
7930adec70
Fix recipe book auto-fill not working for OreDictionary ingredients.
2017-08-24 15:21:47 -07:00
LexManos
45dfce0013
Fix for dummied server side registry entries while client has read entries.
2017-08-22 02:08:34 -07:00
Marvin Rösch
43e24c3eb4
Tabulate crash report mod list and add signature information ( #4251 )
2017-08-18 17:28:58 -05:00
Nedelosk
a40df67004
[1.12] Fix wood plank ore dictionary recipes ( #4310 )
2017-08-18 17:04:23 -05:00
LexManos
28e341002f
Add support for server side only recipes, as well as detection of vanilla client recipe book filter to prevent errors.
2017-08-15 05:10:07 -07:00
mezz
ee27276ba2
Fix typo in CapabiltyFluidHandler ( #4306 )
2017-08-14 21:32:52 -07:00
Bartosz Skrzypczak
68a10b3037
Fix splitting big packets skipping one byte per additional part ( #4301 )
2017-08-13 15:23:22 -05:00
iChun
29b717faa7
Add PlayerSPPushOutOfBlocksEvent. ( #4091 )
2017-08-09 15:26:51 -05:00
Thanh-Phuong
ee449e427c
Add support for oredict item predicates in advancements, and add a registry for item predicates ( #4188 )
2017-08-09 15:20:45 -05:00
KnightMiner
82d735e43a
Add support for running IModel.retexture() on models from blockstates ( #4200 )
2017-08-09 15:18:35 -05:00
Choonster TheMage
611cb0d99c
Continue loading mod recipes and advancements after encountering an error ( #4277 )
2017-08-09 15:17:48 -05:00
tterrag
ce168d556d
Better descriptions on dependency version range error screen ( #4284 )
2017-08-09 15:10:54 -05:00
LexManos
9ec954a3de
Fix IOUtils import error caused by server/client libraries desync.
2017-08-09 12:28:34 -07:00
LexManos
c6d0c93a50
Fix odd NPE with list files for empty directories.
2017-08-08 23:27:34 -07:00
LexManos
cdc8763fb0
Fixed missing line in logger.
2017-08-08 20:38:11 -07:00
LexManos
ee6805397f
Cleanup some output and move the Jar-In-Jar extractor to before any coremods/mods are loaded so.
...
The intention is to rework this entire thing to use maven style storage, IF we can get Mojang to pass in the Libraries folder.
2017-08-08 20:13:05 -07:00
cpw
cc30c679e4
Lex doesn't like this.
...
Revert "Fix up MC version compatibility checking to be a little less verbose."
This reverts commit 1927fd76e2
.
2017-08-06 20:30:16 -02:30
cpw
1927fd76e2
Fix up MC version compatibility checking to be a little less verbose.
...
If people use properly formatted version compatibility strings, or the
default compiled in one, this will work exactly as before, but has
less dependence on specific formats for the mcversion string. So a mod
declaring [1.11, 1.12] will now be 1.12.1 compatible by default, for
example.
2017-08-06 15:42:37 -02:30
LexManos
f73c7cb764
1.12.1 Update, Not much modder facing changes, 1.12 mods should load and run fine on this version.
2017-08-03 17:30:43 -07:00
covers1624
099bbd479a
Add GuiContainer Foreground render event. ( #4127 )
2017-08-01 16:23:08 -05:00
Ben Staddon
2f7f2e7bc1
Use ClassValue to store tileentity names for profiler in lazy cache. ( #4021 )
2017-08-01 14:42:18 -05:00
ichttt
2d97f05796
Move client-only config options to client config ( #4084 )
2017-08-01 14:22:21 -05:00
mcenderdragon
c8379da83b
Added CriticalHitEvent to allow more control over whether a attack is a critical or not, and what damage it does.
2017-08-01 14:13:37 -05:00
diesieben07
7df003c3e7
Fixed bug where config categories errored if they contained regex special characters. ( #4187 )
2017-08-01 13:38:14 -05:00
InfinityRaider
2158198295
Make LivingEntityUseItemEvent not abstract ( #4208 )
2017-08-01 13:26:59 -05:00
Thanh-Phuong
f9bb29c240
Added support for oredict dyes to Fireworks, Armors, and Shulker recipes. ( #4223 )
2017-08-01 13:03:01 -05:00
rslink
4d327df383
Fixed swapping of finite fluids with negative densities. ( #4237 )
2017-07-29 22:24:24 -07:00
Marvin Rösch
434f95c66e
Fix overrides not being read from the server registry snapshot ( #4224 )
2017-07-26 18:47:55 -05:00
Thanh-Phuong
df6b628140
Make Optional.Interface repeatable ( #4138 )
2017-07-20 16:36:05 -05:00
ichttt
cc25a58760
Log a warning if a coremod does not follow best practices ( #4146 )
2017-07-20 16:32:53 -05:00
Xalcon
d63ceb33cb
Added support for vanilla "nbt strings" in json recipes ( #4113 )
2017-07-20 16:28:39 -05:00
LexManos
afea45dccc
Fix tripwire statemap not being complete when mappings change. Closes #3924
2017-07-18 12:53:55 -07:00
LexManos
6d35b1b913
Fixed invalid erroring case during loading Advancements form mods that don't have advancements.
2017-07-14 16:10:36 -07:00
LexManos
872d721e77
Send remap event when data is frozen to notify modders to bake things.
...
Fixes search not working when connecting to vanilla servers.
2017-07-13 14:45:51 -07:00
LexManos
f8c5d7c2b6
Fire recipe registry event after json recipes are loaded.
2017-07-13 14:45:13 -07: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
mezz
75433345ba
Improve javadocs for Mod dependencies ( #4168 )
2017-07-12 21:12:53 -07:00
mezz
11338d0fde
Stop "Binary patch set is missing" error log in dev environment
2017-07-11 22:50:12 -07:00
Kina
bf014b1060
Remove unnecessary maxStackSize restrictions on brewing potions. ( #4155 )
2017-07-09 13:12:20 -05:00
mezz
cd4d701b5f
Fix game freeze when resizing the window too small on the mods gui ( #4148 )
2017-07-08 22:55:45 -07:00
Max Becker
7517f56d5f
Adjust EnumHelper#addCreatureType to EnumType ( #4089 )
2017-07-08 15:15:00 -05:00
Vincent Lee
4df20daf41
Allow advancement icons to have nbt ( #4114 )
2017-07-08 15:14:29 -05:00
LexManos
a886dbde49
Quiet down warning for missing translation files.
2017-07-06 21:28:48 -07:00
LexManos
b0edb23dba
Fix getting missing models for overridden Item registry entires
2017-07-05 14:52:29 -07:00
LexManos
fdfaa5036d
Fix override duplication caused by bad comparison.
2017-07-05 14:41:24 -07:00
LexManos
7b0a005167
Fix log spam when creating dummy blocks.
2017-07-05 14:40:43 -07:00
talandar
03b7885aa6
Fix unblockable damage being blocked by armor. ( #3933 ) ( #4106 )
2017-07-03 12:56:23 -07:00
mezz
c1ae2cdbf2
Improve furnace fuel handling ( #4083 )
2017-07-03 12:54:01 -07:00
Xalcon
e1a2bcf902
Add isSpawner parameter to the CheckSpawn event ( #4075 )
2017-07-03 12:45:57 -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
Kina
81584d4215
Correct the default resource location of potion registry ( #4117 )
2017-07-02 13:13:46 -05:00
LexManos
16bfd8cef1
Version bump for RB
2017-06-28 21:34:43 -07:00
LexManos
0b969ef495
Optimize ExtendedBlockState.getClean, cache the return value instead of calculating it. Closes #3936
2017-06-28 14:26:25 -07:00
LexManos
ec318f8504
Squelch spam in EventBus register, Closes #4102
2017-06-28 13:18:44 -07:00
LexManos
c3e5b4bb2e
Add @ObjectHolder scanning to vanilla MobEffects, Biomes, Enchantments, SoundEvents, and PotionTypes constants. Closes #4104
2017-06-28 13:17:59 -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
LexManos
10ca404e9e
Fix the creative menu search function. Closes #4100
2017-06-27 21:34:03 -07:00
LexManos
d0b24313d3
Fix MissingMapping REMAP action. Closes #4069
2017-06-27 16:56:42 -07:00
LexManos
7281708df6
Repopulate client SearchTreeManager when registries are refreshed. Closes #4094
2017-06-27 16:28:08 -07:00
LexManos
b90d7a838e
Fix Biome unit test
2017-06-27 16:27:29 -07:00
LexManos
a4fb33d945
Add support for loading mod advancements from the mod jar files.
2017-06-27 15:18:52 -07:00
LexManos
cab4f783e9
Fix error when using RegistryBuilder and not specifying a max id number.
2017-06-27 15:18:03 -07:00
LexManos
c565984822
Allow the recipe registry to be modified.
2017-06-27 15:17:26 -07:00
LexManos
86b231ea77
Fix BiomeDictionary not collecting correctly.
2017-06-27 14:04:51 -07:00
BlayTheNinth
5aac07b5b1
Remove incorrect call to .toString() when instantiating custom config array entries. ( #4078 )
2017-06-27 00:54:49 -05: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
3ae30478db
More work on registry override ability. Closes #4079
2017-06-25 20:45:48 -07:00
LexManos
460abf1554
Fix ItemStack/Block/BlockSpecial not applying at runtime.
2017-06-25 20:45:07 -07:00
Ben Staddon
51aa029bb1
Add a FluidUtil method to interact with an arbitrary IFluidHandler ( #4080 )
2017-06-25 18:22:52 -07:00
ichttt
690c9bb76a
Further Java 8 cleanup ( #4077 )
2017-06-25 14:25:57 -07: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
LexManos
1c24600bbb
Reload client recipe book after loading modded recipes.
2017-06-24 15:34:09 -07:00
LexManos
b542179242
Make Dummy block an Air block.
2017-06-24 15:06:28 -07:00
LexManos
87054b01fb
Fix NPE in MissingMappings event. Closes #4067
2017-06-24 14:51:46 -07:00
LexManos
efd8b38be9
Make getSubItems non-client only. Use it for Ingredient iteration.
2017-06-24 14:47:48 -07:00
LexManos
405a16aea1
Fix minecraft:item_nbt ingredient type.
2017-06-24 14:46:51 -07:00
mezz
27321efb1f
Clean up logging
2017-06-24 01:46:05 -07: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
Choonster TheMage
cb02f24cf2
Fix uncaught ClassCastException from invalid recipe file ( #4043 )
...
A JsonSyntaxException will now be thrown, caught and logged when the conditions property of a recipe isn't an array
2017-06-24 01:24:54 -07:00
mezz
d769d83224
Update MCP to 20170624
2017-06-24 00:56:21 -07:00
Ben Staddon
b0dfaa2b81
Remove Java 8 warnings now that Minecraft requires it
2017-06-23 23:31:50 -07:00
tterrag
b71ab7e444
Make ForgeRegistry iterator sorted. Closes #4058 ( #4059 )
2017-06-23 23:52:27 -05:00
LexManos
dd42f84a47
Loosen up registry locks until data freeze.
2017-06-23 17:52:59 -07:00
LexManos
d032a34aaa
Fix conflicts
2017-06-23 16:59:57 -05:00
LexManos
f4afb6f56c
Implement override tracking and syncing.
...
Overrides MUST be registered within a tracked event so we know what mod it came from.
This will allow servers/saves to select which mod 'wins' and becomes to active entry.
This should also mean that when connecting to a vanilla server things will revert.
2017-06-23 16:59:57 -05:00
LexManos
e805b12df8
Fixup some registry tests, dummies are now persisted across syncing.
2017-06-23 16:59:57 -05: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
mezz
423f9fc04b
Fix Universal bucket handling for Fluids with NBT ( Fix #3757 )
2017-06-22 23:40:49 -07: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
68c6e7862e
Fix ShapedOreRecipe matching. #4038
2017-06-21 22:10:55 -07:00
LexManos
f1881453be
Fix recipe names in packaged jars. Closes #4039
2017-06-21 01:46:52 -07:00
Ben Staddon
a30316e6a1
Update NoteBlockEvent with new instruments. Resolves #4018 . ( #4019 )
2017-06-20 23:50:32 -07:00
TechnicianLP
e056c79ec7
IRecipeConditions forge:and and forge:false ( #4017 )
2017-06-20 02:19:14 -07:00
mezz
c6d7c7c11f
Fix itemstack comparison with null
2017-06-19 23:27:52 -07:00
LexManos
a2749e4507
Fix loading recipe jsons from jar files.
2017-06-19 17:18:53 -07:00
Vincent Lee
f7831fbe99
Fix shapeless recipes not being able to use NBT on output, and fixed issue with null groups.
2017-06-19 16:49:21 -07:00
Lumien
303578b2f2
[1.12] Fixes Exception when getting modlist for a vanilla client ( #4028 )
2017-06-19 16:47:34 -07:00
mezz
e3777f4559
Add missing Override annotations
2017-06-17 18:24:17 -07:00