Commit graph

1400 commits

Author SHA1 Message Date
Christian
f594109b30 Attempt to resolve the entity concurrency issue, by simply deferring unload
to the next tick
2012-12-30 23:26:04 -05:00
Christian
e4a1693495 Fix a missed patch and cleaned up other patches
Rollback a method name change that breaks a lot of mods
Update FML: fb701cd
fb701cd Revert MCP name change for canConnectRedstone - it conflicts with a forge method of the same name and breaks 1
2012-12-29 00:29:15 -05:00
Christian
19347c5322 Update for MC 1.4.7
Update FML: f7cc50b
2012-12-28 12:06:56 -05:00
LexManos
0c5563fbf5 Attempt a fix for the new chunk compression changes. 2012-12-27 22:13:46 -08:00
LexManos
46440588fe Fix mobs spawning on inverted slabs/stairs. 2012-12-27 13:50:13 -08:00
Scott Killen
16543840a4 Add ability to WorldTypes to display the 'Customize' button and react to it 2012-12-26 11:35:49 -05:00
LexManos
081ec4b70a Fixed order <.< you saw nothing. 2012-12-25 22:28:16 -08:00
LexManos
a042453690 Use nanoTime instead of currentTimeMillis for potential performance increase. 2012-12-25 22:23:23 -08:00
LexManos
1a54bcd3dc Fixed EntityMinecard missed patch, Issue #338 2012-12-25 22:02:57 -08:00
LexManos
263e919384 Fixed issue with Efficancy enchatment when connected to vanilla servers. 2012-12-25 22:02:30 -08:00
Christian
7553f98367 Protect deflation with a simple semaphore. Should close #336 2012-12-25 22:06:20 -05:00
LexManos
6834cf2649 Fixes a vanilla bug where the player view would dip when stepping between certain blocks
https://mojang.atlassian.net/browse/MC-1594
Issue #318, let me know if you notice any issue.
2012-12-24 01:55:37 -08:00
LexManos
e78b825875 Re-write/Deprecated DungeonHooks loot tables, now uses ChestGenHooks like the rest of the world gen. Also fixes issue #330 by adding in enchanted books.
Should be API compatible.
2012-12-24 01:29:33 -08:00
LexManos
dedc02fa22 Move chunk compression to the network thread in Packet 51 and 56
This will reduce the server load considerably by doing the chunk data compression in writePacketData, which will be run from the network thread.

The chunk compression can easily use 1/4th of the overall server thread CPU time if someone is exploring much, especially when moving quickly (e.g. with quantum leggings).

Player, this is how it's properly done.
2012-12-23 23:31:13 -08:00
LexManos
0562fd85b9 Explicitly check if useItem is not denied, allows for denying the item without denying the block 2012-12-23 23:15:53 -08:00
LexManos
1c225a8d0d Fix missed patch in EntityMinecart, #334 2012-12-23 23:04:11 -08:00
LexManos
878d230189 Delete unneeded patch. 2012-12-23 21:49:16 -08:00
Christian
ca881a8153 Fix Fireworks to always work in SMP 2012-12-22 07:09:21 -05:00
Christian
51c19dd5f1 Fix up enchantment at the enchanting table vs via a book. Adds in a method
that previously exists under a new name: canApplyAtEnchantingTable()
to determine enchantments that can apply at the enchanting table (a smaller
subset of all possible enchantments for an item, now). Also, add your
enchantments to the anvil book application list, if neccessary.
2012-12-21 15:44:41 -05:00
Christian
ced432f31d Tweak packet56 to see if this resolves the apparent worldgen derpiness 2012-12-21 09:24:13 -05:00
Christian
3d5197ea33 Server side only item callback: allow a held item to decide if it wants to pass sneak-clicks through
to a block, or not. Defaults false- the same as the new vanilla behaviour (sneak clicks with an item
in hand don't activateBlock anymore).
2012-12-21 03:15:12 -05:00
Christian
708516e060 Move another patch up a bit - should actually close #329 2012-12-21 01:49:43 -05:00
Christian
b82cb25eea Add IPlantable to itemseedfood. Potato and carrot support! 2012-12-20 21:40:36 -05:00
LexManos
dd8893a65c Fixed cpw's derp in the PlayerInteractEvent logic. 2012-12-20 15:02:06 -08:00
LexManos
4cfffe784e Updated NetClientHandler for onConnectionClosed placement fix. 2012-12-20 15:00:35 -08:00
Christian
c9d9fe8e3a Fix ItemInWorldManager so that itemUseFirst works, and the playerinteractevent works. Minor patching mis hit. Apologies. 2012-12-20 10:52:08 -05:00
Christian
71fc299ac7 OK. AT the right thing, and add in a call to always get the right thing. Clean up patch fuzz too. 2012-12-20 08:48:14 -05:00
Christian
aed532636a Drop the item in onBlockHarvested, not breakBlock 2012-12-18 22:17:02 -05:00
Christian
aca35c7571 Fix up block drops for skulls and cocoa 2012-12-18 22:10:15 -05:00
Christian
18f77fb10f Fix binding the texture for multiple render passes. Thanks mdiyo! Closes #320 2012-12-18 13:32:48 -05:00
Christian
de15192bb8 Allow RenderItem to be easily overridden for things that need to render entityitems. IronChest, BuildCraft, RP2, whatever... 2012-12-18 10:57:04 -05:00
LexManos
d6c4f37eb5 Fixed items dieing improperly due to new EntityItem sync changes, also made items render offset when rendered in 3d. 2012-12-18 06:56:28 -08:00
Christian
efee38095b Fix RenderItem so that forge textures load for it 2012-12-18 09:19:05 -05:00
LexManos
9833c5652c Removed all functions marked as deperacted for the new MC version 2012-12-18 05:28:09 -08:00
LexManos
a2f4a0d2dd Inital update to 1.4.6, Version bumped to 6.5 2012-12-17 22:33:28 -08:00
LexManos
2bdcc3a23a Remove erronious double call to PlayerDestroyItemEvent 2012-12-16 18:02:45 -08:00
LexManos
be6667f733 Make PlaySoundAtEntityEvent fire for players as well 2012-12-16 18:02:11 -08:00
LexManos
ad42901b7e Update patches for repackage. 2012-12-12 23:45:35 -08:00
Christian
3ed793bce5 Merge branch 'terraingen' 2012-12-12 21:13:20 -05:00
LexManos
d4a5b7e3a5 Fix shouldRiderSit() to properly determine if rider is sitting. 2012-12-12 02:24:47 -08:00
LexManos
0e82a3952d Creative GUI will now remember what tab page you were on, thanks Matchlighter PR #290 2012-12-12 02:11:27 -08:00
LexManos
dfd9844c13 Pistons now respect world height a little better, for PR #286, will review Rotation event later. 2012-12-12 01:58:24 -08:00
LexManos
599591e883 New TileEntity function to determine if the TE should be destroied when Block/Meta changes, For Issue #300 2012-12-12 01:55:12 -08:00
LexManos
ee0763fb4a Add CloudRenderer for PR #304 2012-12-12 01:35:18 -08:00
LexManos
c48a15357b Moved check if map cursor should 'spin' and which world a player respawns in to WorldProvider for PR #308 2012-12-12 01:22:43 -08:00
LexManos
03f1418924 Updated FML to 486:
02b54ca8: Add a modid on the mods list, should make it easier to do things like forge chunkloading config
70670f2f: Fix build eclipse extractor task
b9fa3fc9: Add in storage, detection and validation of the ItemID array between client and server
5e5d8206: Fixing id map generation - should validate correctly now
f9fc06a8: Remade python dist as 32-bit.
93d47a1c: Reenabled replacement of the eclipse folder.
2012-12-10 15:53:30 -08:00
Christian
3909cdb3ec Fix RenderBlocks patch, touch branch 2012-12-07 16:43:15 -05:00
Scott Killen
768484d393 For @XCompWiz, added a hook to allow mods to dynamically change the color that water is rendered. 2012-12-07 16:43:15 -05:00
Scott Killen
079db5d854 Readded unchanged version 2012-12-07 16:43:15 -05:00
Scott Killen
f747a97b85 Removed unchanged file 2012-12-07 16:43:15 -05:00
Scott Killen
69ac1fa3a5 Added terrain gen events
Added biome color events for @XCompWiz
2012-12-07 16:43:15 -05:00
Chicken Bones
f1e3481c0a Add Chunk Watch and UnWatch events. 2012-12-06 09:11:20 -05:00
LexManos
0243df1c4a Fix issue where non-BlockContainer TEs would not be removed properly. 2012-11-30 20:22:50 -08:00
LexManos
e65c0a3d88 Fix issue where worlds were potentially unloaded improperly on server shutdown. 2012-11-29 04:05:00 -08:00
LexManos
e5231f306b Added section of the EntityData NBT that will be persisted for players across respawning. 2012-11-27 16:52:08 -08:00
LexManos
820aa195bd Merge pull request #269 from XCompWiz/chunkcon
Adds a more intelligent chunk constructor
2012-11-27 14:53:12 -08:00
LexManos
07a6e4ed5f Fixed random chest items not generating to there max stack sizes. 2012-11-26 20:25:35 -08:00
LexManos
4bf2dbaeb7 Fixed issue with abandoned chunks. 2012-11-26 20:06:23 -08:00
Zach Laster
17151718aa Fixes ordering for z & x loops (proper array increment order)
The ordering before would skip about in the ids and metadata arrays.  This runs linearly and should improve performance.
Done live on github
2012-11-21 14:56:17 +02:00
XCompWiz
e8aaf81627 Fixes some weird formatting 2012-11-21 05:15:20 +02:00
XCompWiz
0eba8eeaab Adds a more intelligent chunk constructor
Adds a chunk constructor with full block id range, that's metadata
sensitive, has intelligent coord ordering, and which allows for
generation at greater heights than 127.
2012-11-21 05:05:51 +02:00
Christian
957afc4d62 Move server specific patch back to common from minecraft.
Update FML: 1f5c58b
1f5c58b Fix up MCP version
61e4db2 Merge joined.exc add update howto
5efc1eb Revert "Fix MC-2497 - derpy torch flames. Moved from forge. Everyone sho
3b3600d Modified merger to just consider all server classes as common. And moved
edcc5ca Forgot mcp.cfg
ca79dfe Updated to 1.4.5b
5945279 Fix python error
57bf643 Modified decompile so that we do not have to decompile the server, saves
d9d0a46 Cleaned up some tabs
2fac644 Change usage of ZipFile, fixes issues with Mac's default instation of py
2012-11-20 09:09:06 -05:00
LexManos
2e2751e5c0 Fix TE Issue 2012-11-19 20:05:16 -08:00
LexManos
5bc4d22bdd Updated to MC 1.4.5b 2012-11-19 16:03:52 -08:00
Christian
f30daebbcb Update FML: 570592b
570592b Attempt to fix a possible comodification risk
2012-11-18 21:22:38 -05:00
LexManos
24f8d6be02 Fixed custom soil checks for NetherStalk and Reeds 2012-11-18 01:36:21 -08:00
LexManos
8bbe281de9 Fixed issue with default implementation of Beach plant type check 2012-11-18 01:35:48 -08:00
Christian
6a8a8a78c4 Update FML: f348496
f348496 Fix mod display list. Shouldn't be derpy anymore.
a5c31b5 Fix World patch- workaround no longer required and leftovers are bad.
2dc3f0d Cleaned up the AT config updater, should work for any setup of the MCP w
2012-11-18 00:17:21 -05:00
LexManos
5b324861a0 Fixed beds not working properly when respawning. 2012-11-17 17:52:37 -08:00
Christian
ba65c08f19 Remove EntityFX patch - moved to FML. Patch SuspiciousClasses to add "forge"
Update FML: fa56701
fa56701 Fix MC-2497 - derpy torch flames. Moved from forge. Everyone should benefit.
96935bb Fix an NPE in TileEntity trying to generate a crash report. Make suspicious classes just return the obvious. Fix NPE for FML crash report on server. Clean up dead pa
2012-11-16 23:06:37 -05:00
Christian
f13200e16a Fix the derpy torch flames properly. Closes MC-2497 properly ;) 2012-11-16 19:07:36 -05:00
Christian
7306c0c1f3 Update to MC 1.4.5
Update FML: 43d3042
43d3042 Clean up a patch
fec221f Update FML for MC 1.4.5
b0f0635 Fix for ModLoader static overrides not displaying.
23a2513 Fix up derpy file name handling: closes #127 Fix up duping childmods: cl
a6eaa2b Fix spelling issue.
c6a0741 FML setup should now download and verify all the minecraft files needed
5a1930e Small fix to some MCP metadata for pre2
418deba Update to MC 1.4.4
4ff2cff Fix bug when a modloader mod is run on a dedicated server and has a conn
2012-11-16 17:06:12 -05:00
Christian
5f2d1d1fc0 Add an ItemStack sensitive version of getIconForRenderPass, defers to
existing by default. Should allow NBT data to affect multipass icon rendering.
2012-11-13 16:01:57 -05:00
LexManos
2087b2b44e Allow for modders to decide whether or not players are positioned on ridingEntities similarly to pigs PR #244 2012-11-12 17:33:12 -08:00
LexManos
369f8ce38f Fix issue where players would spawn in the ground. 2012-11-12 17:29:14 -08:00
LexManos
5b82c5c20e Mods can use custom textures for Slot background overlay, instead of only items.png PR #245 and #246 2012-11-12 17:26:49 -08:00
LexManos
770585e731 Fix crops not droping seeds properly. 2012-11-09 16:21:41 -08:00
LexManos
ba6c4dd7df Fix entity items rendering on the ground. 2012-11-09 16:21:23 -08:00
LexManos
e73cbd088f Update to 1.4.4 2012-11-08 20:19:12 -08:00
LexManos
207843e279 Made Item constructor public, and made setTextureFile chainable, requires mods to recompile, but as this is for 1.4.3 i'm not concerned. 2012-11-04 15:42:04 -08:00
LexManos
2f0dcebbf9 Readdaed teleporter sensitive versions of the teleport function
Added per-world list of custom teleporters, Modders, use World.Load to populate this list.
Changed the definition of our version schemes.
2012-11-02 22:16:32 -07:00
Christian
0f3b030a1d Temporary update for 1.4.3
Update FML: bd2123c
bd2123c Clean up some patch fuzz
c2a603c Update joined.exc file from latest conf
db12af4 Update to 1.4.3
2012-11-02 18:40:43 -04:00
LexManos
c19ae55885 Update FML: Updated MCP mapings, and fixed StartServer 2012-10-31 10:16:46 -07:00
Christian
418a47976a This update fixes some world corrupting vanilla error handling, mostly caused by
mods doing something derpy. Hopefully, your world saves will thank me.
Note that if the mod does derp, it's data is lost. It's not FML or Minecraft Forge's
responsibility if "DirtChest 2000 Mk5" can't write their TileEntity method correctly
and you lose your 100000 diamonds.

Update FML: a3a93f3
a3a93f3 Fix some whitespace issues, handle possibly bugged entities as well
a7eb5dc Vanilla/mod bug fixes: CME on entity processing, TileEntity resetting chunk on save/load.
2012-10-30 09:27:34 -04:00
LexManos
d7adac4508 Fix a vanilla bug related to certian seeds and stronholds. 2012-10-28 23:42:19 -07:00
LexManos
f9ea207cdc Fix cast issue when mods attempt to make fake worlds. 2012-10-28 23:41:43 -07:00
LexManos
25941fd58c Fix compile issue. 2012-10-28 15:37:11 -07:00
LexManos
820d61d56d Added Stonghold, Village, and Spawn biome management helpers for PR 207 2012-10-28 07:38:38 -07:00
LexManos
31638a0697 New hook to allow for custom beacon support blocks. 2012-10-28 06:47:53 -07:00
LexManos
705509054a Added metadata sensitve experience to furnace recipies and added Item callback to determine experience gain. 2012-10-28 06:37:54 -07:00
LexManos
9aca08557d Fix issue where scroll bar would not render when switching tab pages. 2012-10-28 05:57:56 -07:00
LexManos
1a7e580f01 New hook to allow items to be on multiple creative tabs PR 176 2012-10-28 05:57:23 -07:00
LexManos
f6a7ea063b Changeable name tag render distance for PR: 174 2012-10-28 05:33:32 -07:00
ShadwDrgn
77bd22d3c1 Add event to cancel or change chat messages sent from server 2012-10-28 07:31:53 -04:00
LexManos
b52f397a6f Fix ItemSeed placement to take into account the IPlantable interface. 2012-10-27 00:56:13 -07:00
LexManos
c689a982b5 Added a per-world MapStorage feature that provides a method to store data files associated with a specific world, as well as fixes the issue with villagers loosing there village. {Where villagers wouldn't go inside at night} 2012-10-26 22:37:41 -07:00
Christian
efcda1a946 Fix the accessor and type on World.getPersistentChunksFor()
Update FML: 8bd98c3
8bd98c3 Fix a small problem with the new MCP container- it can cause NPEs. Nice.
34cc42d Fix up some javadoc complaints
2012-10-26 21:13:56 -04:00
pahimar
322c79f022 Update patches/common/net/minecraft/src/SlotCrafting.java.patch 2012-10-26 12:26:16 -03:00
LexManos
6dac04b954 Update World patch to fix map provider issue. 2012-10-24 03:54:39 -07:00
LexManos
043f570ff9 Update to MC 1.4.1 and Forge 6.0.0 2012-10-23 16:04:58 -07:00
LexManos
717b80781b Fix color issues with Dyed Leather armor. 2012-10-23 05:24:36 -07:00
LexManos
5ca845f069 Fix up the setHandeled/setHandled for events, it is now a generalized setResult, the meaning of which is defined by each event. 2012-10-22 00:29:28 -07:00
LexManos
dc9b1d90bd Fix NPE issue when mods add null EntityFX's to be rendererd. 2012-10-21 22:59:57 -07:00
LexManos
158c2f1feb Updated World patch, there are a lot of new things happening int he constructor, xcomp should probably vet this. 2012-10-21 10:26:07 -07:00
LexManos
07a4a9f41f Teleporting has a new function (func_82448_a), made it so that you can supply your own teleporter to that function, and so it works with dimension movement factors. 2012-10-21 10:25:27 -07:00
LexManos
a705a12cdf Removed Forge's TileEntity.getRenderDistance, now a vanilla feature: TileEntity.func_82115_m 2012-10-21 10:23:46 -07:00
LexManos
3f03cc8c87 BlockCrops is now the parent class of multiple types of crops, Wheat, Potatoes, and Carrots, updated getBlockDropped patch to reflect. 2012-10-21 10:22:56 -07:00
LexManos
067458bdc0 Patches removing forge spawn protection, now a vanilla feature. 2012-10-21 10:21:39 -07:00
LexManos
1ee857e779 Entities have a new function to determine explosion strength that they create, and implemented Item frame pickblock. 2012-10-21 10:20:39 -07:00
LexManos
6ffaa94994 BlockSnow now pretty much just passes harvestBlock to it's super. 2012-10-21 10:19:54 -07:00
LexManos
c81f696cd7 Updated Render patches, Bipeds now have the ability to have helmets, of either blocks, or the new 'heads' 2012-10-21 10:19:17 -07:00
LexManos
fd1f09a34e Patches that applied with little to no functional changes. 2012-10-21 10:16:55 -07:00
LexManos
01722c6c3c Forge spawn protection removed, now a vanilla feature. 2012-10-21 10:05:50 -07:00
LexManos
9eeda7b4db No longer needed, getRenderDistance removed because Vanilla has it now, TileEntity.func_82115_m 2012-10-21 10:05:02 -07:00
LexManos
305a1ef66b Moved to common where it should be 2012-10-21 10:02:23 -07:00
LexManos
1d1251d92a Remove some test code. 2012-10-19 18:56:56 -07:00
LexManos
34ebfcd978 Added ability for mods to cleanly define and display new creative tabs. 2012-10-19 08:46:39 -07:00
Christian
c440c4b0c1 Update FML: 470a185
470a185 Try and avoid an NPE in crash reports
0029518 Fix logging problems- log death messages and re-route the server through FML logs properly.
fe7a832 Fix the test mod
a2bc30b Coremods can be specified via the command line: fml.coreMod.load=<listofcommaseparatedclasses> This will help with developing coremods
bae1f74 Fix classpath for server
887aa27 Add in the ability for a client to throw a custom exception that displays a custom gui instead of the default error message.
e17f267 Update FML internal classpath. Helpful for coremod devs
3b9972a Don't use File to separate the last element of the path. It's a URL, they're always separated by '/'
5c96afe Changed RelauchLibraryManager so that files with different paths on the same baseURL can be implemented in one ILibrarySet.
1bca393 FML as a whole is now subject to transformers.
27cf731 Bonus extra character. thanks randomitter!
94c84cd Merge pull request #116 from Vazkii/patch-1
c2d3195 Add Null check to FMLClientHandler.sendPacket
2012-10-18 20:17:23 -04:00
LexManos
006a27dcd6 New Block hook to determine if it can be destroied by the ender dragon, for PR 199 2012-10-14 20:17:07 -07:00
LexManos
91e88afdbe Allow hook into GuiSlot for background rendering for PR #203 2012-10-14 20:00:30 -07:00
LexManos
2a749bee2c Change the Crafting damage check to be the same as the usage damage check. (>= -> >) 2012-10-14 19:59:50 -07:00
Christian
b89467d101 Remove @SideOnly from removePotionEffect. Hi RichardG! 2012-10-12 14:01:16 +01:00
LexManos
cd01c30ae2 Merge pull request #198 from iChun/patch-1
Fix not passing right render pass to Item class.
2012-10-07 18:10:58 -07:00
Christian
2c8517f4d7 Fix bounds checking on chunkcache. Should fix a bunch of rp2 and maybe other extended tile entity code 2012-10-07 00:28:42 -04:00
Christian
72c19f335b Expose RenderGlobal.field_72738_E (breakingBlocks) and fire OnBreak for items broken in itemUseFirst on the server. Both for Elo 2012-10-04 18:05:58 -04:00
iChun
528a295401 Fix not passing right render pass to Item class. 2012-10-05 03:57:52 +08:00
Christian
b82a462f64 Fix a problem with re-entering worlds too quickly- the worlds will now *always* save before the menu re-appears. 2012-10-04 00:07:59 -04:00
Christian
518264eff9 Merge branch 'master' of git://github.com/Chicken-Bones/MinecraftForge into Chicken-Bones-master 2012-10-03 01:57:56 -04:00
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
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
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
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
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
LexManos
0e5c0be23e Added preliminarty Player Interact event heavily based on the bukkit event. 2012-09-26 21:18:18 -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
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
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
LexManos
5285e1d918 > != >= 2012-09-25 06:33:01 -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
Christian
0fd2b137ac Some more fixes for chunkloading code. Works very reliably now. 2012-09-23 23:08:38 -04:00
Christian
56a87604f6 Simple chunk caching capability for the chunkloader. This will store "dormant" chunks in a
configurable cache, potentially saving the cost of reloading them from disk.
2012-09-23 23:08:38 -04:00
Christian
4c61f1d202 Remove @SideOnly flag for function now required on the server 2012-09-23 23:08:38 -04:00
Christian
9640c5dcf9 A lot of tweaks to the chunkloading for entity behaviour. Entities are now bound by a new
persistent id they *all* have, on the server side.
2012-09-23 23:08:38 -04:00
Christian
c684360f51 Working cross dimensional implementation of chunkloading for Forge. 2012-09-23 23:08:38 -04:00
Christian
d21e3ae218 Simple chunkloading implementation 2012-09-23 23:08:38 -04:00
LexManos
a9e3a4dbb9 Fix patch errors in merge of last PR -.- 2012-09-23 16:53:20 -07:00
micdoodle8
d00f6f52bb Update patches/common/net/minecraft/src/WorldProvider.java.patch
Fixed WorldProvider.setDimension() setting the wrong variable.
2012-09-23 03:07:48 -03:00
LexManos
b06829e26a Fix accedental doubling of shift, Fixes saplings/flowers planting a space above where they should 2012-09-21 05:35:46 -07:00
LexManos
28d2460611 New Plant API that allows for custom plants/soils. 2012-09-20 19:53:43 -07:00
LexManos
c3f9fed484 Added new hooks for modifying the items generated in chests during world gen. 2012-09-20 18:45:33 -07:00
LexManos
cf3bc6a9d9 Redirect a lot of functions through WorldProvider for Mystcraft, allowing them to be overriden by the provider. 2012-09-18 21:31:17 -07:00
LexManos
8c76914ef2 Merge pull request #175 from iChun/patch-2
Fix pick block key giving invalid spawn eggs
2012-09-18 19:47:15 -07:00
LexManos
c2d53e7651 Added side sensitivity to standard EntityDiggingFX, added Block functions to override spawning of digging and breaking effects. 2012-09-18 19:23:36 -07:00
iChun
cbf88adc98 Logic derp (again) 2012-09-18 22:55:11 +08:00
iChun
3188218a37 Logic derped 2012-09-18 22:53:28 +08:00
iChun
8940b13512 Fix pick block key giving invalid spawn eggs 2012-09-18 21:37:48 +08:00
LexManos
8948a00d60 Readd reverted EntityLiving patch 2012-09-15 19:40:58 -07:00
LexManos
04c149fa11 Merge remote-tracking branch 'origin/master' 2012-09-15 19:39:54 -07:00
LexManos
62700fa7a8 96537dc - Fixup Item in hand rendering of textures > 16x
e88ddc5 - Make the exception print for headless servers if the Downloader cant initalize.
f24ff07 - Remove a bunch of warning about javadoc, not a real fix, but no more warning.
3420ea7 - Update MCP Mapings
87104f0 - Makes GetModSrc check the common folder when attempting to extract source files
640446b - Tie parent/child containers together again. Should close #96
2cf4917 - Village mating produces added villagers, and the egg should place added villagers too. Closes #97.
6394ee8 - Clean up stale references to the Player stored in the NetworkRegistry, closes #100
7299e05 - Merge pull request #99 from CovertJaguar/patch-1
c4bd040 - More readable init logs
2012-09-15 19:36:08 -07:00
LexManos
a44181a192 Move spawn fuzz to WorldProvider/WorldType, useful for VoidWorld types. 2012-09-11 18:30:09 -07:00
LexManos
af6b8820d4 Allow for respawning in different dimensions. 2012-09-11 18:28:55 -07:00
LexManos
aeebb6e9f9 Add ability for Items to create custom Entities for themselves when added to the world, PR: #151 2012-09-11 17:35:53 -07:00
LexManos
96c13d9049 Merge pull request #146 from dries007/Fly
Allow flight permissions to be player sensitive
2012-09-11 16:09:49 -07:00
LexManos
769f18ee61 Implemented isBlockFoliage for pull #141 2012-09-11 15:52:04 -07:00
LexManos
4524435e25 Fix a few patch fuzzes 2012-09-11 15:51:26 -07:00
LexManos
03d1e51764 New EntityItem related events
Fixed player death event in SMP
Added Player specific drops event
Added generic EntityJoinWorldEvent
2012-09-11 15:27:34 -07:00
LexManos
da501613ac Clean up some javadoc warnings. 2012-09-11 13:11:17 -07:00
LexManos
848837bd5c EntityLiving variation of drawBlockDamageTexture to allow for Non-player viewports. 2012-09-11 12:46:40 -07:00
LexManos
8882388902 Fix FillBucketEvent to work with stacked buckets. New change in 1.3 2012-09-11 12:45:29 -07:00
Christian
98e17b10b2 Update FML: 70f55c5
70f55c5 Add in exclusion list for IFMLLoadingPlugin.
1c1716d Remove debug cruft
d567f79 To properly align with packet9respawn, make packet1login's dimension an int as well
ecd4e46 Attempt to build some protocol negotiation, and fix packet1login so that the dimension is a short, matching packet9respawn
16fe495 Compatibility level is now passed from server to client - and the client tracks it. This means certain packet changes can be made without b
4f70d23 Fix dependency checking: you can depend on specific versions of FML
2012-09-08 21:17:05 -04:00
LexManos
437d83e9b3 Fix placing torches and the like on inverted woden slabs. 2012-09-05 22:06:32 -07:00
Christian
c4852b02c3 Update FML: 12bc4ba
12bc4ba Make console logging pass through a single logging thread to avoid concurrency problems with launchers and stuff
8fccfa2 Overlooked chat message support *sigh*. Fixes wierd mods that communicate through custom chat messages rather than
a697d04 Rescan mod packages where there was a possible mod identified to try and make sure we load it. Fixes Matmos r16
2012-09-04 19:24:48 -04:00
Christian
955904e6b2 Update FML: c90a853
c90a853 Fix up addRenderer to catch exceptions from the basemod, also, addrenderer now supplies a list of the default renderers from MC for editing and will note the
18069d8 Change download location for FML libraries to files.minecraftforge.net, add an encoding param to the javac command line to force utf 8
a40f4a7 Add in random jar/zip files to the classpath. UGH this is so fucking ugly it's not funny.
5b6460b Use a null socket and try to prefer the result of getLocalHost in the broadcast data.
2012-08-31 12:37:15 -04:00
dries kennes
15a3e76fc1 Allow flight,player sensitive 2012-08-30 20:16:20 +02:00
Christian
1a9f9185f4 Update FML: c0d1348
c0d1348 Add in an ItemRenderer null check so FML can run render adding mods
482c163 Inverted boolean logic. Grrr.
221d113 ModLoader mob spawns use packet 24- build a bypass system so that they can still use it
f19f426 Remove debug statements
2012-08-29 15:40:59 -04:00
LexManos
895365d9b9 Fix silk touch on Ender Chests. 2012-08-28 16:36:19 -07:00
LexManos
18f3d41a5b Merge pull request #142 from ShetiPhian/movecheck_override
Server mods can now use noClip to push players through solid blocks without is being an invalid move and resetting the players position. Useful for creating semi-solid blocks like quicksand.
2012-08-28 00:06:37 -07:00
LexManos
1a2ce02a7f Fix Issue #140: Custom items not properly having texture applied for partical effects. 2012-08-27 23:55:14 -07:00
ShetiPhian
050ca0bde9 Update patches/common/net/minecraft/src/NetServerHandler.java.patch
Update patches/common/net/minecraft/src/NetServerHandler.java.patch

Server mods can now use noClip to push players through solid blocks without is being an invalid move and resetting the players position.

Useful for creating semi-solid blocks like quicksand.
2012-08-26 06:14:51 -03:00
LexManos
58fc45619f Fix FillBucketEvent to actually fire. 2012-08-25 00:30:32 -07:00
LexManos
8fc05c399a Fix call to createTileEntity on blocks that extend BlockContainer. 2012-08-24 14:06:02 -07:00
LexManos
3a604ac0fa Merge remote-tracking branch 'origin/master' 2012-08-22 18:04:06 -07:00
LexManos
0b1997a9e6 Made helper hooks for EntityLiving and EntityRenderer hooks for Optifine 2012-08-22 18:02:14 -07:00
Christian
25aef3543b Update FML: 6e01c59
6e01c59 Merge ChickenBones pull into FML - adds player trackers
a0cbd37 More precise error handling when an invalid class is present
12323e2 Fix textures not applying properly
789a4a3 Fix up entity spawning - hopefully they won't warp anymore.
a87d045 Add in a helper on the server start event for adding commands to the server.
82e9309 Move villager trading hook up a bit. thanks sengir.
8deaa37 Fix LAN to try hard to find a real network interface, not just localhost most of the time
b5363e3 Update build to not bother building client jar. Universal is everything now.
2012-08-22 18:13:11 -04:00
LexManos
a8191d0dae Merge pull request #135 from dvrabel/minecart-drag
Use original minecart drag co-efficients for regular carts.
2012-08-22 13:41:05 -07:00
LexManos
dd5543b90d Update FML to 304:
Client side only classes are properly annotated, and denied loading on server side
Added missing client side only ModLoader.getContainerGUI function
Guis work for FML mods now.
Fixed MLProp handeling of null info
Fix up dispenser handling, add in new params for the dispenser: breaks IDispenseHandler, sorry
2012-08-21 12:46:35 -07:00
David Vrabel
6ffe25eed6 Use original minecart drag co-efficients for regular carts.
Since the amount of speed lost is 1 - co-eff, rounding 0.997 to 0.99
makes a big difference to the distance a minecart will travel (less
than half of the distance in vanilla 1.25).
2012-08-21 00:46:09 +01:00
LexManos
d5610afdff Updated onItemUseFirst call to include the new hit vector information, and updated readme. 2012-08-19 21:06:32 -07:00
LexManos
d3300cabb0 Added missing server side onBlockStartBreak hook, fixes Sheers. 2012-08-19 20:43:32 -07:00
LexManos
f341fdfd61 Fix IndexOutOfBounds exception, Major derp. 2012-08-19 17:41:21 -07:00
Christian
bea2d8599f Update FML: 46c563a
46c563a Expose more of the village construction parts for building village piece
1380c2e Allow access to the type "ComponentVillage"
71a3818 Documentation and registration for villager stuff
e3a343c Fix javadoc derp
195b1a0 Villager trading, manipulation and village enhancement. Still WIP but sh
69e66c3 Fix exception based logging to actually log the exception!
2012-08-19 11:35:22 -04:00
LexManos
87e0fced25 Changed order in which EntityItemPickupEvent is called, it will no longer be called if the 'delay' on the item is still active. Also EntityItems that are in the world with invalid item stacks will now kill themselves. 2012-08-18 21:07:29 -07:00
heldplayer
59c77d7ca4 Adds a SkyProvider class that can handle the rendering of the sky 2012-08-18 21:05:21 +02:00
LexManos
7f40671ad8 Fix MC packet bugs for remote servers that use blocks with ids > 256 2012-08-18 02:16:17 -07:00
LexManos
a6d703edca Fixed bug in EntityMinecart that would cause them to fall through the ground at the bottom of slopes. 2012-08-17 23:50:25 -07:00
LexManos
e30fef15d8 Update WorldProvider.path diff. 2012-08-17 13:32:38 -07:00
LexManos
21b4525643 Added timeout to MC's download of sound resouces. 2012-08-17 13:32:20 -07:00
LexManos
20e38dca99 Fix EntityItemPickupEvent 'pop' sound spamming. 2012-08-17 13:31:47 -07:00
LexManos
912072535d Fixed EntityEvent.CanUpdate 2012-08-17 13:31:04 -07:00
Christian
4297a348db Update FML to include some ML compatibility fixes. Minimap should run, assuming he
recompiles against standard ML interfaces.
This updates to official MCP 7.2, so you'll need to rebuild your workspace (some
small but important patches to MCP went in)
2012-08-16 14:30:14 -04:00
LexManos
db6ac47689 Merge pull request #121 from Draake/master-pr1
Added additional sound events to allow for low level information.
2012-08-15 16:03:01 -07:00
Draake
bd78b40bcd Removed SoundSetListenerEvent implementation. 2012-08-15 14:46:35 -07:00
LexManos
fc430243d1 Rename Orientation to ForgeDirection {Damn MCP naming a class Direction already} 2012-08-15 04:28:09 -07:00
LexManos
06aaa9e9a4 Add render distance property to TileEntity. 2012-08-15 02:18:23 -07:00
LexManos
4967683c9c Fix issue with default getContainerItemStack 2012-08-15 02:09:21 -07:00
LexManos
d9423a4f25 New Command event. 2012-08-15 02:01:38 -07:00
LexManos
60a9655602 Seperated block placmenet logic in ItemBlock as immibis requested: https://github.com/MinecraftForge/MinecraftForge/pull/110 2012-08-15 01:48:34 -07:00
LexManos
57441b8678 Fix ItemBlock placement, should fix RP Deployers placing blocks 1 tile down. 2012-08-15 01:32:05 -07:00
LexManos
393852920c Fixed bug in DimensionManager that would cause Index error for custom dimensions, also made WorldProviders aware of what dimension they are. 2012-08-14 23:59:15 -07:00
LexManos
57dcfc5dd0 Updated patches to 1.3.2 2012-08-14 23:58:32 -07:00
LexManos
3b18bfae40 Readded patch to allow for use of custom teleporter for transfering dimensions. 2012-08-14 15:03:40 -07:00
LexManos
2a8a917fdd Update release script to create universal binary distro. 2012-08-13 22:28:23 -07:00
Draake
ddd406bad3 Added additional sound events to allow manipulation of a sound source at its creation. 2012-08-13 18:36:55 -07:00
Jonathan Marini
66bd2868cb Fix bug where default bonemeal behavior wouldn't trigger. Only return if the event was canceled. 2012-08-13 15:42:19 -04:00
LexManos
83f7a57199 Fixed ItemRenderer not grabbing custom texture files properly for block items 2012-08-12 20:40:04 -07:00
LexManos
6b4288d00f Updated FML, fixed custom tool hooks, and spawn protection/player reach hooks. 2012-08-11 14:45:48 -07:00
LexManos
97aae96754 Update FML, server should run now. Still issue with NPE with no mods installed. 2012-08-11 11:16:37 -07:00
LexManos
ba55320462 Fixed Diemsnion API related NPEs, and updated FML to 231. 2012-08-11 03:08:09 -07:00
LexManos
55636eabab Updated FML, updated patches 2012-08-10 20:30:59 -07:00
LexManos
f374723610 Update fml, impelemnted Diemsnion API stuff. 2012-08-10 18:15:10 -07:00
LexManos
acdcfd0a56 Added new pick block hook for blocks and entites to allow for better grained control of the result. 2012-08-10 02:09:11 -07:00
LexManos
a759939e13 Delete conf, server compile, update fml, and fix install script. 2012-08-09 18:37:52 -07:00
LexManos
f31b8a98a9 Cleaned up some more, fixed infinite loop with cancelable annotation, Client now compiles and enters world just fine. 2012-08-09 16:47:35 -07:00
LexManos
ba9e3a251c Nope, unneeded patch 2012-08-09 03:11:40 -07:00
LexManos
dae4a07c60 Updated Client side patches for the new Merged MCP workspace. 2012-08-09 03:06:41 -07:00
LexManos
316bf8d448 Finished World and EntityMinecart patches. 2012-08-07 16:54:14 -07:00
LexManos
41f1a60f32 More conversions, added all the entity living events. 2012-08-07 01:24:06 -07:00
LexManos
4e91293271 More work, moved over packet stuff, need to change everything to use new NetworkMod system 2012-08-06 20:45:37 -07:00
LexManos
e58129ddd2 A bulk of more patches converted, updated fml 2012-08-06 17:52:23 -07:00
LexManos
31a908b754 More patches converted.
Refactored some of the events to be a better hiarachy.
2012-08-06 15:07:53 -07:00
LexManos
80ad4be5b1 Some more patch migration before bed. 2012-08-06 03:54:57 -07:00
LexManos
d286154997 More progress on converting patches from 1.2.5 2012-08-06 03:35:57 -07:00
LexManos
545b905f11 Implemeneted adding grass seeds, as well as IShearable for BlockTallGrass 2012-08-05 19:41:18 -07:00
LexManos
cc74f7d7d0 Implemented BonemealEvent (IBonemealHandler replacement), and bonemeal making grass. 2012-08-05 19:15:13 -07:00
LexManos
2d7deacead Renamed MinecraftForge.eventBus to EVENT_BUS as it's constant. 2012-08-05 19:14:02 -07:00
LexManos
1fb042621c First push of some small patches and introduction of basic events. As well as the first cases for Forge's Access Transformer 2012-08-05 03:20:07 -07:00
LexManos
247ff9b737 Updated update_patches.py, and made first patch! 2012-08-04 22:50:54 -07:00
LexManos
c2d851cf20 Get rid of all old patches 2012-08-04 00:00:31 -07:00
LexManos
6eb4353b95 Rebase 2012-08-01 17:41:34 -07:00