Upload src
This commit is contained in:
parent
f8aff78cb6
commit
4100b8e110
20
.classpath
Normal file
20
.classpath
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="bin/main" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="gradle_scope" value="main"/>
|
||||
<attribute name="gradle_used_by_scope" value="main,test"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/">
|
||||
<attributes>
|
||||
<attribute name="module" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
||||
<classpathentry kind="lib" path="jars/teavm-jso-0.6.1.jar"/>
|
||||
<classpathentry kind="lib" path="jars/teavm-interop-0.6.1.jar"/>
|
||||
<classpathentry kind="lib" path="jars/teavm-jso-apis-0.6.1.jar"/>
|
||||
<classpathentry kind="lib" path="jars/jzlib-1.1.3.jar"/>
|
||||
<classpathentry kind="output" path="bin/default"/>
|
||||
</classpath>
|
23
.project
Normal file
23
.project
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Minecraft Client</name>
|
||||
<comment>Project Infdev created by Buildship.</comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
14
.settings/org.eclipse.jdt.core.prefs
Normal file
14
.settings/org.eclipse.jdt.core.prefs
Normal file
|
@ -0,0 +1,14 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabledorg.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
BIN
jars/jzlib-1.1.3.jar
Normal file
BIN
jars/jzlib-1.1.3.jar
Normal file
Binary file not shown.
BIN
jars/teavm-interop-0.6.1.jar
Normal file
BIN
jars/teavm-interop-0.6.1.jar
Normal file
Binary file not shown.
BIN
jars/teavm-jso-0.6.1.jar
Normal file
BIN
jars/teavm-jso-0.6.1.jar
Normal file
Binary file not shown.
BIN
jars/teavm-jso-apis-0.6.1.jar
Normal file
BIN
jars/teavm-jso-apis-0.6.1.jar
Normal file
Binary file not shown.
458
md5/original.md5
Normal file
458
md5/original.md5
Normal file
|
@ -0,0 +1,458 @@
|
|||
net/minecraft/client/Minecraft 89966db2dd48a958373305926582cc17
|
||||
net/minecraft/client/MinecraftApplet c457d27b24b1e89c9281fbf0be0af635
|
||||
net/minecraft/isom/IsomPreviewApplet 748706f989c417e2534d6dab485e5ef9
|
||||
net/minecraft/src/AxisAlignedBB e5e0cdecfc3c5d9c73a3bee86ccd42fe
|
||||
net/minecraft/src/Block ff995d15badcfdb3d51bbf42e615e805
|
||||
net/minecraft/src/BlockBloodStone ea01841874902ea15f7eb309395d09ba
|
||||
net/minecraft/src/BlockBookshelf b51f595f6269ed6b0364ae67b9483ec4
|
||||
net/minecraft/src/BlockBreakable 0878f451f57ba341c1cbe6a838e75b9e
|
||||
net/minecraft/src/BlockButton 400c1a714a12de5a71303a62c28003b0
|
||||
net/minecraft/src/BlockCactus 8db1eb8cfe7e5c4fb7bf755fb82dd6ca
|
||||
net/minecraft/src/BlockChest 5d8653803ffe95ead0b199abb71a15d3
|
||||
net/minecraft/src/BlockClay eed57fa621e9ef9a020a1a4e65494917
|
||||
net/minecraft/src/BlockContainer fc4b9897335a475d9ee94c2339cc0047
|
||||
net/minecraft/src/BlockCrops 9ddd11e08cc298cb38efebdf2fedc5f9
|
||||
net/minecraft/src/BlockDirt 7306c0210187b89ad56e1204e1cf4a20
|
||||
net/minecraft/src/BlockDoor f75b470ccb115a1c074f096dc48754e3
|
||||
net/minecraft/src/BlockFence 3edb6ca58a53116372029f31654f2ed6
|
||||
net/minecraft/src/BlockFire d8bd0fde97167526839fa2d8f8cfc521
|
||||
net/minecraft/src/BlockFlower f9ec96524d21db77b442a5ce752abd64
|
||||
net/minecraft/src/BlockFlowing 61a1772824a1da5a913eb7415cf23924
|
||||
net/minecraft/src/BlockFluids b4d91bf2f85e55736f3eb3762e57979d
|
||||
net/minecraft/src/BlockFurnace 3491e4618790602f874a90946d4dd8fc
|
||||
net/minecraft/src/BlockGlass 4843b9ed50cdf01bbe284a7dda30a84f
|
||||
net/minecraft/src/BlockGrass 3bcaa9fbb205e72dff1d9bc172f785d2
|
||||
net/minecraft/src/BlockGravel 0937b3ca08c59bdbd46ae7fd26a393b1
|
||||
net/minecraft/src/BlockIce 2b5546e2d19d0b1a6e31e124a4255ac8
|
||||
net/minecraft/src/BlockJukeBox fc68d5d0aa72b67044cf9797ec9675b7
|
||||
net/minecraft/src/BlockLadder e9499c14a2dbf2c3963412023c26cdf9
|
||||
net/minecraft/src/BlockLeaves ed4a3d054234feed66a5c2ba8281bd0f
|
||||
net/minecraft/src/BlockLeavesBase 7bb37fb7d71c51d5e32844e4265f96e0
|
||||
net/minecraft/src/BlockLever d6e700a3b7b189a0599d23a2f5650a0e
|
||||
net/minecraft/src/BlockLightStone eb3b6d4687b87b9fd26cbfdc994b936e
|
||||
net/minecraft/src/BlockLog b8cafdf450e10284f0c3d252c51d3512
|
||||
net/minecraft/src/BlockMinecartTrack 0f031c9f9fc04fa875dbf5868c91e045
|
||||
net/minecraft/src/BlockMobSpawner 844c83fc84365e42233e6cd892cc081a
|
||||
net/minecraft/src/BlockMushroom 568c7cc22fcb0401e7a8e7a86bed675a
|
||||
net/minecraft/src/BlockObsidian 944f6cf0005ba3bb6891d038e088527c
|
||||
net/minecraft/src/BlockOre 1c8a201d113a73c9f74a7d196c25dc65
|
||||
net/minecraft/src/BlockOreBlock bba2393771cf81ee0b7773de5f7b4b0a
|
||||
net/minecraft/src/BlockPortal 56a2110459d0c8be695dc89a0487deb8
|
||||
net/minecraft/src/BlockPressurePlate 6e1c6e6c30c8ff6cb725bf7b0da8a948
|
||||
net/minecraft/src/BlockPumpkin b31ec9f0fde3c48826515f1f99a34c39
|
||||
net/minecraft/src/BlockRedstoneOre db92390879234a3c79e746e5249b3427
|
||||
net/minecraft/src/BlockRedstoneTorch d28acc814a7b015ff36e5370d89b9bea
|
||||
net/minecraft/src/BlockRedstoneWire b5002a4219a62378bbb1e6543f39f555
|
||||
net/minecraft/src/BlockReed cd0ae6b003c0c991d6dd09c866ceab72
|
||||
net/minecraft/src/BlockSand bbc268fbcf32eb8de042a9816a47e8b4
|
||||
net/minecraft/src/BlockSapling bc187aacc06cc92bc0150be20c130172
|
||||
net/minecraft/src/BlockSign 6ac1c784c117feb463676f3b465537c9
|
||||
net/minecraft/src/BlockSlowSand e7d7a9cea824c53a82cf6267537de6b0
|
||||
net/minecraft/src/BlockSnow e907a5aa72368f28b0d220a0ba8e68f9
|
||||
net/minecraft/src/BlockSnowBlock 50e28b302f4e338f0fe4bc837360ec87
|
||||
net/minecraft/src/BlockSoil 5c7fd49da4b5bda06504f60dc2aea11a
|
||||
net/minecraft/src/BlockSponge ec94d9a11488651f6068345ffded7bff
|
||||
net/minecraft/src/BlockStairs 12e53535cb5ff8de0af92209a65d3146
|
||||
net/minecraft/src/BlockStationary 5c3bf0b9eb1d82ca030a0cd896f5ef8a
|
||||
net/minecraft/src/BlockStep 5f6940e49b7db0fb19b39ad027bcbb46
|
||||
net/minecraft/src/BlockStone 543d6587b9f5f29087027a2eb98a37a1
|
||||
net/minecraft/src/BlockTNT a5e3b52a9f10bf88b7773f113c2c66c0
|
||||
net/minecraft/src/BlockTorch b5fc670cef94c1a4c56e36c1f7a2e8a2
|
||||
net/minecraft/src/BlockWorkbench 876fe287e784d35fb41aeec1679e0c41
|
||||
net/minecraft/src/CanvasCrashReport c398ac38bac235fc40f7e5d61386c298
|
||||
net/minecraft/src/CanvasIsomPreview 1f224d4e1fbcfa521d89df8f672143e4
|
||||
net/minecraft/src/CanvasMajongLogo 091d1c6633c015d517c11793f7ee73f3
|
||||
net/minecraft/src/CanvasMinecraftApplet 11c0ea3008b2eb0bd94eb55ba65674ac
|
||||
net/minecraft/src/ChatLine ef5b623999f13dc90187a55b32e1fed6
|
||||
net/minecraft/src/Chunk 4feb92b3a34c1330e1ed196828a59561
|
||||
net/minecraft/src/ChunkCache 3884ca011c197918e098e7481c205cb1
|
||||
net/minecraft/src/ChunkCoordinates a556705f28ee9bf398304515ead1b4a2
|
||||
net/minecraft/src/ChunkCoordIntPair 175fc500b50527f772ce3f9f4cdbf93a
|
||||
net/minecraft/src/ChunkLoader c821b068b70d7f7be36fa2968e3f1c19
|
||||
net/minecraft/src/ChunkPosition d5a550d6183ffae16008fa8c0d07b1ab
|
||||
net/minecraft/src/ChunkProviderClient 1f23b310e5cff489c1e32068a7222857
|
||||
net/minecraft/src/ChunkProviderGenerate 4137d050f5aeb70f69519291a6f6a1a2
|
||||
net/minecraft/src/ChunkProviderHell 800591d915d819c4fcabae8fc7f2c298
|
||||
net/minecraft/src/ChunkProviderIso ee2aa96ca6f70d9f86ed65d2b8edf602
|
||||
net/minecraft/src/ChunkProviderLoadOrGenerate 7e94bbcefbd78b8f158e77116df94b7f
|
||||
net/minecraft/src/ClippingHelper 077b0430c8337808ee54e39e11703825
|
||||
net/minecraft/src/ClippingHelperImplementation 8252f0e1baa77332d0e464c62f27223c
|
||||
net/minecraft/src/CodecMus ed4051fe4b69923b7814a2e3895560e2
|
||||
net/minecraft/src/ColorizerFoliage 54a93913e26a30abcbca43b9a6b8b55e
|
||||
net/minecraft/src/ColorizerGrass 496e1d02dd9b53688ccfe96afda6e417
|
||||
net/minecraft/src/CompressedStreamTools fe943900ae5e9910eceabe6c36e3de07
|
||||
net/minecraft/src/CraftingInventoryCB 1ff81b9776ef914d376a0419ace1db36
|
||||
net/minecraft/src/CraftingInventoryPlayerCB 7a3deef92be274b9d04ae166ede472ef
|
||||
net/minecraft/src/CraftingInventoryWorkbenchCB bc7a7e512d8ffa5e53b181a3647a3d8d
|
||||
net/minecraft/src/CraftingManager a5036b4cb24876e2c4f9fdeb0583f634
|
||||
net/minecraft/src/CraftingRecipe dba3f5f306a82aa9ec4075fd7e1bce89
|
||||
net/minecraft/src/EffectRenderer 1e36c82d725656a91aabc9d685286d23
|
||||
net/minecraft/src/Entity 7352c9d68872ea0291971ef214eae6f6
|
||||
net/minecraft/src/EntityAnimals 6adc25347a76513153fed0536f264dab
|
||||
net/minecraft/src/EntityArrow c8cf6f8a8a518fb2f719beef9972d8f5
|
||||
net/minecraft/src/EntityBoat 864a563af3e0bbea01ab361b8dab676a
|
||||
net/minecraft/src/EntityBubbleFX a9858453fe0753ae9e978f999104a558
|
||||
net/minecraft/src/EntityChicken 4ad0969cbdb87fd8a2d257edf2f362f1
|
||||
net/minecraft/src/EntityClientPlayerMP 17b39fdb3a4b006e0cfd81a4c3ce0228
|
||||
net/minecraft/src/EntityCow 33a4658b8bd031f994874f77c1ea39f2
|
||||
net/minecraft/src/EntityCreature c8a14accc32483feead7c39dc42384c1
|
||||
net/minecraft/src/EntityCreeper d3f8f398e70848310d0a2c5106cda0cd
|
||||
net/minecraft/src/EntityDiggingFX dc0f132649846251f2423fbaeb1f0f1a
|
||||
net/minecraft/src/EntityExplodeFX e903225cf86531b0feea9d80e5b4f97d
|
||||
net/minecraft/src/EntityFallingSand 6e666cd3bc2fc4a4feaf630e8eadd586
|
||||
net/minecraft/src/EntityFireball 61fa15f282ec0fd7a6110c3462fd7421
|
||||
net/minecraft/src/EntityFish 97636a79a813e667389f974da2956ab7
|
||||
net/minecraft/src/EntityFlameFX 42542ee08bbda57fb226c1cd758c2614
|
||||
net/minecraft/src/EntityFlying 9d9af138368636ded65b9375b77243ee
|
||||
net/minecraft/src/EntityFX 9e4ca7bd2786728aaf92438e3c1075f2
|
||||
net/minecraft/src/EntityGhast fa3650dd659569f5860469633106ac68
|
||||
net/minecraft/src/EntityItem 2d5cca68d0c9d9df168ffaa39647e19d
|
||||
net/minecraft/src/EntityLavaFX 115188d036ff9efe49423291f62bd1c4
|
||||
net/minecraft/src/EntityList 465112f8bc193f987056b062bf844281
|
||||
net/minecraft/src/EntityLiving 1ebc65c3b2c04dc519fc397ddc1d5026
|
||||
net/minecraft/src/EntityMinecart ea6571e883e7c21db11be5a184264884
|
||||
net/minecraft/src/EntityMobs 48b26e146ec634213e8a2acde6465dbb
|
||||
net/minecraft/src/EntityOtherPlayerMP 64c325562f20d46160700ab76760c888
|
||||
net/minecraft/src/EntityPainting 276c4d06269f9ef4ef04932c35d0dc87
|
||||
net/minecraft/src/EntityPickupFX dfd864af092ca02ea633f2aa48048e23
|
||||
net/minecraft/src/EntityPig 61c33750791a626774cfb1c940e7cfa8
|
||||
net/minecraft/src/EntityPigZombie fd1e73d1680d863f8673199e1d31b068
|
||||
net/minecraft/src/EntityPlayer f032a90d34b7d5d1ea6c21eb9fd76a8b
|
||||
net/minecraft/src/EntityPlayerSP c3a792ef46459b4c457a90b889634ded
|
||||
net/minecraft/src/EntityPortalFX 556aafe8f0da1c0a6cd3cbf6c6c835c2
|
||||
net/minecraft/src/EntityRainFX 2774ed41145450c1c8bbce518621df46
|
||||
net/minecraft/src/EntityReddustFX 5344fecdfb9114bc21c3c15d993115ac
|
||||
net/minecraft/src/EntityRenderer d63337d5ece5e89746b2877d0bd9ceca
|
||||
net/minecraft/src/EntitySheep f4c7d892485d1ff3f8e9410043db1699
|
||||
net/minecraft/src/EntitySkeleton ef2c82d1d877dfa7e783cb5a871c5bed
|
||||
net/minecraft/src/EntitySlime 165f9d004f48cf82c8add7374fa4d81c
|
||||
net/minecraft/src/EntitySlimeFX c30c8dea09e21b0acf5a9039392a4e4d
|
||||
net/minecraft/src/EntitySmokeFX 872374d9b1a6e79d3ba5c17021accbf6
|
||||
net/minecraft/src/EntitySnowball 076768de0aec5c1953ece673ab5f6d75
|
||||
net/minecraft/src/EntitySorter b7b7fa4afbc9c74ec5357b8f6cea7c26
|
||||
net/minecraft/src/EntitySpider 08f27b9b63a4fcfabbb91c103feb35b0
|
||||
net/minecraft/src/EntitySplashFX 1a83c278ed166fc450183871344c71ed
|
||||
net/minecraft/src/EntityTNTPrimed 024434afd80b3b67e82cf386c20a233e
|
||||
net/minecraft/src/EntityZombie 5b5aab87ca480509b2aa77e7686fc619
|
||||
net/minecraft/src/EntityZombieSimple 365782b2b2ee48ad60be20e07f708c98
|
||||
net/minecraft/src/EnumArt 4bec7c9f8112c0c7686d5000c30c8b32
|
||||
net/minecraft/src/EnumCreatureType 0ae86753f8175531a00cd43aced92616
|
||||
net/minecraft/src/EnumMobType 67f79e9368e7d1c55409aafcc9e53afb
|
||||
net/minecraft/src/EnumOS1 03f72bfafe3656a640c199674662dd79
|
||||
net/minecraft/src/EnumOS2 155dcac2e9377c2d1505d8cd93cfe929
|
||||
net/minecraft/src/EnumOSMappingHelper 91e91b3c10a64f724429c8a34ad67d8f
|
||||
net/minecraft/src/EnumSkyBlock 7d7469015343d74def3af7b3d66a9ebb
|
||||
net/minecraft/src/Explosion eb295adc6ec44b29a5e4b137b1e50ceb
|
||||
net/minecraft/src/FontRenderer 67bfe0987dff9c5783c154f8b57e510e
|
||||
net/minecraft/src/Frustrum d015f3f148a6f0fe245df8859d4a6314
|
||||
net/minecraft/src/GameSettings 9fc92558af2f250c0c6dc371b1f9c04f
|
||||
net/minecraft/src/GameWindowListener 64c948c2f3a37c88883324657b9cd0f0
|
||||
net/minecraft/src/GLAllocation 341dcdfc6e4e4890710c5d7f52f8c3b3
|
||||
net/minecraft/src/Gui 5cffe342bc5f6a22e42f7a34b3e5dfd8
|
||||
net/minecraft/src/GuiButton dc05bcc9c9a304acb593cf403cb7a975
|
||||
net/minecraft/src/GuiChat eebe27c489fce254eedafd3ce626765b
|
||||
net/minecraft/src/GuiChest 09aebabf50dceb10df6ebd271e658268
|
||||
net/minecraft/src/GuiConflictWarning 84dfbb08d7997d5dae14edc4ec288359
|
||||
net/minecraft/src/GuiConnectFailed 3aae759e0e57bc7d06d089f9cdf9ae25
|
||||
net/minecraft/src/GuiConnecting 3a11e0be250bf1bf65005611af21dda9
|
||||
net/minecraft/src/GuiContainer 92788f7b62950ec4552378853c27ff5b
|
||||
net/minecraft/src/GuiControls fd44b71418ed6e28b50814b5e4194fd4
|
||||
net/minecraft/src/GuiCrafting eea79c7d89905a783f46dd81c5df4e66
|
||||
net/minecraft/src/GuiDeleteWorld d2776817813a697ca8aa40d82ef83c78
|
||||
net/minecraft/src/GuiDownloadTerrain 5f1271ccc936711b4ba2854e70df27af
|
||||
net/minecraft/src/GuiEditSign 685fe2c5b94b8c3f452f0499c0858ad2
|
||||
net/minecraft/src/GuiFurnace 306c2085b6b4f4da2d29de8617b819e5
|
||||
net/minecraft/src/GuiGameOver 8db08229c4d4824f7a9f433cb5a310ae
|
||||
net/minecraft/src/GuiIngame e4fd4e184c39b05abb3993134c1158f0
|
||||
net/minecraft/src/GuiIngameMenu e66fac46a15197994d32fdaac0f44553
|
||||
net/minecraft/src/GuiInventory 7a3fca835c42b2858842469467c59521
|
||||
net/minecraft/src/GuiMainMenu bfa18998417f74c05d5852a962609ae2
|
||||
net/minecraft/src/GuiMultiplayer 96709648d2b42721fc15369ba53f17c9
|
||||
net/minecraft/src/GuiOptions bb9492b1182c56d4f503bd628937ec10
|
||||
net/minecraft/src/GuiScreen b1be45d43f7b0d9fa3d0acbe4d4f1edc
|
||||
net/minecraft/src/GuiSelectWorld 79874e88cb57ce582b1fc38cef75bf38
|
||||
net/minecraft/src/GuiSlider 8b8cb015fac3b3cbad81d9f36d610e84
|
||||
net/minecraft/src/GuiSmallButton 3706ec7ef89eca8c38123b0f732107c3
|
||||
net/minecraft/src/GuiTexturePacks 161793b9f252756e8e6ee8d789ee3d02
|
||||
net/minecraft/src/GuiUnused 6a9a0e8eeb7b35652c25b49fb242f358
|
||||
net/minecraft/src/GuiYesNo 3319eaabe93905b5a967d9b202e34fea
|
||||
net/minecraft/src/HashEntry b07980c7ccc2340d226b0d7b2d6f292c
|
||||
net/minecraft/src/IBlockAccess ad04c4b218111e26d232380a2276cc63
|
||||
net/minecraft/src/ICamera 787d43e6b80f3d119444fa401e119453
|
||||
net/minecraft/src/IChunkLoader 303ee5d14d93b3a12ebe02d6cca0093f
|
||||
net/minecraft/src/IChunkProvider d81f8b9ec0d78cd10e850bd32b281fbe
|
||||
net/minecraft/src/IInventory 5395bdd59e69f4f3dc13be77187a181f
|
||||
net/minecraft/src/ImageBuffer d6df2630ebaf77429deff496c577e19e
|
||||
net/minecraft/src/ImageBufferDownload de20c08985afe57bf870ddf61fb0202e
|
||||
net/minecraft/src/IMobs 181d7751e16e6dda8157c6ec9aab26ae
|
||||
net/minecraft/src/InventoryCrafting ba583d8bb33f5bcc3cf5f2d80d861430
|
||||
net/minecraft/src/InventoryCraftResult c482ad5ec57d4f6bd8ab71c724a403be
|
||||
net/minecraft/src/InventoryLargeChest bbe20d2a4c082cf7b705f404c3b9534f
|
||||
net/minecraft/src/InventoryPlayer 706cb98af6ba3f3503911b5d6bbf202c
|
||||
net/minecraft/src/IProgressUpdate c6e073651ce4b641150c260918753e82
|
||||
net/minecraft/src/IsoImageBuffer ee68aa1fea9d21c56b22f344a5872854
|
||||
net/minecraft/src/Item 46d81cea23ffe7dbc8eaeacdd710a0a5
|
||||
net/minecraft/src/ItemArmor cea3c74d126147b85ca09915923ceb76
|
||||
net/minecraft/src/ItemAxe a4a0c1bf7b2cb867e255fbfe6269c51f
|
||||
net/minecraft/src/ItemBlock 2ddeaa3a512b47b798ba94c91d43e674
|
||||
net/minecraft/src/ItemBoat 229a98d981ae7cf3cc4544bd4b8c0a9e
|
||||
net/minecraft/src/ItemBow fcab21e20e6d99c518d7eede88357b9a
|
||||
net/minecraft/src/ItemBucket ee2485686116be80033d3f8208baa0d9
|
||||
net/minecraft/src/ItemDoor 4bddcb91adc8f772144d8cc552242fed
|
||||
net/minecraft/src/ItemFishingRod bbdd7dd04d3463eb40f9be43aa47aa05
|
||||
net/minecraft/src/ItemFlintAndSteel b8157bc0a4e384cdfef2653681cc7872
|
||||
net/minecraft/src/ItemFood a7b598a12bb9617c85b4fa05194bff48
|
||||
net/minecraft/src/ItemHoe 1d3c203f3d1cbd5fa17bb9e760c41fc3
|
||||
net/minecraft/src/ItemMinecart 1443887b425f06e04221b9aebde382e4
|
||||
net/minecraft/src/ItemPainting 8f77541fe95910fb295246f349bc8569
|
||||
net/minecraft/src/ItemPickaxe 5351a32f0e7fed7424227813f12a2768
|
||||
net/minecraft/src/ItemRecord 8e2ad1c7b3f01351d7c068296ba91127
|
||||
net/minecraft/src/ItemRedstone 4bc0e9d1bfc2ec7728b010ed270749fd
|
||||
net/minecraft/src/ItemReed 4201f0eb0b84445b1d1afd68b22bdac7
|
||||
net/minecraft/src/ItemRenderer d6502ec55712c34290de1e9830377d2d
|
||||
net/minecraft/src/ItemSaddle 02d15d7ca02ab1ecd8cd825d64a652b4
|
||||
net/minecraft/src/ItemSeeds 69eb602adc1eae6d05fdc6282c4a2099
|
||||
net/minecraft/src/ItemSign 750a36253ded1660c2b6c5a657666568
|
||||
net/minecraft/src/ItemSnowball 6dd3bd5977c100cd66207b76a86e162a
|
||||
net/minecraft/src/ItemSoup d19b00778faf4a3c032fbf766da828e9
|
||||
net/minecraft/src/ItemSpade ebba80359671be23ba120908858aed22
|
||||
net/minecraft/src/ItemStack 77ea764069e799834e5fb61abfb3ce5b
|
||||
net/minecraft/src/ItemSword dba5b56f35ff70a927b3f0141497e449
|
||||
net/minecraft/src/ItemTool 7e0810e3b402c9b1022942f9c6d90256
|
||||
net/minecraft/src/IWorldAccess 5cf883dc25ff62c444fe63e268fb9d4e
|
||||
net/minecraft/src/KeyBinding 4d8509e13f823df62b66def428f5d80e
|
||||
net/minecraft/src/LoadingScreenRenderer 4844e636adb953dd3a78f80339dfc698
|
||||
net/minecraft/src/LogoEffectRandomizer 04d81389588e1d36c8f605d85f59182d
|
||||
net/minecraft/src/MapGenBase 8e419d134af0427914113cafa2831a8b
|
||||
net/minecraft/src/MapGenCaves 53a37152e60892a85a2ca76345dd06e0
|
||||
net/minecraft/src/MapGenCavesHell 89037ab40da83cb57d7fd50acb9c56bf
|
||||
net/minecraft/src/Material 429a66af5d939e9e7b9b457638ebfc48
|
||||
net/minecraft/src/MaterialLiquid 035ddc64388632c1c3ce9022a06c511f
|
||||
net/minecraft/src/MaterialLogic fd54b4ab858b18e47c6d1803966fa1be
|
||||
net/minecraft/src/MaterialTransparent 64bdf42bcc56854f23a909a8f4054d4b
|
||||
net/minecraft/src/MathHelper ac2896de3315289a2e7b16342689657f
|
||||
net/minecraft/src/MCHashTable 86ba5af193a72303fd455a037f5b4846
|
||||
net/minecraft/src/MetadataChunkBlock 7b14371ec69a950351b65ce9378747aa
|
||||
net/minecraft/src/MinecartTrackLogic 0d8b52c3570cb3d03871a39731076dbe
|
||||
net/minecraft/src/MinecraftAppletImpl 6f8d9893c997f13baf8effd9e93ab2b8
|
||||
net/minecraft/src/MinecraftError f9a8a0018501856f621a191504edc041
|
||||
net/minecraft/src/MinecraftException c3e6d9e46c9f44513f74c73f08961284
|
||||
net/minecraft/src/MinecraftImpl f3d3108153e314e9a4ca4c4a44c24ea3
|
||||
net/minecraft/src/MobSpawnerBase 62402be68062bd626d46c01fd6e1fbb3
|
||||
net/minecraft/src/MobSpawnerDesert e074ef58d6b5f8bacb3d0481596de865
|
||||
net/minecraft/src/MobSpawnerHell 03d0f5a207758672dfc4ac3445771061
|
||||
net/minecraft/src/MobSpawnerSwamp d0a5dba6f5f8e1f9903cfa374f97cd1f
|
||||
net/minecraft/src/ModelBase f3e3a1b539e8dc3ec79d3be558b654b6
|
||||
net/minecraft/src/ModelBiped c9118eb2a938062ffaf8ac49d17aeed6
|
||||
net/minecraft/src/ModelBoat 6874f03ac44792a459caf70d7bd1ee2d
|
||||
net/minecraft/src/ModelChicken 2e3753bed0dd5e447c5fffebf6f347fe
|
||||
net/minecraft/src/ModelCow 9c90bee475c7ab12fa31a4e40ab29983
|
||||
net/minecraft/src/ModelCreeper 9f8068c683a73f7003b399baa37989b3
|
||||
net/minecraft/src/ModelGhast e25974690953b43cd09ef3eaa4b6b10d
|
||||
net/minecraft/src/ModelMinecart 1c7a1f1ee0ab9484580828cf144c800e
|
||||
net/minecraft/src/ModelPig 048d6052860bb970ffd18118b27c3f7f
|
||||
net/minecraft/src/ModelQuadraped 63eda3c86c419f354985e673904a520c
|
||||
net/minecraft/src/ModelRenderer ec4d7674e44f39a06ebdf5c9fce581e3
|
||||
net/minecraft/src/ModelSheep1 c2655fb852b5e8800c508ce2f0cb36c9
|
||||
net/minecraft/src/ModelSheep2 b89fc6bae575f83026c6ebcf318c1a14
|
||||
net/minecraft/src/ModelSkeleton ef3539b59c4e4bf9f300fe80c2b3c88b
|
||||
net/minecraft/src/ModelSlime 46a83d3e5ac514f3a4984d931914fb8a
|
||||
net/minecraft/src/ModelSpider a1f9527d3b4791e88f640e80b91d17b3
|
||||
net/minecraft/src/ModelZombie dd9af848b6977be883efdf19b4204e30
|
||||
net/minecraft/src/MouseHelper 52a3e7b3802f0a914a7f76b6f58711f7
|
||||
net/minecraft/src/MovementInput 7c505af7f11473cda49320187d2962e5
|
||||
net/minecraft/src/MovementInputFromOptions 4313a5cc6d0583990518a40baf05d32c
|
||||
net/minecraft/src/MovingObjectPosition d224c4862edee121a0197cba50b67a1f
|
||||
net/minecraft/src/MusInputStream 2ff8c43ba3f3ef5827d2b677d90a47f8
|
||||
net/minecraft/src/NBTBase 06858536273e1e8a6fabe856fb0760cb
|
||||
net/minecraft/src/NBTTagByte 21e1b9ffee3aa3df48250cca489d74e3
|
||||
net/minecraft/src/NBTTagByteArray 8004b8fb3badc6979c10bec186f61877
|
||||
net/minecraft/src/NBTTagCompound d4c5a08afa07f255f4a8d6a6b7e2e17d
|
||||
net/minecraft/src/NBTTagDouble bf77bf257cedd9751f16bf57ea503c47
|
||||
net/minecraft/src/NBTTagEnd 0a6903b0dc523806101334c8ec3f2e5e
|
||||
net/minecraft/src/NBTTagFloat 9ea39302525393a03ddb739f8cc9ca17
|
||||
net/minecraft/src/NBTTagInt 01704968601ac82acdf618b8a6c6714d
|
||||
net/minecraft/src/NBTTagList 400f104153da8eef33c3d00c42e99279
|
||||
net/minecraft/src/NBTTagLong 8078672f86016518857a83da24aad04b
|
||||
net/minecraft/src/NBTTagShort dee6dc2f08cc9cd72fc4c929e91dd0af
|
||||
net/minecraft/src/NBTTagString 9c4f18cf4ab51377ef477412af18692b
|
||||
net/minecraft/src/NetClientHandler bb7f430c8320ceda3625ccfec72e10f9
|
||||
net/minecraft/src/NetHandler 5546aca6195832ee50fb0b6533360f47
|
||||
net/minecraft/src/NetworkManager 3bab4edae29a2ae00a0556ce62cfd70e
|
||||
net/minecraft/src/NetworkMasterThread 4a4c0ff68bc41647effe3a5914f77f39
|
||||
net/minecraft/src/NetworkReaderThread c3bd72f73a24ec9cd99b527880dd1645
|
||||
net/minecraft/src/NetworkWriterThread 3cf78af8723478685fc2862943963697
|
||||
net/minecraft/src/NextTickListEntry ca99662528252a022a4876a54a978fd4
|
||||
net/minecraft/src/NibbleArray 6f2dabe0967d3b3c0dd9bceacfdf7612
|
||||
net/minecraft/src/NoiseGenerator 6d2bf3399aaf20f9ffa2882f610bc474
|
||||
net/minecraft/src/NoiseGenerator2 5c04d0ab93111566b6e5cb91f05fe8e8
|
||||
net/minecraft/src/NoiseGeneratorOctaves d70d74d3a84d18a706ba7510fa0106f6
|
||||
net/minecraft/src/NoiseGeneratorOctaves2 e206e022b0ee32c2cdb2db87f60cf1d2
|
||||
net/minecraft/src/NoiseGeneratorPerlin bf9b46f166437214e41ff8d81dd4b3f4
|
||||
net/minecraft/src/OpenGlCapsChecker c7ab6b773baa91e800aea315a18375eb
|
||||
net/minecraft/src/OsMap fa7204edf50503be5a4ee32732b88474
|
||||
net/minecraft/src/Packet 6988011a60b1582c18871fa151cd9432
|
||||
net/minecraft/src/Packet0KeepAlive e1b8b926088f54d3ded322be2c13057f
|
||||
net/minecraft/src/Packet10Flying 4913ed75aa93dc73254faf4b227a91bd
|
||||
net/minecraft/src/Packet11PlayerPosition c79f8decb3b75734f1180e0cf5a976f2
|
||||
net/minecraft/src/Packet12PlayerLook f4f5dd2c36751f0782e5dc4fd89784ab
|
||||
net/minecraft/src/Packet13PlayerLookMove 300dbca74a54f2e881d67bd844328903
|
||||
net/minecraft/src/Packet14BlockDig c087d7f95830fe7fb265d1bb78350fa6
|
||||
net/minecraft/src/Packet15Place 9fbbf591b0a93c7a23643de932074623
|
||||
net/minecraft/src/Packet16BlockItemSwitch 12be8125480dbc46f1f9b73ced1e9e82
|
||||
net/minecraft/src/Packet17AddToInventory daf095c4a8dccfc2e4d818bef8db6cd2
|
||||
net/minecraft/src/Packet18ArmAnimation 4af487d8167be2ffc9ec28b372a8a2cc
|
||||
net/minecraft/src/Packet1Login eb17812829e90357595dd91828d574b3
|
||||
net/minecraft/src/Packet20NamedEntitySpawn 1190ba57c6b58aa880bf5e010c5499ae
|
||||
net/minecraft/src/Packet21PickupSpawn 692667f32ea9a5295516e47b04502549
|
||||
net/minecraft/src/Packet22Collect 90b716679dedd403f21e2363a3b51625
|
||||
net/minecraft/src/Packet23VehicleSpawn 6e64c13f6c0d23fb49ba7186f40da3a4
|
||||
net/minecraft/src/Packet24MobSpawn dec730f5957181b878bb5160d45fbb04
|
||||
net/minecraft/src/Packet255KickDisconnect ac21f5466a9023402284b4e49d8076d0
|
||||
net/minecraft/src/Packet28 364cc725e6318eda22abdb7d32f20f34
|
||||
net/minecraft/src/Packet29DestroyEntity 878f4a041cfa513d6bdfef41b3ac4eaf
|
||||
net/minecraft/src/Packet2Handshake c77eb5dec0b7892095081e03a546cb1c
|
||||
net/minecraft/src/Packet30Entity aa28db825ad426a26a8d4b817ada0d2a
|
||||
net/minecraft/src/Packet31RelEntityMove 932f777048c4f5a0853a0505c584bdec
|
||||
net/minecraft/src/Packet32EntityLook 3683af3be759ab30ffc6677a662f76f2
|
||||
net/minecraft/src/Packet33RelEntityMoveLook a2cd574b9e157ee4712dee8d6c5de1b9
|
||||
net/minecraft/src/Packet34EntityTeleport 8a47d39fb1be29e2c4d7222f3176bdef
|
||||
net/minecraft/src/Packet38 01fba97fb1083abaa1204690d07fdd3f
|
||||
net/minecraft/src/Packet39 0f985a3e0db72bf864dd1d689d162aca
|
||||
net/minecraft/src/Packet3Chat a475c32c23dc12e02a40f61831f069c8
|
||||
net/minecraft/src/Packet4UpdateTime d26787054d50484f7193a37a579cafd0
|
||||
net/minecraft/src/Packet50PreChunk 1ab2cfd84cec3ad290380ba229e791d3
|
||||
net/minecraft/src/Packet51MapChunk 59c7b6d3f0bff3546750ea0ce3575afd
|
||||
net/minecraft/src/Packet52MultiBlockChange 90a91296d35d4d9c783efb987d69ec02
|
||||
net/minecraft/src/Packet53BlockChange 59adc4ab7a0b417d81341f168eac30ee
|
||||
net/minecraft/src/Packet59ComplexEntity b9ab3c1cbdde11af60f0e3613276cf8e
|
||||
net/minecraft/src/Packet5PlayerInventory f6462dd535e575a332a9554b18514501
|
||||
net/minecraft/src/Packet60 9fc10ac500296d3b14a1c5422bcc2e4f
|
||||
net/minecraft/src/Packet6SpawnPosition 5d99d37a8c77e39302c161764ad9232e
|
||||
net/minecraft/src/Packet7 c98cd7a17111d494f166db7009bb24ce
|
||||
net/minecraft/src/Packet8 aa45f62e8c06d061f5bfd0f5f217a85a
|
||||
net/minecraft/src/Packet9 822aa37f83832adaa936ef2c3d72cbd4
|
||||
net/minecraft/src/PanelCrashReport 2b8d5b9c444e8fd1d5d91385426adee6
|
||||
net/minecraft/src/Path 09baca2dca3abaa3d1a9342b3c0793c1
|
||||
net/minecraft/src/PathEntity d236a2642df4f15e9fc20273b68366e9
|
||||
net/minecraft/src/Pathfinder 2926c1c8d1d469fb4ac956b38ce545be
|
||||
net/minecraft/src/PathPoint 06f3b3d7b5d814bc18777867d3585c2f
|
||||
net/minecraft/src/PlayerController a98bb07f5cfe0d192b41f649c57a7f17
|
||||
net/minecraft/src/PlayerControllerMP 799317bce8acea4c73ae403b5535c0b6
|
||||
net/minecraft/src/PlayerControllerSP c560b41edce5101f5cc22c0762e991a1
|
||||
net/minecraft/src/PlayerControllerTest 66033f6218f1b35003c106e88ec8fb73
|
||||
net/minecraft/src/PositionTexureVertex ffec217575d87d8d2b9489e69f55750a
|
||||
net/minecraft/src/RecipesArmor 7419ca7145b6104461bd3d91a5aa40cf
|
||||
net/minecraft/src/RecipesCrafting a6a174dbb4a951ec2f0b564027894d24
|
||||
net/minecraft/src/RecipesFood 61f56a177cf41ba9070c56b496e5a3c7
|
||||
net/minecraft/src/RecipesIngots 2048ae2b4bb5e2e00f1213eec8da1314
|
||||
net/minecraft/src/RecipeSorter 63fa2e06ace59a6bcc8780797cb47737
|
||||
net/minecraft/src/RecipesTools d4979c189fc02db61018b98d1c5b5935
|
||||
net/minecraft/src/RecipesWeapons 247f6c57a9f894b164631903353f7d30
|
||||
net/minecraft/src/RedstoneUpdateInfo 4c19faa3c89e83989071313f60beeace
|
||||
net/minecraft/src/Render c14dd3a253b04d31a1ceed2e69f7131d
|
||||
net/minecraft/src/RenderArrow 23fc586fdb83ad724d01c32205aaa756
|
||||
net/minecraft/src/RenderBiped f0c749ae83374903ed98e29e136668f9
|
||||
net/minecraft/src/RenderBlocks a62a4c2d641062c955ef69675bfb7008
|
||||
net/minecraft/src/RenderBoat 99a058900b6b795e88b36a2ba9ff7fce
|
||||
net/minecraft/src/RenderChicken 18baf46d27722e0714e611220566aea5
|
||||
net/minecraft/src/RenderCow 7b30441f01c119ea0141884941b24d32
|
||||
net/minecraft/src/RenderCreeper dbb072599dcd38db9eca7e258039c343
|
||||
net/minecraft/src/RenderEngine 4eb829a3fb7c2cdc678466abb1b97e48
|
||||
net/minecraft/src/RenderEntity 5bb749fe0fdf21f35260a9df7083ef81
|
||||
net/minecraft/src/RenderFallingSand 13d151e6bc0e7fc48344430dc5264506
|
||||
net/minecraft/src/RenderFireball f9a33613c42adb6b11716645aff14299
|
||||
net/minecraft/src/RenderFish 4726679736e8f081d7a054c47469d6af
|
||||
net/minecraft/src/RenderGhast 7e947a83b11441a43a0fbafe6b7f2c70
|
||||
net/minecraft/src/RenderGlobal 73299fafc7291de441834c1672c76e49
|
||||
net/minecraft/src/RenderHelper 2a949b1cc031021325edeef949a3293a
|
||||
net/minecraft/src/RenderItem da5ed4cb59aada6be3aac59be8b18aa8
|
||||
net/minecraft/src/RenderList e3eb2eb86058fa2690e383cdc03e8e52
|
||||
net/minecraft/src/RenderLiving 91984497db406ede6dc7a63e412ff19e
|
||||
net/minecraft/src/RenderManager 490e541f896f18033829856debd4d7d4
|
||||
net/minecraft/src/RenderMinecart 11e684d5e155d1a495c5eaca9aefe7fb
|
||||
net/minecraft/src/RenderPainting f955074f3f695cf39e9f3743cf66fd8d
|
||||
net/minecraft/src/RenderPig 94f956838b407ea60c3d178493ef9bac
|
||||
net/minecraft/src/RenderPlayer 7ef51985817be75127fb67714f4b514d
|
||||
net/minecraft/src/RenderSheep 9706bad5d748e175b3f0c0e4785f8b0f
|
||||
net/minecraft/src/RenderSlime a0b2cf5b25592e7aa94732d22a65cdc7
|
||||
net/minecraft/src/RenderSnowball c9d300ee2c669369a7ab2b5eb64803fb
|
||||
net/minecraft/src/RenderSorter f281c7a055ed42583546b10600249d81
|
||||
net/minecraft/src/RenderSpider 82c45eb64dea58dbb2c205518d1b5b06
|
||||
net/minecraft/src/RenderTNTPrimed 5ff238b4ce1c2d16fcf106f6f1b65a5d
|
||||
net/minecraft/src/RenderZombieSimple b169aac4687d9c795ce4e5f2a2b8ebae
|
||||
net/minecraft/src/ScaledResolution b72fa75be97533649d7c937747cb9cb8
|
||||
net/minecraft/src/ScreenShotHelper b6acbab7dae8d08fbd524278a9931039
|
||||
net/minecraft/src/Session 3687c40803d6b642bc3d58d9d430e7f5
|
||||
net/minecraft/src/SignModel 7fada595dce397319674d6a96263a8f9
|
||||
net/minecraft/src/Slot 13a068e48777e7b492b200ab42f9610c
|
||||
net/minecraft/src/SlotArmor ddd8386e9554038891e9a41618d3d8cc
|
||||
net/minecraft/src/SlotCrafting ec6510699bb0282492524dd082cb2071
|
||||
net/minecraft/src/SlotInventory b930ff31333877a6f6c3e95952334f05
|
||||
net/minecraft/src/SoundManager 0b3a810085768153f9745664c6ff7793
|
||||
net/minecraft/src/SoundPool 96d3acf59e5fc387525da8f223cf2ecb
|
||||
net/minecraft/src/SoundPoolEntry 2052f402815fc7daf10992dc6d81d98d
|
||||
net/minecraft/src/SpawnerAnimals c9ffbfc67bb96b6cb4af36c4fb1536b5
|
||||
net/minecraft/src/StepSound 51f6b62425f5a37e9b227e230ac87235
|
||||
net/minecraft/src/StepSoundSand d69f498dee47a6a665f6e9aed84ad297
|
||||
net/minecraft/src/StepSoundStone 95dfd9e3519aee09d3830df5da145cf4
|
||||
net/minecraft/src/Teleporter b861003b04541bb8baa093fd62612bbc
|
||||
net/minecraft/src/TerrainTextureManager f4d1ca41011cadf32b0f3c569d8af0e6
|
||||
net/minecraft/src/Tessellator 775c4eb6d39f6375b05ef8360c026cf3
|
||||
net/minecraft/src/TextureCompassFX beda340e2d27ea863ef96b0c4b50af32
|
||||
net/minecraft/src/TexturedQuad 51e1a55d067eb3076c558785608b8456
|
||||
net/minecraft/src/TextureFlamesFX d53dfe82a017282eae669a416de5ac14
|
||||
net/minecraft/src/TextureFX 01a8c0b6d52f13699b96a847ce47761e
|
||||
net/minecraft/src/TextureLavaFlowFX 0b09edf4b98d2bf007d9a4d23180b3f4
|
||||
net/minecraft/src/TextureLavaFX 64814159e5154fb5ab03583e9ff944ea
|
||||
net/minecraft/src/TexturePackBase 291f9905844704eb600c5d3cdbf53510
|
||||
net/minecraft/src/TexturePackCustom a81b67ee01de4f2e2a1e6b5c57bd581d
|
||||
net/minecraft/src/TexturePackDefault e9fe63fa06e58e007a83d96ddc35bf4a
|
||||
net/minecraft/src/TexturePackList 9f3ae4fb79accd0527431fc71ddc6aac
|
||||
net/minecraft/src/TexturePortalFX 667b0f1611f81b4c78006ac20e45f5f5
|
||||
net/minecraft/src/TextureWatchFX 2968dc98d76130f580e3d7a2f0bf053f
|
||||
net/minecraft/src/TextureWaterFX 4c77d936681c5114155c251ad9ad0c7b
|
||||
net/minecraft/src/TexureWaterFlowFX e50d591d3ae2b00d8df5d04c7166a08d
|
||||
net/minecraft/src/ThreadConnectToServer af255824aadda2a39b221bf8cd57e73c
|
||||
net/minecraft/src/ThreadDownloadImage 69b229056eae569f2379f7768fb6b28b
|
||||
net/minecraft/src/ThreadDownloadImageData 22bee8e15a8fc40602ea47fbf1f0bb68
|
||||
net/minecraft/src/ThreadDownloadResources c32b19f49c58bf1ba4cb0da4defe66a8
|
||||
net/minecraft/src/ThreadRunIsoClient d40e066030f71c5808c6c93772bf703d
|
||||
net/minecraft/src/ThreadSleepForever de3ddbe3256023bcf230845e71980be6
|
||||
net/minecraft/src/TileEntity 02ec4bdbdcc018637291bfbad3a8c30e
|
||||
net/minecraft/src/TileEntityChest 2abe6e0a1c3adb3c1722b85e8909d7b3
|
||||
net/minecraft/src/TileEntityFurnace d7f1af5a8753af87500e62c46431bc68
|
||||
net/minecraft/src/TileEntityMobSpawner 8396d8932fae8cf49fb595d0b5eecf8e
|
||||
net/minecraft/src/TileEntityMobSpawnerRenderer bf97066b7c2e8c532af3c992d3db6926
|
||||
net/minecraft/src/TileEntityRenderer 95a42ce8b22a630626a1ae7dfb28ed60
|
||||
net/minecraft/src/TileEntitySign 25d9cb4be4f0c0f4d3883f7a6c9d3bd7
|
||||
net/minecraft/src/TileEntitySignRenderer 02f835b2cbf6f2932a6798bfbf8b0509
|
||||
net/minecraft/src/TileEntitySpecialRenderer 9ea3944adaf2c1a131bd08b39d75c41d
|
||||
net/minecraft/src/Timer 41e4c7256e7f67070d96725cbd362fec
|
||||
net/minecraft/src/UnexpectedThrowable 9dfe6a4956d490f3d3a7ba44a92a8d47
|
||||
net/minecraft/src/Vec3D 66deb9202f907f7a881deebe14ef0eb0
|
||||
net/minecraft/src/World 8e59b358148450dab823e884caa9dc55
|
||||
net/minecraft/src/WorldBlockPositionType 31e0b084c3eecd5a747a951858b3e195
|
||||
net/minecraft/src/WorldChunkManager f86d3aabb6c44d5b231d0ddfcf8866f2
|
||||
net/minecraft/src/WorldChunkManagerHell 532b8d0d830c89e5af134f7b9da8910a
|
||||
net/minecraft/src/WorldClient 063609a9b34d9a9da41d485761fc1d18
|
||||
net/minecraft/src/WorldGenBigTree 764d9d5747ab2b13c94ad8cd3a17e4e4
|
||||
net/minecraft/src/WorldGenCactus b60a4370ad7a7d7b3f121bc4844e4752
|
||||
net/minecraft/src/WorldGenClay 382808910d451203f369e0ccb5f9d791
|
||||
net/minecraft/src/WorldGenDungeons 0874c27491bb5054f39329bbe5266d70
|
||||
net/minecraft/src/WorldGenerator 47785699d76289714e29b4876f1e8b5c
|
||||
net/minecraft/src/WorldGenFire bf87d3456e3ccc5f1c9278af11c641fe
|
||||
net/minecraft/src/WorldGenFlowers 7e6f3439538af6f00b3b14d449efedc9
|
||||
net/minecraft/src/WorldGenHellLava 6771edbede900a254c82e3138882ff26
|
||||
net/minecraft/src/WorldGenLakes 03c48da3a1897bdd793e3111308249ca
|
||||
net/minecraft/src/WorldGenLightStone1 8744324c36e6da25d261a3117b3659d0
|
||||
net/minecraft/src/WorldGenLightStone2 0a4ac249b9c0a35490d28f0cb7ff7d67
|
||||
net/minecraft/src/WorldGenLiquids 1d9334f0e30bc9b38ec3fdd693f14294
|
||||
net/minecraft/src/WorldGenMinable e57a5f75db3b19c2cee1627ffadf291a
|
||||
net/minecraft/src/WorldGenPumpkin 68ce2a360005b9939987bebd3bc15219
|
||||
net/minecraft/src/WorldGenReed fb9333eac0970f8a940699c86f0bbf68
|
||||
net/minecraft/src/WorldGenTrees 8ce58d3f194e3be8a847a8ec55cf84de
|
||||
net/minecraft/src/WorldIso 997e45967dd525682ed3667089783dee
|
||||
net/minecraft/src/WorldProvider f0eda41e117f2f6f528abbbdf9592136
|
||||
net/minecraft/src/WorldProviderHell 59fc5c6e14985329c7429918abe9f3cc
|
||||
net/minecraft/src/WorldRenderer 53e0038f66b60aee4dd9ee14c4171c7c
|
396
src/main/java/net/PeytonPlayz585/glemu/FixedFunctionShader.java
Normal file
396
src/main/java/net/PeytonPlayz585/glemu/FixedFunctionShader.java
Normal file
|
@ -0,0 +1,396 @@
|
|||
package net.PeytonPlayz585.glemu;
|
||||
|
||||
import static org.lwjgl.opengl.GL11.*;
|
||||
|
||||
import net.PeytonPlayz585.glemu.vector.*;
|
||||
|
||||
public class FixedFunctionShader {
|
||||
|
||||
private static final FixedFunctionShader[] instances = new FixedFunctionShader[128];
|
||||
|
||||
public static void refreshCoreGL() {
|
||||
for (int i = 0; i < instances.length; ++i) {
|
||||
if (instances[i] != null) {
|
||||
_wglDeleteProgram(instances[i].globject);
|
||||
instances[i] = null;
|
||||
}
|
||||
}
|
||||
shaderSource = null;
|
||||
}
|
||||
|
||||
public static final int COLOR = 1;
|
||||
public static final int NORMAL = 2;
|
||||
public static final int TEXTURE0 = 4;
|
||||
public static final int LIGHTING = 8;
|
||||
public static final int FOG = 16;
|
||||
public static final int ALPHATEST = 32;
|
||||
public static final int UNIT0 = 64;
|
||||
|
||||
public static FixedFunctionShader instance(int i) {
|
||||
FixedFunctionShader s = instances[i];
|
||||
if (s == null) {
|
||||
boolean CC_a_color = false;
|
||||
boolean CC_a_normal = false;
|
||||
boolean CC_a_texture0 = false;
|
||||
boolean CC_lighting = false;
|
||||
boolean CC_fog = false;
|
||||
boolean CC_alphatest = false;
|
||||
boolean CC_unit0 = false;
|
||||
if ((i & COLOR) == COLOR) {
|
||||
CC_a_color = true;
|
||||
}
|
||||
if ((i & NORMAL) == NORMAL) {
|
||||
CC_a_normal = true;
|
||||
}
|
||||
if ((i & TEXTURE0) == TEXTURE0) {
|
||||
CC_a_texture0 = true;
|
||||
}
|
||||
if ((i & LIGHTING) == LIGHTING) {
|
||||
CC_lighting = true;
|
||||
}
|
||||
if ((i & FOG) == FOG) {
|
||||
CC_fog = true;
|
||||
}
|
||||
if ((i & ALPHATEST) == ALPHATEST) {
|
||||
CC_alphatest = true;
|
||||
}
|
||||
if ((i & UNIT0) == UNIT0) {
|
||||
CC_unit0 = true;
|
||||
}
|
||||
s = new FixedFunctionShader(i, CC_a_color, CC_a_normal, CC_a_texture0, CC_lighting, CC_fog, CC_alphatest, CC_unit0);
|
||||
instances[i] = s;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
private static String shaderSource = null;
|
||||
|
||||
private final boolean enable_color;
|
||||
private final boolean enable_normal;
|
||||
private final boolean enable_texture0;
|
||||
private final boolean enable_lighting;
|
||||
private final boolean enable_fog;
|
||||
private final boolean enable_alphatest;
|
||||
private final boolean enable_unit0;
|
||||
private final ProgramGL globject;
|
||||
|
||||
private UniformGL u_matrix_m = null;
|
||||
private UniformGL u_matrix_p = null;
|
||||
private UniformGL u_matrix_t = null;
|
||||
|
||||
private UniformGL u_fogColor = null;
|
||||
private UniformGL u_fogMode = null;
|
||||
private UniformGL u_fogStart = null;
|
||||
private UniformGL u_fogEnd = null;
|
||||
private UniformGL u_fogDensity = null;
|
||||
private UniformGL u_fogPremultiply = null;
|
||||
|
||||
private UniformGL u_colorUniform = null;
|
||||
private UniformGL u_normalUniform = null;
|
||||
|
||||
private UniformGL u_alphaTestF = null;
|
||||
|
||||
private UniformGL u_texCoordV0 = null;
|
||||
|
||||
private UniformGL u_light0Pos = null;
|
||||
private UniformGL u_light1Pos = null;
|
||||
|
||||
private final int a_position;
|
||||
private final int a_texture0;
|
||||
private final int a_color;
|
||||
private final int a_normal;
|
||||
|
||||
private final int attributeIndexesToEnable;
|
||||
|
||||
public final BufferArrayGL genericArray;
|
||||
public final BufferGL genericBuffer;
|
||||
public boolean bufferIsInitialized = false;
|
||||
|
||||
private FixedFunctionShader(int j, boolean CC_a_color, boolean CC_a_normal, boolean CC_a_texture0,
|
||||
boolean CC_lighting, boolean CC_fog, boolean CC_alphatest, boolean CC_unit0) {
|
||||
enable_color = CC_a_color;
|
||||
enable_normal = CC_a_normal;
|
||||
enable_texture0 = CC_a_texture0;
|
||||
enable_lighting = CC_lighting;
|
||||
enable_fog = CC_fog;
|
||||
enable_alphatest = CC_alphatest;
|
||||
enable_unit0 = CC_unit0;
|
||||
|
||||
if (shaderSource == null) {
|
||||
shaderSource = fileContents("/glsl/core.glsl");
|
||||
}
|
||||
|
||||
String source = "";
|
||||
if (enable_color)
|
||||
source += "\n#define CC_a_color\n";
|
||||
if (enable_normal)
|
||||
source += "#define CC_a_normal\n";
|
||||
if (enable_texture0)
|
||||
source += "#define CC_a_texture0\n";
|
||||
if (enable_lighting)
|
||||
source += "#define CC_lighting\n";
|
||||
if (enable_fog)
|
||||
source += "#define CC_fog\n";
|
||||
if (enable_alphatest)
|
||||
source += "#define CC_alphatest\n";
|
||||
if (enable_unit0)
|
||||
source += "#define CC_unit0\n";
|
||||
source += shaderSource;
|
||||
|
||||
ShaderGL v = _wglCreateShader(_wGL_VERTEX_SHADER);
|
||||
_wglShaderSource(v, _wgetShaderHeader() + "\n#define CC_VERT\n" + source);
|
||||
_wglCompileShader(v);
|
||||
|
||||
if (!_wglGetShaderCompiled(v)) {
|
||||
System.err.println(("\n\n" + _wglGetShaderInfoLog(v)).replace("\n", "\n[/glsl/core.glsl][CC_VERT] "));
|
||||
throw new RuntimeException("broken shader file");
|
||||
}
|
||||
|
||||
ShaderGL f = _wglCreateShader(_wGL_FRAGMENT_SHADER);
|
||||
_wglShaderSource(f, _wgetShaderHeader() + "\n#define CC_FRAG\n" + source);
|
||||
_wglCompileShader(f);
|
||||
|
||||
if (!_wglGetShaderCompiled(f)) {
|
||||
System.err.println(("\n\n" + _wglGetShaderInfoLog(f)).replace("\n", "\n[/glsl/core.glsl][CC_FRAG] "));
|
||||
throw new RuntimeException("broken shader file");
|
||||
}
|
||||
|
||||
globject = _wglCreateProgram();
|
||||
_wglAttachShader(globject, v);
|
||||
_wglAttachShader(globject, f);
|
||||
|
||||
int i = 0;
|
||||
a_position = i++;
|
||||
_wglBindAttributeLocation(globject, a_position, "a_position");
|
||||
|
||||
if (enable_texture0) {
|
||||
a_texture0 = i++;
|
||||
_wglBindAttributeLocation(globject, a_texture0, "a_texture0");
|
||||
} else {
|
||||
a_texture0 = -1;
|
||||
}
|
||||
if (enable_color) {
|
||||
a_color = i++;
|
||||
_wglBindAttributeLocation(globject, a_color, "a_color");
|
||||
} else {
|
||||
a_color = -1;
|
||||
}
|
||||
if (enable_normal) {
|
||||
a_normal = i++;
|
||||
_wglBindAttributeLocation(globject, a_normal, "a_normal");
|
||||
} else {
|
||||
a_normal = -1;
|
||||
}
|
||||
|
||||
attributeIndexesToEnable = i;
|
||||
|
||||
_wglLinkProgram(globject);
|
||||
|
||||
_wglDetachShader(globject, v);
|
||||
_wglDetachShader(globject, f);
|
||||
_wglDeleteShader(v);
|
||||
_wglDeleteShader(f);
|
||||
|
||||
if (!_wglGetProgramLinked(globject)) {
|
||||
System.err.println(("\n\n" + _wglGetProgramInfoLog(globject)).replace("\n", "\n[LINKER] "));
|
||||
throw new RuntimeException("broken shader file");
|
||||
}
|
||||
|
||||
_wglUseProgram(globject);
|
||||
|
||||
u_matrix_m = _wglGetUniformLocation(globject, "matrix_m");
|
||||
u_matrix_p = _wglGetUniformLocation(globject, "matrix_p");
|
||||
u_matrix_t = _wglGetUniformLocation(globject, "matrix_t");
|
||||
|
||||
u_colorUniform = _wglGetUniformLocation(globject, "colorUniform");
|
||||
|
||||
if (enable_lighting) {
|
||||
u_normalUniform = _wglGetUniformLocation(globject, "normalUniform");
|
||||
u_light0Pos = _wglGetUniformLocation(globject, "light0Pos");
|
||||
u_light1Pos = _wglGetUniformLocation(globject, "light1Pos");
|
||||
}
|
||||
|
||||
if (enable_fog) {
|
||||
u_fogColor = _wglGetUniformLocation(globject, "fogColor");
|
||||
u_fogMode = _wglGetUniformLocation(globject, "fogMode");
|
||||
u_fogStart = _wglGetUniformLocation(globject, "fogStart");
|
||||
u_fogEnd = _wglGetUniformLocation(globject, "fogEnd");
|
||||
u_fogDensity = _wglGetUniformLocation(globject, "fogDensity");
|
||||
u_fogPremultiply = _wglGetUniformLocation(globject, "fogPremultiply");
|
||||
}
|
||||
|
||||
if (enable_alphatest) {
|
||||
u_alphaTestF = _wglGetUniformLocation(globject, "alphaTestF");
|
||||
}
|
||||
|
||||
_wglUniform1i(_wglGetUniformLocation(globject, "tex0"), 0);
|
||||
u_texCoordV0 = _wglGetUniformLocation(globject, "texCoordV0");
|
||||
|
||||
genericArray = _wglCreateVertexArray();
|
||||
genericBuffer = _wglCreateBuffer();
|
||||
_wglBindVertexArray(genericArray);
|
||||
_wglBindBuffer(_wGL_ARRAY_BUFFER, genericBuffer);
|
||||
setupArrayForProgram();
|
||||
|
||||
}
|
||||
|
||||
public void setupArrayForProgram() {
|
||||
_wglEnableVertexAttribArray(a_position);
|
||||
_wglVertexAttribPointer(a_position, 3, _wGL_FLOAT, false, 28, 0);
|
||||
if (enable_texture0) {
|
||||
_wglEnableVertexAttribArray(a_texture0);
|
||||
_wglVertexAttribPointer(a_texture0, 2, _wGL_FLOAT, false, 28, 12);
|
||||
}
|
||||
if (enable_color) {
|
||||
_wglEnableVertexAttribArray(a_color);
|
||||
_wglVertexAttribPointer(a_color, 4, _wGL_UNSIGNED_BYTE, true, 28, 20);
|
||||
}
|
||||
if (enable_normal) {
|
||||
_wglEnableVertexAttribArray(a_normal);
|
||||
_wglVertexAttribPointer(a_normal, 4, _wGL_UNSIGNED_BYTE, true, 28, 24);
|
||||
}
|
||||
}
|
||||
|
||||
public void useProgram() {
|
||||
_wglUseProgram(globject);
|
||||
}
|
||||
|
||||
public void unuseProgram() {
|
||||
|
||||
}
|
||||
|
||||
private float[] modelBuffer = new float[16];
|
||||
private float[] projectionBuffer = new float[16];
|
||||
private float[] textureBuffer = new float[16];
|
||||
|
||||
private Matrix4f modelMatrix = (Matrix4f) new Matrix4f().setZero();
|
||||
private Matrix4f projectionMatrix = (Matrix4f) new Matrix4f().setZero();
|
||||
private Matrix4f textureMatrix = (Matrix4f) new Matrix4f().setZero();
|
||||
private Vector4f light0Pos = new Vector4f();
|
||||
private Vector4f light1Pos = new Vector4f();
|
||||
|
||||
public void setModelMatrix(Matrix4f mat) {
|
||||
if (!mat.equals(modelMatrix)) {
|
||||
modelMatrix.load(mat).store(modelBuffer);
|
||||
_wglUniformMat4fv(u_matrix_m, modelBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
public void setProjectionMatrix(Matrix4f mat) {
|
||||
if (!mat.equals(projectionMatrix)) {
|
||||
projectionMatrix.load(mat).store(projectionBuffer);
|
||||
_wglUniformMat4fv(u_matrix_p, projectionBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTextureMatrix(Matrix4f mat) {
|
||||
if (!mat.equals(textureMatrix)) {
|
||||
textureMatrix.load(mat).store(textureBuffer);
|
||||
_wglUniformMat4fv(u_matrix_t, textureBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLightPositions(Vector4f pos0, Vector4f pos1) {
|
||||
if (!pos0.equals(light0Pos) || !pos1.equals(light1Pos)) {
|
||||
light0Pos.set(pos0);
|
||||
light1Pos.set(pos1);
|
||||
_wglUniform3f(u_light0Pos, light0Pos.x, light0Pos.y, light0Pos.z);
|
||||
_wglUniform3f(u_light1Pos, light1Pos.x, light1Pos.y, light1Pos.z);
|
||||
}
|
||||
}
|
||||
|
||||
private int fogMode = 0;
|
||||
|
||||
public void setFogMode(int mode) {
|
||||
if (fogMode != mode) {
|
||||
fogMode = mode;
|
||||
_wglUniform1i(u_fogMode, mode % 2);
|
||||
_wglUniform1f(u_fogPremultiply, mode / 2);
|
||||
}
|
||||
}
|
||||
|
||||
private float fogColorR = 0.0f;
|
||||
private float fogColorG = 0.0f;
|
||||
private float fogColorB = 0.0f;
|
||||
private float fogColorA = 0.0f;
|
||||
|
||||
public void setFogColor(float r, float g, float b, float a) {
|
||||
if (fogColorR != r || fogColorG != g || fogColorB != b || fogColorA != a) {
|
||||
fogColorR = r;
|
||||
fogColorG = g;
|
||||
fogColorB = b;
|
||||
fogColorA = a;
|
||||
_wglUniform4f(u_fogColor, fogColorR, fogColorG, fogColorB, fogColorA);
|
||||
}
|
||||
}
|
||||
|
||||
private float fogStart = 0.0f;
|
||||
private float fogEnd = 0.0f;
|
||||
|
||||
public void setFogStartEnd(float s, float e) {
|
||||
if (fogStart != s || fogEnd != e) {
|
||||
fogStart = s;
|
||||
fogEnd = e;
|
||||
_wglUniform1f(u_fogStart, fogStart);
|
||||
_wglUniform1f(u_fogEnd, fogEnd);
|
||||
}
|
||||
}
|
||||
|
||||
private float fogDensity = 0.0f;
|
||||
|
||||
public void setFogDensity(float d) {
|
||||
if (fogDensity != d) {
|
||||
fogDensity = d;
|
||||
_wglUniform1f(u_fogDensity, fogDensity);
|
||||
}
|
||||
}
|
||||
|
||||
private float alphaTestValue = 0.0f;
|
||||
|
||||
public void setAlphaTest(float limit) {
|
||||
if (alphaTestValue != limit) {
|
||||
alphaTestValue = limit;
|
||||
_wglUniform1f(u_alphaTestF, alphaTestValue);
|
||||
}
|
||||
}
|
||||
|
||||
private float tex0x = 0.0f;
|
||||
private float tex0y = 0.0f;
|
||||
|
||||
public void setTex0Coords(float x, float y) {
|
||||
if (tex0x != x || tex0y != y) {
|
||||
tex0x = x;
|
||||
tex0y = y;
|
||||
_wglUniform2f(u_texCoordV0, tex0x, tex0y);
|
||||
}
|
||||
}
|
||||
|
||||
private float colorUniformR = 0.0f;
|
||||
private float colorUniformG = 0.0f;
|
||||
private float colorUniformB = 0.0f;
|
||||
private float colorUniformA = 0.0f;
|
||||
|
||||
public void setColor(float r, float g, float b, float a) {
|
||||
if (colorUniformR != r || colorUniformG != g || colorUniformB != b || colorUniformA != a) {
|
||||
colorUniformR = r;
|
||||
colorUniformG = g;
|
||||
colorUniformB = b;
|
||||
colorUniformA = a;
|
||||
_wglUniform4f(u_colorUniform, colorUniformR, colorUniformG, colorUniformB, colorUniformA);
|
||||
}
|
||||
}
|
||||
|
||||
private float normalUniformX = 0.0f;
|
||||
private float normalUniformY = 0.0f;
|
||||
private float normalUniformZ = 0.0f;
|
||||
|
||||
public void setNormal(float x, float y, float z) {
|
||||
if (normalUniformX != x || normalUniformY != y || normalUniformZ != z) {
|
||||
normalUniformX = x;
|
||||
normalUniformY = y;
|
||||
normalUniformZ = z;
|
||||
_wglUniform3f(u_normalUniform, normalUniformX, normalUniformY, normalUniformZ);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
55
src/main/java/net/PeytonPlayz585/glemu/GLObjectMap.java
Normal file
55
src/main/java/net/PeytonPlayz585/glemu/GLObjectMap.java
Normal file
|
@ -0,0 +1,55 @@
|
|||
package net.PeytonPlayz585.glemu;
|
||||
|
||||
public class GLObjectMap<T> {
|
||||
private Object[] values;
|
||||
private int size;
|
||||
private int insertIndex;
|
||||
public int allocatedObjects;
|
||||
|
||||
public GLObjectMap(int initialSize) {
|
||||
this.values = new Object[initialSize];
|
||||
this.size = initialSize;
|
||||
this.insertIndex = 0;
|
||||
this.allocatedObjects = 0;
|
||||
}
|
||||
|
||||
public int register(T obj) {
|
||||
int start = insertIndex;
|
||||
do {
|
||||
++insertIndex;
|
||||
if (insertIndex >= size) {
|
||||
insertIndex = 0;
|
||||
}
|
||||
if (insertIndex == start) {
|
||||
resize();
|
||||
return register(obj);
|
||||
}
|
||||
} while (values[insertIndex] != null);
|
||||
values[insertIndex] = obj;
|
||||
++allocatedObjects;
|
||||
return insertIndex;
|
||||
}
|
||||
|
||||
public T free(int obj) {
|
||||
if (obj >= size || obj < 0)
|
||||
return null;
|
||||
Object ret = values[obj];
|
||||
values[obj] = null;
|
||||
--allocatedObjects;
|
||||
return (T) ret;
|
||||
}
|
||||
|
||||
public T get(int obj) {
|
||||
if (obj >= size || obj < 0)
|
||||
return null;
|
||||
return (T) values[obj];
|
||||
}
|
||||
|
||||
private void resize() {
|
||||
int oldSize = size;
|
||||
size += size / 2;
|
||||
Object[] oldValues = values;
|
||||
values = new Object[size];
|
||||
System.arraycopy(oldValues, 0, values, 0, oldSize);
|
||||
}
|
||||
}
|
58
src/main/java/net/PeytonPlayz585/glemu/ModeBuffer.java
Normal file
58
src/main/java/net/PeytonPlayz585/glemu/ModeBuffer.java
Normal file
|
@ -0,0 +1,58 @@
|
|||
package net.PeytonPlayz585.glemu;
|
||||
|
||||
import java.nio.FloatBuffer;
|
||||
|
||||
import net.lax1dude.eaglercraft.GLAllocation;
|
||||
|
||||
/**
|
||||
* Utility class that emulates immediate mode vertex data submission.
|
||||
* Can be used to create VBO data.
|
||||
*/
|
||||
public final class ModeBuffer {
|
||||
|
||||
private FloatBuffer buffer;
|
||||
|
||||
public ModeBuffer(final int startSize) {
|
||||
this.buffer = GLAllocation.createDirectFloatBuffer(startSize);
|
||||
}
|
||||
|
||||
private void checkSize(final int count) {
|
||||
while ( buffer.remaining() < count ) {
|
||||
final FloatBuffer newBuffer = GLAllocation.createDirectFloatBuffer(buffer.capacity() << 1);
|
||||
buffer.flip();
|
||||
newBuffer.put(buffer);
|
||||
buffer = newBuffer;
|
||||
}
|
||||
}
|
||||
|
||||
public FloatBuffer getBuffer() {
|
||||
buffer.flip();
|
||||
return buffer;
|
||||
}
|
||||
|
||||
public void glVertex2f(final float x, final float y) {
|
||||
checkSize(2);
|
||||
buffer.put(x).put(y);
|
||||
}
|
||||
|
||||
public void glVertex3f(final float x, final float y, final float z) {
|
||||
checkSize(3);
|
||||
buffer.put(x).put(y).put(z);
|
||||
}
|
||||
|
||||
public void glVertex4f(final float x, final float y, final float z, final float w) {
|
||||
checkSize(4);
|
||||
buffer.put(x).put(y).put(z).put(w);
|
||||
}
|
||||
|
||||
public void glNormal3f(final float x, final float y, final float z) {
|
||||
checkSize(3);
|
||||
buffer.put(x).put(y).put(z);
|
||||
}
|
||||
|
||||
public void glTexCoord2f(final float s, final float t) {
|
||||
checkSize(2);
|
||||
buffer.put(s).put(t);
|
||||
}
|
||||
|
||||
}
|
130
src/main/java/net/PeytonPlayz585/glemu/vector/Matrix.java
Normal file
130
src/main/java/net/PeytonPlayz585/glemu/vector/Matrix.java
Normal file
|
@ -0,0 +1,130 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 LWJGL Project
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* * Neither the name of 'LWJGL' nor the names of
|
||||
* its contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.PeytonPlayz585.glemu.vector;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
*
|
||||
* Base class for matrices. When a matrix is constructed it will be the identity
|
||||
* matrix unless otherwise stated.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$ $Id$
|
||||
*/
|
||||
public abstract class Matrix implements Serializable {
|
||||
|
||||
/**
|
||||
* Constructor for Matrix.
|
||||
*/
|
||||
protected Matrix() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set this matrix to be the identity matrix.
|
||||
*
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix setIdentity();
|
||||
|
||||
/**
|
||||
* Invert this matrix
|
||||
*
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix invert();
|
||||
|
||||
/**
|
||||
* Load from a float buffer. The buffer stores the matrix in column major
|
||||
* (OpenGL) order.
|
||||
*
|
||||
* @param buf A float buffer to read from
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix load(FloatBuffer buf);
|
||||
|
||||
/**
|
||||
* Load from a float buffer. The buffer stores the matrix in row major
|
||||
* (mathematical) order.
|
||||
*
|
||||
* @param buf A float buffer to read from
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix loadTranspose(FloatBuffer buf);
|
||||
|
||||
/**
|
||||
* Negate this matrix
|
||||
*
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix negate();
|
||||
|
||||
/**
|
||||
* Store this matrix in a float buffer. The matrix is stored in column major
|
||||
* (openGL) order.
|
||||
*
|
||||
* @param buf The buffer to store this matrix in
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix store(FloatBuffer buf);
|
||||
|
||||
/**
|
||||
* Store this matrix in a float buffer. The matrix is stored in row major
|
||||
* (maths) order.
|
||||
*
|
||||
* @param buf The buffer to store this matrix in
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix storeTranspose(FloatBuffer buf);
|
||||
|
||||
/**
|
||||
* Transpose this matrix
|
||||
*
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix transpose();
|
||||
|
||||
/**
|
||||
* Set this matrix to 0.
|
||||
*
|
||||
* @return this
|
||||
*/
|
||||
public abstract Matrix setZero();
|
||||
|
||||
/**
|
||||
* @return the determinant of the matrix
|
||||
*/
|
||||
public abstract float determinant();
|
||||
|
||||
}
|
418
src/main/java/net/PeytonPlayz585/glemu/vector/Matrix2f.java
Normal file
418
src/main/java/net/PeytonPlayz585/glemu/vector/Matrix2f.java
Normal file
|
@ -0,0 +1,418 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 LWJGL Project
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* * Neither the name of 'LWJGL' nor the names of
|
||||
* its contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.PeytonPlayz585.glemu.vector;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
*
|
||||
* Holds a 2x2 matrix
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$ $Id$
|
||||
*/
|
||||
|
||||
public class Matrix2f extends Matrix implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public float m00, m01, m10, m11;
|
||||
|
||||
/**
|
||||
* Constructor for Matrix2f. The matrix is initialised to the identity.
|
||||
*/
|
||||
public Matrix2f() {
|
||||
setIdentity();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public Matrix2f(Matrix2f src) {
|
||||
load(src);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load from another matrix
|
||||
*
|
||||
* @param src The source matrix
|
||||
* @return this
|
||||
*/
|
||||
public Matrix2f load(Matrix2f src) {
|
||||
return load(src, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy the source matrix to the destination matrix.
|
||||
*
|
||||
* @param src The source matrix
|
||||
* @param dest The destination matrix, or null if a new one should be created.
|
||||
* @return The copied matrix
|
||||
*/
|
||||
public static Matrix2f load(Matrix2f src, Matrix2f dest) {
|
||||
if (dest == null)
|
||||
dest = new Matrix2f();
|
||||
|
||||
dest.m00 = src.m00;
|
||||
dest.m01 = src.m01;
|
||||
dest.m10 = src.m10;
|
||||
dest.m11 = src.m11;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load from a float buffer. The buffer stores the matrix in column major
|
||||
* (OpenGL) order.
|
||||
*
|
||||
* @param buf A float buffer to read from
|
||||
* @return this
|
||||
*/
|
||||
public Matrix load(FloatBuffer buf) {
|
||||
|
||||
m00 = buf.get();
|
||||
m01 = buf.get();
|
||||
m10 = buf.get();
|
||||
m11 = buf.get();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load from a float buffer. The buffer stores the matrix in row major
|
||||
* (mathematical) order.
|
||||
*
|
||||
* @param buf A float buffer to read from
|
||||
* @return this
|
||||
*/
|
||||
public Matrix loadTranspose(FloatBuffer buf) {
|
||||
|
||||
m00 = buf.get();
|
||||
m10 = buf.get();
|
||||
m01 = buf.get();
|
||||
m11 = buf.get();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Store this matrix in a float buffer. The matrix is stored in column major
|
||||
* (openGL) order.
|
||||
*
|
||||
* @param buf The buffer to store this matrix in
|
||||
*/
|
||||
public Matrix store(FloatBuffer buf) {
|
||||
buf.put(m00);
|
||||
buf.put(m01);
|
||||
buf.put(m10);
|
||||
buf.put(m11);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Store this matrix in a float buffer. The matrix is stored in row major
|
||||
* (maths) order.
|
||||
*
|
||||
* @param buf The buffer to store this matrix in
|
||||
*/
|
||||
public Matrix storeTranspose(FloatBuffer buf) {
|
||||
buf.put(m00);
|
||||
buf.put(m10);
|
||||
buf.put(m01);
|
||||
buf.put(m11);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add two matrices together and place the result in a third matrix.
|
||||
*
|
||||
* @param left The left source matrix
|
||||
* @param right The right source matrix
|
||||
* @param dest The destination matrix, or null if a new one is to be created
|
||||
* @return the destination matrix
|
||||
*/
|
||||
public static Matrix2f add(Matrix2f left, Matrix2f right, Matrix2f dest) {
|
||||
if (dest == null)
|
||||
dest = new Matrix2f();
|
||||
|
||||
dest.m00 = left.m00 + right.m00;
|
||||
dest.m01 = left.m01 + right.m01;
|
||||
dest.m10 = left.m10 + right.m10;
|
||||
dest.m11 = left.m11 + right.m11;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subtract the right matrix from the left and place the result in a third
|
||||
* matrix.
|
||||
*
|
||||
* @param left The left source matrix
|
||||
* @param right The right source matrix
|
||||
* @param dest The destination matrix, or null if a new one is to be created
|
||||
* @return the destination matrix
|
||||
*/
|
||||
public static Matrix2f sub(Matrix2f left, Matrix2f right, Matrix2f dest) {
|
||||
if (dest == null)
|
||||
dest = new Matrix2f();
|
||||
|
||||
dest.m00 = left.m00 - right.m00;
|
||||
dest.m01 = left.m01 - right.m01;
|
||||
dest.m10 = left.m10 - right.m10;
|
||||
dest.m11 = left.m11 - right.m11;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Multiply the right matrix by the left and place the result in a third matrix.
|
||||
*
|
||||
* @param left The left source matrix
|
||||
* @param right The right source matrix
|
||||
* @param dest The destination matrix, or null if a new one is to be created
|
||||
* @return the destination matrix
|
||||
*/
|
||||
public static Matrix2f mul(Matrix2f left, Matrix2f right, Matrix2f dest) {
|
||||
if (dest == null)
|
||||
dest = new Matrix2f();
|
||||
|
||||
float m00 = left.m00 * right.m00 + left.m10 * right.m01;
|
||||
float m01 = left.m01 * right.m00 + left.m11 * right.m01;
|
||||
float m10 = left.m00 * right.m10 + left.m10 * right.m11;
|
||||
float m11 = left.m01 * right.m10 + left.m11 * right.m11;
|
||||
|
||||
dest.m00 = m00;
|
||||
dest.m01 = m01;
|
||||
dest.m10 = m10;
|
||||
dest.m11 = m11;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Transform a Vector by a matrix and return the result in a destination vector.
|
||||
*
|
||||
* @param left The left matrix
|
||||
* @param right The right vector
|
||||
* @param dest The destination vector, or null if a new one is to be created
|
||||
* @return the destination vector
|
||||
*/
|
||||
public static Vector2f transform(Matrix2f left, Vector2f right, Vector2f dest) {
|
||||
if (dest == null)
|
||||
dest = new Vector2f();
|
||||
|
||||
float x = left.m00 * right.x + left.m10 * right.y;
|
||||
float y = left.m01 * right.x + left.m11 * right.y;
|
||||
|
||||
dest.x = x;
|
||||
dest.y = y;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Transpose this matrix
|
||||
*
|
||||
* @return this
|
||||