cpw
32e577d5bf
Fix API incompatibilities. Should mean mods will work with new config changes.
2014-06-26 14:45:43 -04:00
luacs1998
23c6d0ef55
Update mc version string
...
Or was I not supposed to?
2014-06-26 09:03:22 +08:00
cpw
fcd13f5e71
Merge branch 'master' into prerelease
2014-06-25 20:18:42 -04:00
cpw
24c05a73ce
Merge branch 'master' of github.com:bspkrs/MinecraftForge into bspkrsgui
...
Conflicts:
src/main/resources/assets/forge/lang/en_US.lang
2014-06-25 20:13:36 -04:00
Lex Manos
256d865db6
Update to 1.7.10-pre4.
2014-06-23 21:55:16 -07:00
Thog92
a905fe578b
Add missing 1.7 biomes to BiomeDictionary
2014-06-19 19:06:27 +02:00
bloodshot
61a6b67d51
Don't call ChunkDataEvent.Load async
...
ChunkDataEvent.Load must be called after TE's are loaded since this is
what mods expect. The event is handled by ChunkIOProvider during
callStage2.
2014-06-13 00:52:13 -04:00
LexManos
96286b77f9
Merge pull request #938 from bloodmc/chunkasync
...
Load chunks asynchronously for players.
2014-06-12 17:43:28 -07:00
Lex Manos
1b7190c50b
Pop version for new Recomended build.
2014-06-12 15:16:56 -07:00
Travis Watkins
e6bbcf6a3d
Load chunks asynchronously for players.
...
When a player triggers a chunk load via walking around or teleporting
there is no need to stop everything and get this chunk on the main thread.
The client is used to having to wait some time for this chunk and the
server doesn't immediately do anything with it except send it to the
player. At the same time chunk loading is the last major source of file IO
that still runs on the main thread.
These two facts make it possible to offload chunks loaded for this reason
to another thread. However, not all parts of chunk loading can happen off
the main thread. For this we use the new AsynchronousExecutor system to
split chunk loading in to three pieces. The first is loading data from
disk, decompressing it, and parsing it in to an NBT structure. The second
piece is creating entities and tile entities in the chunk and adding them
to the world, this is still done on the main thread. The third piece is
informing everyone who requested a chunk load that the load is finished.
For this we register callbacks and then run them on the main thread once
the previous two stages are finished.
There are still cases where a chunk is needed immediately and these will
still trigger chunk loading entirely on the main thread. The most obvious
case is plugins using the API to request a chunk load. We also must load
the chunk immediately when something in the world tries to access it. In
these cases we ignore any possibly pending or in progress chunk loading
that is happening asynchronously as we will have the chunk loaded by the
time they are finished.
The hope is that overall this system will result in less CPU time and
pauses due to blocking file IO on the main thread thus giving more
consistent performance. Testing so far has shown that this also speeds up
chunk loading client side although some of this is likely to be because
we are sending less chunks at once for the client to process.
Thanks for ammaraskar for help with the implementation of this feature.
This commit is based off the following :
Bukkit/CraftBukkit@b8fc6ab2c1
Bukkit/CraftBukkit@85f5776df2
Bukkit/CraftBukkit@0714971ca2
Bukkit/CraftBukkit@7f49722f45
Bukkit/CraftBukkit@53ad0cf1ab
2014-06-12 16:51:17 -04:00
Lex Manos
7a43d2f96a
Rework OreDictionary's internals to be a bit more speedy to help combat modders using it inapropriatly. Closes #1022 Closes #1131
2014-06-10 18:05:09 -07:00
bspkrs
04c2ed554d
Added support for new FML config GUI classes
...
refactored lots of stuff based on comments
added Configuration.load() exception handling and logging
2014-06-04 17:39:47 -04:00
LexManos
f3cbc6c262
Merge pull request #1034 from Adubbz/master
...
Greatly simplified the addition of new biomes to the default world. If this breaks things blame Adubbz.
2014-06-02 17:00:47 -07:00
Lex Manos
42fc3c9516
Added Noteblock change and play events. Closes #1027 #1025
2014-06-02 16:57:04 -07:00
Lex Manos
f2a33ea9f6
Add comment to RotationHelper telling modders where to actually look, closes #1115
2014-06-02 12:20:28 -07:00
Lex Manos
0737601dbf
Fix enum helpers for EnumRarity {moved to Commn and changed paramter} and EnumCreatureType {new parameter} and added junit test for them. Closes #1009
2014-05-28 15:28:40 -07:00
Lex Manos
5f90e0788b
Change IShearable JavaDoc by one line so Anti would shut up. Closes #1054
2014-05-26 11:26:53 -07:00
Lex Manos
711e92a59f
Fully clear DimensionManager's DimensionID bitset when world is loaded. Closes #1074
2014-05-12 11:46:03 -07:00
Christian
26c55d89ef
Fix forge validating strict versions on remote connections.
2014-05-12 13:49:46 -04:00
Adubbz
4454d3f341
Greatly simplified the addition of new biomes to the default world
2014-05-11 15:06:14 +10:00
Lex Manos
c8abc41aa0
Fix extended entity properties being lost when leaving the end, This introduces the concept of calling IExtendedEntityProperties.init when entites/worlds change. Lets see if mods explode.
2014-05-07 14:52:18 -07:00
Lex Manos
a008339c6e
Bump Forge version in prep for release.
2014-04-16 17:30:50 -07:00
Lex Manos
14b9d639a2
Use BiomeGenBase's array size instead of hardcoding it in BiomeDictionary. Closes #871
2014-04-02 23:46:52 -07:00
Lex Manos
5f62afb5f2
Add AnvilUpdateEvent which is fired when a user places a item in both input slots of a Anvil and allows modders to control the output. Closes #838
2014-04-02 18:33:13 -07:00
Lex Manos
d9a1c718bf
Add position to BreakSpeed event. Closes #621
2014-04-01 15:00:25 -07:00
Lex Manos
b43d63a7ad
Cull FakePlayers when worlds are unloaded.
2014-02-11 18:25:33 -08:00
Lex Manos
c8e0b4a193
Use correct tag types when reading Forced Chunk data. Fixes ticket loading. Closes #964
2014-02-10 16:16:03 -08:00
Lex Manos
1e2c63f486
Add the beginnings of a Constants class, to document/clean some of the magic numbers that are in the MC code base.
2014-02-05 01:14:57 -08:00
Lex Manos
e68577ffd3
Updated FML:
...
MinecraftForge/FML@03fb1879d7 Fix obf error when right clicking a Empty Map.
MinecraftForge/FML@6bb9b8b953 Clean up FMLEventChannel. Closes #367 .
MinecraftForge/FML@b7b3450dcd Update MCP mapping snapshot to latest crowdsourced names.
MinecraftForge/FML@8c9e8b5270 Fix isRemote, this is integral to so many parts of the code, everyone knows it by this name, People should not change it.
2014-02-05 01:14:24 -08:00
Christian
9d919f8ac9
Fix up the event handler so it knows it's owned by forge
2014-02-02 12:34:34 -05:00
Christian
67d9dac16d
Add a discriminator for fluididspacket. remove extraneous channel handler.
2014-02-02 12:19:37 -05:00
Lex Manos
2b9a2b5c1a
Inital Fluid system update, untested. Still in progress.
2014-01-29 18:34:23 -08:00
Lex Manos
baf95e747a
Fix warnings in Forge codebase.
2014-01-17 21:55:48 -08:00
Christian
eeeb4d37e8
Add exception logging to forge channel handlers as well
...
MinecraftForge/FML@53557dcd05 Put logging exception handlers on all channel inbounds. Fix problem with failure to login. Closes #350
2014-01-17 17:05:11 -05:00
Christian
95c12b6c20
Updated FML:
...
MinecraftForge/FML@5317672631 Add a utility method for finding the channel handler name based on type. Should fix naming weirdnesses.
MinecraftForge/FML@9de9a15530 Fix stupid hardcoding derp
2014-01-03 23:07:55 -05:00
Lex Manos
b6199c202e
Fixed pipeline naming issue in the ForgeNetworkHandler.
2014-01-03 18:54:52 -08:00
Adubbz
bd5e7f8118
Fixed sky colour transitions on a render distance of 16, fixed the WorldGen of various things
2014-01-01 18:50:52 +11:00
LexManos
ccee30b15e
Merge pull request #908 from jk-5/patch-1
...
Add constructors to DimensionRegisterMessage
2013-12-31 13:08:56 -08:00
Lex Manos
b31fbe528a
Update for the FMLEmbeddedChannel change.
2013-12-31 12:48:59 -08:00
jk-5
03c4282ebf
Added default constructor for reflection
2013-12-31 08:21:05 +01:00
jk-5
5ff5f1b0d5
Added a constructor and made the fields package-private
2013-12-30 21:58:53 +01:00
jk-5
07fa6615f8
Update ForgeMessage.java
2013-12-30 20:12:15 +01:00
Christian
5c647d4515
Fix the network handler for forge
2013-12-28 17:01:58 -05:00
Christian
cf3447feea
Tidier implementation of previous commit. Should fix for subclasses of individual tools too
2013-12-27 21:48:42 -05:00
Christian
78b1b54e2b
Add in harvesting abilities of the items, should fix effectiveness
2013-12-27 21:26:42 -05:00
Lex Manos
a6827f9820
Fix dig speed on redstone ore and obsidian.
2013-12-25 00:41:21 -08:00
Lex Manos
40d02fe6c3
Add a version check mechanic to startup, it is done in a seperate thread and has a config option to compleetly disable it. This allows us to notify users of new recomended builds. Hopefully stemming the flow of outdated help request. Also adds a warning to the main screen if you are running a 'Beta' Forge. Which means a Forge for a new version of Minecraft that we have not promoted a recomended build for yet.
2013-12-25 00:35:59 -08:00
Lex Manos
8ca1179e04
Move Grass {Flower} registry to BiomeGenBase as 1.7 made flowers Biome specifc, this means modders who wish to add global base flowers need to add them to all the biomes indavidually.
2013-12-23 20:34:39 -08:00
Lex Manos
436f7fc550
Bump version to 10.12.0 to mark 1.7.
2013-12-22 18:48:22 -08:00
Lex Manos
9ee5053b71
Fix:
...
Block placement/interaction
Tesselator crash due to wrong mapping
Missing isreplaceable check in world.canPlaceAt
Small foratting/logging cleanup
Temporarly commented out efficancy changes till I implement it.
2013-12-22 18:25:26 -08:00