Commit graph

5838 commits

Author SHA1 Message Date
Christian
0162519347 Remove dead WorldInfo patch. Tweak dimension code a bit for better naming, and use the new FML world loading facilities
Update FML: d0e7c9e
d0e7c9e Update patches *sigh*
f3e1cac Add in a savehandler strategy for reading and writing data to the world save. This service is only available to coremods via the WorldAccessConta
51fb513 Add in some bukkit supporting code. Most of this is unimplemented until the bukkit coremod is complete.
65c9fdd New stuff on the ModLoader! Risu has been busy. Closes #114
c1d4458 Mods can now declare a range of minecraft versions they will run against
2012-10-03 01:54:40 -04:00
Christian
124f47f55c Update patches *sigh* 2012-10-02 22:04:25 -04:00
Christian
550e622bc7 Add in a savehandler strategy for reading and writing data to the
world save. This service is only available to coremods via the
WorldAccessContainer interface on the mod wrapper. This is deliberate
and will not change.
2012-10-02 21:54:47 -04:00
Christian
a554846e57 Add in some bukkit supporting code. Most of this is unimplemented
until the bukkit coremod is complete.
2012-10-02 20:26:47 -04:00
Christian
b7febbbff7 Merge branch 'XCompWiz-mystcraft'
Merge in mystcraft base edits for a base clean mystcraft. Adds in a lot of extra capabilities
2012-10-02 20:13:52 -04:00
XCompWiz
a50abc514f Server player concurrency fix
Fixes an issue where the server can move a player while the player is
moving, process the player's last move (putting the player back where
they were before the teleport), and then complain about the player
moving too fast when the client catches up to it's new position.  Also
fixes this issue while riding an entity.  Only affects player
client/server movement sync.
2012-10-03 02:45:36 +03:00
XCompWiz
e53595f1f5 Lighting Time fix
score_under's lighting fix that limits and fairly distributes the amount
of time spent on recalculating lighting
2012-10-03 02:42:40 +03:00
XCompWiz
babc12d2b5 MapStorage Fix
Fixes setting and timing of map storage object to allow for the
WorldProvider to use it during initialization
Forces single instance of map storage object (per side)
Moves setting of spawn to after provider setup
2012-10-03 02:41:32 +03:00
XCompWiz
bbc5673ad8 Adds world unloading and hotloading calls
Adds world unloaded message to MinecraftServer on save.
Adds world unloading calls to chunk provider/manager when all chunks are
unloaded.
Adds call in MinecraftServer getWorld to hotload world if it isn't
loaded.
2012-10-03 02:37:27 +03:00
XCompWiz
32ca2b4fb0 Improves DimensionManager
Adds handling for unloading and hotloading of worlds, fixes some typos,
allows for dimensions to be unregistered (allowing save specific
dimension registrations), general changes to match these features.
2012-10-03 02:34:50 +03:00
Christian
0ed0d284b5 New stuff on the ModLoader! Risu has been busy. Closes #114 2012-10-02 08:29:12 -04:00
Christian
9a8a38d345 Mods can now declare a range of minecraft versions they will run against 2012-10-02 01:29:46 -04:00
LexManos
154124acd8 Fix issue where mushrooms would not check the proper soil block. 2012-10-01 18:51:35 -07:00
LexManos
eda74ffac2 Fix issue where light would not properly recalculate. 2012-10-01 18:51:11 -07:00
Chicken Bones
7208c2c059 Add some of the model subsystem to the server. The part that doesn't require openGL. This allows for systems that dual models as collision/selection boxes etc. 2012-10-01 11:10:09 +10:00
LexManos
92923a3521 Expanded DungeonHooks to allow for adding of custom DungeonLoot values directly, allowing for better control over the generated items. 2012-09-30 01:01:00 -07:00
LexManos
33a6ec9a70 Made PlayerEvent.BreakSpeed fire when a player cannot harvest the block. Issues #191 and #188 2012-09-30 00:48:22 -07:00
Christian
27d6841579 Update FML: ca1ca4f
ca1ca4f Fix maps supporting greater than byte() dimension sizing
15ee8bf Fix language registry additions, closes #113
a08b5b1 Merge pull request #112 from pahimar/master
8dac58f Added ability to query the Language Registry by key and language for specific localized text, as well as loading in localization text f
2012-09-29 00:35:26 -04:00
Christian
7cd5ae04f7 Fix maps supporting greater than byte() dimension sizing 2012-09-29 00:21:42 -04:00
Christian
639039dd18 Fix language registry additions, closes #113 2012-09-28 22:12:23 -04:00
Christian
b227d7ce73 Dormant chunk cache might actually work now, and not mix chunks across worlds 2012-09-28 17:04:26 -04:00
LexManos
b41626cf78 Forgot comment, you see nothing... 2012-09-28 00:02:21 -07:00
LexManos
d373632275 Fix vanilla bug where the player would load chunks outside its range that would be 'abandoned' and never unloaded. 2012-09-27 23:58:40 -07:00
LexManos
49f263eb63 Fix buckets, need to rethink for bukkit compatibility. 2012-09-27 23:56:39 -07:00
Christian
fbae118a2f A few requested features of ForgeChunkManager. Mods can specify a
chunkloading config directly in the config file, including chunk
loading overrides if they wish (and the config allows them).
Also added "player" tied tickets that bind to the player and not the
mod's quota.
2012-09-27 23:38:27 -04:00
LexManos
520550dab9 Location aware version og Block.lightOpacity for PR #169 2012-09-26 22:12:47 -07:00
LexManos
6ec887b34f Missing updates from last commit 2012-09-26 22:12:01 -07:00
cpw
52da67717f Merge pull request #112 from pahimar/master
Additonal Language Registry functionality
2012-09-26 21:57:53 -07:00
LexManos
0e5c0be23e Added preliminarty Player Interact event heavily based on the bukkit event. 2012-09-26 21:18:18 -07:00
LexManos
a421e51805 Fix bug in last commit that caused block to not break. 2012-09-26 21:17:26 -07:00
LexManos
63aa706dcf Add PlayerEvent.HarvestCheck and PlayerEvent.BreakSpeed for dealing with things related to a player harvesting a block. 2012-09-26 17:54:15 -07:00
pahimar
df7d2b7161 Added ability to query the Language Registry by key and language for specific localized text, as well as loading in localization text from a specific file/URL 2012-09-26 15:41:58 -04:00
LexManos
44e3843edb Fix bug where breaking texture would not apply to top/bottom of beds. 2012-09-26 12:19:16 -07:00
Christian
5fb999fa22 Add in an "EntityEvent.EnteringChunk" event. Useful for your entity chunkloading stuff. 2012-09-26 08:52:40 -04:00
LexManos
1df9b144cd Merge remote-tracking branch 'origin/master' 2012-09-26 01:45:26 -07:00
LexManos
34ac4f5cec Support for no BOM. 2012-09-26 01:30:22 -07:00
Christian
60b260b40c Update FML: f083707
f083707 Extreme headless mode is back!
2012-09-25 23:04:15 -04:00
Christian
7dbda77f10 Extreme headless mode is back! 2012-09-25 22:46:47 -04:00
Christian
384f795d52 Some more tweaks to the chunkloading code. The world.load event fires slightly later- once the entity watcher is
set up, so entities can actually load into the server world. Also, tickets actually save and load properly
and null entities don't break the server
2012-09-25 19:12:10 -04:00
Christian
4dd3d2cfd7 Update FML: dd39ae5
dd7502a Fix parent child counts showing properly. Closes #107 thanks scott!
b36d447 It's useMetadata, not usesMetadata. thanks myrathi and psx. closes #110
efb1066 Fix random shuffling when manipulating biomes by using a LinkedHashSet to preserve iteration order. Closes #111
2012-09-25 19:10:15 -04:00
Christian
eb034416ae Fix parent child counts showing properly. Closes #107 thanks scott! 2012-09-25 19:00:36 -04:00
Christian
d21bc1085c It's useMetadata, not usesMetadata. thanks myrathi and psx. closes #110 2012-09-25 18:57:42 -04:00
Christian
2bee777740 Fix random shuffling when manipulating biomes by using a LinkedHashSet to preserve iteration order. Closes #111 2012-09-25 18:54:46 -04:00
LexManos
5285e1d918 > != >= 2012-09-25 06:33:01 -07:00
LexManos
5d3371ab3b Fix Configuration.getItem to return pre-shifted values suitible to pass into Item constructors. 2012-09-25 05:04:56 -07:00
LexManos
c20b71eb20 Fire off PlayerDestroyItemEvent for crafting contianer items that get damaged to much. PR #183 2012-09-24 22:44:42 -07:00
LexManos
27e4c3c3d5 Changed Configuration to use overloaded methods, and changed the order of arguments to be Category, Key, Value instead of Key, Category, Value to hopefully help cleanup some peopels code.
Added function to get a free Item id. Will only accept values that are not in the block space. Needs testing.
Marked all the old getOrCreate* functions as deprecated.
2012-09-24 22:33:56 -07:00
LexManos
1804f22182 Configuration will now attempt to detect the encoding of the file using the Byte Order Mark. 2012-09-24 20:56:52 -07:00
Christian
8c74d81103 Fix up some config file handling to be even more resilient. 2012-09-24 23:15:36 -04:00
Christian
93e7ac7b55 Support quoting in property and category names for almost all possible characters allowed 2012-09-24 23:15:22 -04:00