Commit Graph

1486 Commits

Author SHA1 Message Date
Juuxel c1d0d9db1f
Add CONTRIBUTING.md, mention mojmap being ARR (#1222)
* Add CONTRIBUTING.md, mention mojmap being ARR

Closes #1221. Created CONTRIBUTING.md file that is basically
a copy-paste from the README.

Closes #1209. CONVENTIONS.md now mentions that names from
mojmap should not be used.

* Suggestions
2020-03-26 14:12:00 +00:00
liach ab49bb2e7b
Jigsaw and rotation/rule test stuff (#1227)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 14:10:31 +00:00
Yanis48 f3692142b6
Strider entity mappings (#1225)
* strider entity mappings

* some additions

* changes

* changes

* Update ItemSteerable.mapping

* class_4988
2020-03-26 14:09:47 +00:00
modmuss50 421fd43218 20w13b 2020-03-26 14:08:27 +00:00
liach 0c84d443c2
Map two missing inner classes (#1228)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 11:32:00 +00:00
i509VCB 7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. (#1219)
* Javadoc for some client, datafixer and misc.

* Update ServerPlayNetworkHandler.mapping

* Update MinecraftClient.mapping

* Update ClientPlayerEntity.mapping

* Update PlayerListEntry.mapping

* Update TypeReferences.mapping

* Update Entity.mapping

* Update LivingEntity.mapping

* Update NbtHelper.mapping

* Update CommandOutput.mapping

* Update mappings/net/minecraft/client/MinecraftClient.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/command/CommandOutput.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update PlayerListEntry.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayPacketListener.mapping

* Update ClientPlayPacketListener.mapping

* Fix possible build error

* try 2

* Update LivingEntity.mapping

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/entity/Entity.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 23:14:55 +00:00
liach d93a2d54d5
Map two new farmer tasks (#1229)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 23:14:46 +00:00
liach 486d832be5
Minor dfu stuff (#1226)
* Minor dfu stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* Missed this

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 21:50:41 +00:00
Yanis48 dcf8bb0e96
Some block mappings (#1223)
* Some block mappings

* Update mappings/net/minecraft/block/Blocks.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update Blocks.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-25 21:49:17 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
liach 4bcc8ac47c
EntityContext -> ShapeContext, EntityContextImpl -> EntityShapeContext (#1213)
Fixes #908.

This context is exclusively used by block's 3 shape checking methods.
For its usage outside of blocks, it is used to be eventually passed to call one of the shape checking methods (as in CollisionView#canPlace or RayTraceContext)

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-24 22:54:23 +00:00
liach 0a63e67d08
Clarify Minecart sounds, fixes #918 (#1211)
* Clarify Minecart sounds, fixes #918

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/sound/MinecartInsideSoundInstance.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-24 22:53:56 +00:00
joaoh1 52012b1aa6
Fix PositionedSoundInstance's swapped param. names (#1220) 2020-03-24 22:53:30 +00:00
i509VCB 0ac0160c5a
Javadoc to describe the block/fluid state properties Minecraft provides (#1214)
* Javadoc for properties

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/state/property/Properties.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-22 23:31:14 +00:00
Runemoro ee8d489d59
Update enigma (#1212) 2020-03-20 22:57:01 +00:00
liach 84c59b348d
Fully map out block state model generator (#1208)
* Fully map out block state model generator

Now eliminated all unmapped classes! 🎉

Signed-off-by: liach <liach@users.noreply.github.com>

* The block is cocoa

* Model map fixes

* derivative -> texture/model pool

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-20 22:16:59 +00:00
­Sollace 0f9c44a541
Mappings relating to code that uses CsvWriter (#1186)
* Mappings relating to code that uses CsvWriter

* ok

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* 👌

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/world/ChunkTicketManager.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* directionalLighting -> shade

* Revise param names for createArea

* @Sollace misreads the code again

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-20 18:16:55 +00:00
NeunEinser 71c375ca14
@returns -> @return (#1210) 2020-03-20 18:16:28 +00:00
liach 9446cccca5
Map reverse portal particle (#1206)
* Map reverse portal particle

and many other missing fields in particle/factories

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/particle/CurrentDownParticle.mapping

Co-Authored-By: Joseph Burton <burtonjae@hotmail.co.uk>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-03-19 16:24:35 +00:00
liach b931f3b1de
Map class 4966 and associated chunk generator stuff (#1207)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 16:24:12 +00:00
liach e34b5a891e
New sound stuff, fish hook predicate, missed persistent state uuid fix (#1202)
Signed-off-by: liach <liach@users.noreply.github.com>

Add jd to note this is the mood percentage for biome sound

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 14:50:03 +00:00
­Sollace e57e86ce75
Realms mappings (#1170)
* Realms mappings

* More missing names

* getname -> getName

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Enigma pls

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-19 14:43:45 +00:00
liach 9357e4ea58
A few uuid fixes mapped (#1201)
Now enigma takes too long decompiling some classes. Weird...

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 14:42:14 +00:00
Yanis48 1cf89957f5
Sorted out the projectile mess (#1199)
* sorted out the projectile mess

* Update ShulkerBulletEntity.mapping
2020-03-19 14:41:57 +00:00
Joseph Burton 69b0299c91
Slot documentation stuff (#1198)
* Slot documentation stuff

* Fix javadoc paragraphs and add comment about click data with throw action type
2020-03-19 14:41:44 +00:00
Yanis48 a36211bd7c
Quick entity fixes (#1200) 2020-03-19 14:07:30 +00:00
Meredith Espinosa ea26d32385
Map methods in AbstractBlock and subclasses (#1203)
* update abstract block mappings

* rename slowDownMultiplier to unify with settings name

* add in all the parameters

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* change a few names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-19 14:07:11 +00:00
Yanis48 27d4f077fc
RespawnAnchorBlock & related respawn stuff (#1204) 2020-03-18 23:12:00 +00:00
modmuss50 839d6878b9
Fix swapped names (#1205) 2020-03-18 23:10:54 +00:00
modmuss50 d3f199b863 Initial pass on Abstract Block - Open to changes 2020-03-18 19:43:14 +00:00
modmuss50 3b3f80b207 Remove duplicate mapping 2020-03-18 19:02:26 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
­Sollace 93701715c0
Moved a lot of "util" classes to more appropriate packages (#1171)
* Moved a lot of "util" classes to more appropriate packages

* Move UncaughtExceptionLogger to the correct package

* These are all collections/sets/iterables

* Move stuff relating to dyamics into util/dynamic

* UnaryOperator is only used in the context of loot tables

* Functional classes into util/function

* Time classes into a util/time package

* JsonHelper -> JsonUtil

* Whatever that name is, this is a world class

* Moved ReusableStream to util/collection

* TODO: this name is wrong

* Update mappings/net/minecraft/util/io/CsvWriter.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Move OffsetDoubleList to the shape package (since it's only used there)

* Move CsvWriter to the profiler package

* io package is gone :crab_dance:

* time package is gone :crab_dance:

* And now it lets me add them...

* Move Lazy back to util/

* Revert JsonUtil to JsonHelper

* Jeon -> Json

* Update mappings/net/minecraft/util/Identifier.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* ids -> initialSize

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-17 23:04:34 +00:00
liach 5f5d0a8746
InfoEnchantment -> EnchantmentLevelEntry (extends WeightedPicker.Entry) (#1182)
* InfoEnchantment -> EnchantmentsEntry (extends WeightedPicker.Entry)
Enchantment$Weight -> Enchantment$Rarity

again time to end that utter nonsense

Signed-off-by: liach <liach@users.noreply.github.com>

* Don't cry at me for not closing #1181 if you get fooled into think this is the actual "enchantment"
this thing is just a weighted picker entry; even client data gen properties entry (key-value pair) has proper hashCode and equals and this thing doesn't

Signed-off-by: liach <liach@users.noreply.github.com>

* Good suggestions earthcomputer

Signed-off-by: liach <liach@users.noreply.github.com>

* Suggested EnchantmentLevelEntry

Signed-off-by: liach <liach@users.noreply.github.com>

* Selected changes for enchantment helper

* Rephrase to make it less confusing per juuz

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-17 20:26:12 +00:00
liach 7937cb1803
Some parameter names and corrections (#1183)
* Some parameter names and corrections
Fix the properties handler name conflict in #1145

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/dedicated/AbstractPropertiesHandler.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-17 20:23:58 +00:00
Joseph Burton 4b2f6a5aa8
Pathfinding improvements (#1180)
* Pathfinding improvements

* n.m.block.BlockPlacementEnvironment -> n.m.entity.ai.pathing.NavigationType
2020-03-17 20:21:08 +00:00
i509VCB 9e3e56c893
Map some more DataFixer code. (#1179)
* Map some datafixer code,

* Javadoc describing what NbtOps is used for

* Update mappings/net/minecraft/datafixer/NbtOps.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-17 20:21:00 +00:00
liach 61ab4691f2
BlockPos mappings (#1177)
* BlockPos mappings

Signed-off-by: liach <liach@users.noreply.github.com>

* iterate/stream manhattan -> iterate/stream outwards

* Update mappings/net/minecraft/util/math/BlockPos.mapping

* Comments on block pos

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-17 20:20:50 +00:00
Juuxel 6d4d0f5cf3
Fix client/server being swapped in InventoryS2CPacket's docs (#1196) 2020-03-17 13:05:14 +00:00
Juuxel f738309128
Improve InventoryS2CPacket's names (#1194) 2020-03-16 22:59:24 +00:00
shedaniel bc23219e17
remove blit and javadoc i need comments (#1168)
* remove blit i need comments

* some javadoc?

* revert parameters names

* fix interchangeable
2020-03-16 21:41:30 +00:00
Joseph Burton 6c500b99ac
Fix ItemStack mappings (#1188)
* Fix ItemStack mappings

* I guess it doesn't ignore count either
2020-03-16 17:24:44 +00:00
Thalia Nero 0f40ff6dc6
Map the rest of CommandBlockExecutor (#1184) 2020-03-16 10:52:26 +00:00
liach a1b8da33a9
Enchantments, vines, particles 11a (#1174)
* Enchantments, vines, particles 11a
Fixes #1084 as well

* Detail on what the ench method does

Signed-off-by: liach <liach@users.noreply.github.com>

* Now this thing has a builder ye

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/feature/TwistingVinesFeature.mapping

* Update mappings/net/minecraft/world/gen/feature/TwistingVinesFeature.mapping

* Rename method sin weeping vine feature as requested by @supercoder7979

Signed-off-by: liach <liach@users.noreply.github.com>

* Vines -> VineLogic

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-13 13:55:19 +00:00
Mikhail Oleynikov 2cd906df4e
Map LevelGeneratorOptions (#1175)
* Map LevelGeneratorOptions

* Delete build.gradle

* FIX MESS

This reverts commit 1401dd2a73.

* FIX MESS 2

* 20w11a falseresync/levelgen (#1)

* Stuff around this level gen stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* Another missed

* one more field

Co-authored-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-13 13:55:03 +00:00
Yanis48 666890b9d8
Made some entity renderer and model fields and parameters consistent (#1176)
* Entity renderers' SKIN -> TEXTURE & made some parameters consistent

* some fields and constructor parameters in model classes

* shulker colored textures

* Update mappings/net/minecraft/client/render/entity/WitherEntityRenderer.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/client/render/entity/WitherSkullEntityRenderer.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-13 13:54:42 +00:00
liach 0662643338
Followup cleanups around screen handler change (#1166)
* Followup cleanups around screen handler change
Closes #1153

Signed-off-by: liach <liach@users.noreply.github.com>

* Lol i missed this

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* SCREEN_TITLE -> TITLE

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-12 21:05:02 +00:00
modmuss50 9497721136 20w11a 2020-03-11 17:25:56 +00:00
Juuxel 08f62761fc
EnderCrystal -> EndCrystal, #1163 improvements (#1173)
The end crystal entity is registered as minecraft:end_crystal.
2020-03-11 16:17:29 +00:00
liach e380edac44
tiny works on model/blockstate data gen (#1169)
* BlockStateVariantManager#register(2)[1 = ] -> properties

* BlockStateVariantManager#register(2)[2 = ] -> possibleVariants

* BlockStateModelGenerator#method_25681(1) -> registerWithSimpleModel

* BlockStateModelGenerator#method_25543(2) -> registerWithLinkedModel

* BlockStateModelGenerator#registerWithSimpleModel(1)[1 = ] -> block

* BlockStateModelGenerator#registerWithLinkedModel(2)[1 = ] -> block

* BlockStateModelGenerator#registerWithLinkedModel(2) -> registerModelReference

* BlockStateModelGenerator#registerModelReference(2) -> registerStateWithModelReference

* BlockStateModelGenerator#registerStateWithModelReference(2)[2 = ] -> modelReference

* BlockStateModelGenerator#registerWithSimpleModel(1) -> registerSimpleState

* +44 doc in net/minecraft/data/client/model/BlockStateSupplier

* VariantsBlockStateSupplier#<init>(2)[2 = ] -> variants

* VariantsBlockStateSupplier%field_22862 -> variantManager

* BlockStateVariantManager#register(2)[1 = properties] -> condition

* +62 doc in net/minecraft/data/client/model/PropertiesEntry

* +86 doc in net/minecraft/data/client/model/Properties

* +30 doc in net/minecraft/data/client/model/Properties

* +30 doc in net/minecraft/data/client/model/PropertiesEntry

* +81 doc in PropertiesEntry#streamAllFor(1)

* +62 doc in net/minecraft/data/client/model/BlockStateVariant

* net/minecraft/data/client/model/BlockStateVariantManager -> net/minecraft/data/client/model/VariantMap

* +96 doc in net/minecraft/data/client/model/VariantMap

* +20 doc in net/minecraft/data/client/model/VariantMap

* net/minecraft/data/client/model/VariantMap -> net/minecraft/data/client/model/BlockStateVariantMap

* +1 doc in net/minecraft/data/client/model/BlockStateVariantMap

* VariantsBlockStateSupplier%field_22861 -> definedProperties

* VariantsBlockStateSupplier%variantManager -> variantMaps

* net/minecraft/data/client/model/Properties -> net/minecraft/data/client/model/PropertiesMap

* BlockStateModelGenerator#method_25690(1) -> registerCommandBlock

* BlockStateModelGenerator#method_25692(1) -> registerAnvil

* BlockStateModelGenerator#registerCommandBlock(1)[1 = ] -> block

* BlockStateModelGenerator#registerAnvil(1)[1 = ] -> block

* +50 doc in net/minecraft/data/client/model/TexturedModel

* +47 doc in TexturedModel$Factory#get(4)

* remove broken docs

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-11 15:10:12 +00:00
liach 7bd162989d
Pick up rendering stuff and dragon stuff (#1163)
* Pick up #1026 and adjustments

ArmorFeatureRenderer, BipedEntityModel and some player stuff

Parrot entity rendering fixes

At the moment, I don't know the difference between method_17110 and method_17111.

method_17110 -> animateModel

Still a provisional name.

Finish the other feature renderers (except CapeFeatureRenderer)

Name methods involving armor stands

Work on Ender Dragon-related things

overlay{Message, Tinted} -> {message, tinted}

Add docs for ClientPlayerEntity#wateriness (now wetness)

ClientPlayerEntity#getVisibilityReductionFromWater -> getScaledWetness

Actually add javadocs

newHealth -> health

DragonFireballEntityRenderer#FIREBALL -> LAYER

* Update mappings/net/minecraft/client/render/RenderLayer.mapping

Co-authored-by: Kyarei <uruwi@protonmail.com>
2020-03-11 15:09:33 +00:00
Deximus-Maximus 601be823bf
getMiningSpeed -> getMiningSpeedMultiplier (#1161)
Update name to be accurate and more descriptive
2020-03-10 20:42:24 +00:00
Mikhail Oleynikov b172cf03c1
Extend structures and structure pools mappings (#1160)
* Extend structures and structure pools mappings

* Tweak isometry names; refine structure and structure pool names

* Rename rotationCenter -> pivot

* Update StructurePool.mapping

* Update mappings/net/minecraft/structure/pool/StructurePool.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-10 20:42:03 +00:00
liach 2b9d3843d4
Realms mapped (#1167)
* Realms mapped

Now only 4 inner classes left in that giant block state data generator, planning to use cloak

Signed-off-by: liach <liach@users.noreply.github.com>

* Use @since jd tag

thanks falseresync

Co-Authored-By: Mikhail Oleynikov <falseresync@gmail.com>

* Thanks juuz

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Remove since tags

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Mikhail Oleynikov <falseresync@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-10 20:41:47 +00:00
SuperCoder79 55b6d0c988
FoliagePlacer mapping and doc, Tree mapping, and a lot of misc feature mapping (#1159)
* a whole lot of feature mappings

* fix wrong comment placement

* removed empty comment

* Apply suggestions from code review

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* fix based on reivew

* fix docs

* Update FoliagePlacer.mapping

* Apply suggestions from code review

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-10 16:34:02 +00:00
modmuss50 355a622b46 Generate a mergedv2 jar, update engima + some other tweaks. Closes #1071 2020-03-09 19:28:16 +00:00
liach d24dec94fb
Plant block, smithing table container, data gen, dfu, dynamic seriali… (#1148)
* Plant block, smithing table container, data gen, dfu, dynamic serializable boolean

Signed-off-by: liach <liach@users.noreply.github.com>

* updateresult

Signed-off-by: liach <liach@users.noreply.github.com>

* Some biome sound and container screen etc

Signed-off-by: liach <liach@users.noreply.github.com>

* More stuff
block state model generator is too big, maybe need cloak (enigma too slow)

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/container/ForgingContainer.mapping

* conatiner name -> screen title

Signed-off-by: liach <liach@users.noreply.github.com>

* Document the 3 types of sounds; biome ambient sound player -> effect sound player

Signed-off-by: liach <liach@users.noreply.github.com>

* Update ModelIds.mapping

* container -> screen handler

Signed-off-by: liach <liach@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/screen/ingame/SmithingScreen.mapping

Missed this boi

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-08 22:23:40 +00:00
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00
Yanis48 168d6b23ec
Random fixes (#1162) 2020-03-08 22:14:25 +00:00
­Sollace 8a01945f5c
Drop invalid mappings (#1158) 2020-03-08 11:24:23 +00:00
Pyrofab 135f569146
Document changed UUID serialization methods (#1156)
* Document changed NBT methods

* Avoid unintended incompatibilities with old worlds
2020-03-08 11:23:54 +00:00
martmists 948804d428
Suggest mappings (#1123)
* OverworldChunkGeneratorConfig%field_13224 -> biomeSize

* OverworldChunkGeneratorConfig%field_13223 -> riverSize

* OverworldChunkGeneratorConfig%field_13222 -> forcedBiome

* OverworldChunkGeneratorConfig%field_13221 -> minY

* ServerWorld#method_18210(1) -> getSurface

* EnchantmentHelper#method_24365(3) -> getMatchingEquipment

* EnchantmentHelper#getMatchingEquipment(3) -> getMatchingEnchantedEquipment

* Update mappings/net/minecraft/block/BedBlock.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/chunk/OverworldChunkGeneratorConfig.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/world/gen/chunk/OverworldChunkGeneratorConfig.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-07 17:38:28 +00:00
­Sollace 372e9fa3b2
Cape and Elytra mappings for PlayerEntity (#1138)
* Cape and Elytra mappings for PlayerEntity

* Apply suggestions from code review

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* spreadItems -> throwRandomly

* vx/y/z -> dx/y/z

* Remove invalid mappings

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-03-07 17:37:40 +00:00
liach ab47a6c0bc bedrock floor/ceiling mappings
Supersedes #1121

Signed-off-by: liach <liach@users.noreply.github.com>
2020-03-07 17:36:39 +00:00
modmuss50 c552e79ea1
named and commented various seeding methods (#1118)
* named and commented various seeding methods

* finished commenting

* various changes

* fixed my bad spelling

* split paragraphs

* Update mappings/net/minecraft/world/gen/ChunkRandom.mapping

Co-Authored-By: Runemoro <runemoro1@gmail.com>

* Update mappings/net/minecraft/world/gen/ChunkRandom.mapping

Co-Authored-By: Runemoro <runemoro1@gmail.com>

* Update mappings/net/minecraft/world/gen/ChunkRandom.mapping

Co-Authored-By: Runemoro <runemoro1@gmail.com>

* Update mappings/net/minecraft/world/gen/ChunkRandom.mapping

Co-Authored-By: Runemoro <runemoro1@gmail.com>

* changed pos to block

Co-authored-by: Runemoro <runemoro1@gmail.com>
2020-03-05 23:59:17 +00:00
modmuss50 f339c99217
some piglin stuff + misc (#1144)
* some piglin stuff + misc

* Update mappings/net/minecraft/entity/mob/ZombifiedPiglinEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* more stuff

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-05 21:40:35 +00:00
modmuss50 42eff3b6d0
Add Back Some Projectile Mappings (#1150) 2020-03-05 21:39:51 +00:00
modmuss50 991ed5c736
Map Chunk loading, Chunks and Chunk Generation (#1151)
* ThreadedAnvilChunkStorage#method_20458(2) -> tryUnloadChunk

* ThreadedAnvilChunkStorage#tryUnloadChunk(2)[1 = ] -> chunkPosLong

* ThreadedAnvilChunkStorage#method_21676(1) -> getFutureStatus

* ChunkHolder#method_20725(0) -> getBorderFuture

* ChunkTicketManager#method_21623(1)[1 = ] -> chunkPosLong

* ChunkTicketManager#method_21623(1) -> getTicket

* +191 doc in ThreadedAnvilChunkStorage%MAX_LEVEL

* ChunkHolder%field_19238 -> ticking

* ChunkHolder#method_20385(0) -> updateTickingStatus

* ChunkHolder#method_20384(0) -> isTicking

* ProtoChunk#method_22405(1) -> setBiomeArray

* ProtoChunk%field_20656 -> biomes

* ChunkHolder#method_23271(0) -> getLevelType

* ProtoChunk#<init>(5)[5 = ] -> fluidTickScheduler

* ProtoChunk#<init>(5)[4 = ] -> blockTickScheduler

* Chunk#setBlockState(3)[3 = ] -> moved

* ChunkTicketManager#addTicket(2)[3 = ] -> ticket

* net/minecraft/world/chunk/ChunkStatus$Task -> GenerationTask

* +54 doc in net/minecraft/world/chunk/ChunkStatus$GenerationTask

* net/minecraft/world/chunk/ChunkStatus$GenerationTask -> Task

* -54 doc in net/minecraft/world/chunk/ChunkStatus$Task

* WorldChunk#<init>(9)[5 = ] -> blockTickScheduler

* WorldChunk#<init>(9)[6 = ] -> fluidTickScheduler

* WorldChunk#<init>(9)[7 = ] -> inhabitedTime

* WorldChunk#<init>(9)[10 = ] -> loadToWorldConsumer

* WorldChunk#getFluidState(3)[3 = ] -> z

* WorldChunk#setLoadedToWorld(1)[1 = ] -> loaded

* ThreadedAnvilChunkStorage$TicketManager#<init>(2)[1 = ] -> workerExecutor

* ThreadedAnvilChunkStorage$TicketManager#<init>(2)[2 = ] -> mainThreadExecutor

* ThreadedAnvilChunkStorage#method_20605(1) -> unloadChunks

* ThreadedAnvilChunkStorage#unloadChunks(1)[1 = ] -> shouldKeepTicking

* ThreadedAnvilChunkStorage#method_20619(1) -> loadChunk

* ThreadedAnvilChunkStorage#loadChunk(1)[1 = ] -> pos

* ThreadedAnvilChunkStorage#method_20617(2) -> generateChunk

* Fix issues
2020-03-05 21:39:17 +00:00
modmuss50 6bf062b174
some gui changes (#1152)
* some gui changes

* draw line changes

* text typo

* z offset
2020-03-05 21:38:51 +00:00
modmuss50 72fa1d7581
Restore GUI names from 20w09a (#1149)
* (WIP) Restore names from 20w09a

* Add more names

* Add a field name
2020-03-04 23:18:13 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
Ido Dana 067f52a039
isCloseToTarget -> isNearTarget (#1141) 2020-03-03 15:12:50 +00:00
liach 627465501e
20w09a all classes mapped (#1143)
* 20w09a all classes mapped

Signed-off-by: liach <liach@users.noreply.github.com>

* call it Repeating Audio Stream

Signed-off-by: liach <liach@users.noreply.github.com>
2020-03-03 15:10:30 +00:00
Joseph Burton 5f9669e04e
A couple of additions to PointOfInterestStorage (#1139)
* A couple of additions to PointOfInterestStorage

* getX -> getInX
2020-02-28 18:57:37 +00:00
liach d924b03325
Eliminate all unmapped classes from yarn (#1135)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-28 18:28:02 +00:00
Joseph Burton 1d3ea3b886
fungi -> fungus (#1136) 2020-02-28 16:06:45 +00:00
Joseph Burton f7a46e94f6
Map 20w09a blocks and items (#1137)
* Map new blocks and items

* Update mappings/net/minecraft/advancement/criterion/TargetHitCriterion.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-02-28 16:05:17 +00:00
Joseph Burton 162f4c5e20
minusDiv -> getLerpProgress + other improvements (#1134)
* minusDiv -> inverseLerp

* Rename parameters and clarify javadoc

* Fix javadoc to refer to new parameter names

* Rename inverseLerp -> getLerpProgress and other improvements in MathHelper

* randomUUID -> randomUuid
2020-02-26 21:43:31 +00:00
modmuss50 8e7f7a8d35 20w09a 2020-02-26 17:56:39 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
martmists 9d48cbcbd2
Map LeavesFix (#1127)
* LeavesFix%field_5686 -> logBlocks

* LeavesFix%field_5688 -> leafMap

* LeavesFix$ListFixer#method_5082(3) -> computeFlags

* LeavesFix$class_1192%field_5690 -> leafStates

* LeavesFix$ListFixer#computeFlags(3)[1 = ] -> leafBlockName

* LeavesFix$ListFixer#computeFlags(3)[2 = ] -> persistent

* LeavesFix$ListFixer%data -> properties

* LeavesFix$ListFixer%field_5696 -> leafStateMap

* LeavesFix$class_1192#method_5072(4) -> createLeafProperties

* LeavesFix$class_1192%field_5689 -> leafIndices

* LeavesFix$class_1192%field_5691 -> logIndices

* LeavesFix$class_1192#method_5068(1) -> isLog

* LeavesFix$class_1192#method_5071(1) -> isLeaf

* LeavesFix$class_1192#method_5065(1) -> getDistanceToLog

* LeavesFix$class_1192#method_5070(3) -> computeLeafStates

* LeavesFix$ListFixer%leafStateMap -> blockStateMap

* LeavesFix$ListFixer#method_5074(1) -> getFixableBlockStates

* LeavesFix$ListFixer#getFixableBlockStates(1) -> computeFixableBlockStates

* LeavesFix$ListFixer#method_5079(0) -> isFixed

* LeavesFix$ListFixer#method_5075(1) -> needsFix

* Update LeavesFix.mapping

* Make requested changes
2020-02-22 23:05:59 +00:00
qouteall b9aaf4b959
small things (#1130)
* ServerPlayNetworkHandler#method_20630(1) -> isPlayerCollidingWithBlocks

* GameRenderer#method_22973(3) -> getBasicProjectionMatrix

* GameRenderer#method_22709(1) -> loadProjectionMatrix

* Update ServerPlayNetworkHandler.mapping
2020-02-22 23:05:53 +00:00
martmists a049e1828b
map MineshaftGenerator methods (#1131)
* MineshaftGenerator$MineshaftStairs#method_14720(6) -> getBoundingBox

* MineshaftGenerator$MineshaftCrossing#method_14717(6) -> getBoundingBox

* MineshaftGenerator$MineshaftCorridor#method_14714(6) -> getBoundingBox

* MineshaftGenerator#method_14712(8) -> getRandomJigsaw

* MineshaftGenerator#method_14711(8) -> tryGenerateJigsaw

* StructurePiece#method_14918(3) -> placeJigsaw

* MineshaftGenerator$MineshaftPart#method_16443(0) -> getPlanksType

* MineshaftGenerator$MineshaftPart#method_14718(0) -> getFenceType

* StructurePiece#method_14923(0) -> getLength

* StructurePiece%field_15316 -> length

* StructurePiece#method_14932(2) -> getOverlappingPiece
2020-02-22 23:05:44 +00:00
Joseph Burton e3c94ba63d
Update BlockPos.mapping (#1132) 2020-02-22 23:05:38 +00:00
martmists fb3680f257
Map RailPlacementHelper (#1125)
* RailPlacementHelper#method_10460(0) -> getNeighborCount

* RailPlacementHelper#method_10455(1) -> canConnect

* RailPlacementHelper#method_10461(1) -> computeRailShape

* RailPlacementHelper#method_10467(0) -> updateNeighborPositions

* RailPlacementHelper#method_10458(1) -> getNeighboringRail

* RailPlacementHelper#method_10465(1) -> canConnect
2020-02-21 20:51:46 +00:00
modmuss50 c2ca5b58f7 20w08a 2020-02-19 18:23:51 +00:00
Pyrofab 7ccd4ce5ad
Standardize EntityData naming (#1113)
* Remove overlaps

* net/minecraft/entity/passive/PassiveEntity$EntityData -> PassiveData

* net/minecraft/entity/passive/SchoolingFishEntity$Data -> FishData

* net/minecraft/entity/passive/TropicalFishEntity$Data -> TropicalFishData

* net/minecraft/entity/mob/ZombieEntity$Data -> ZombieData

* net/minecraft/entity/mob/SpiderEntity$SpawnEffectData -> SpiderData

* net/minecraft/entity/passive/HorseEntity$EntityData -> HorseData

* net/minecraft/entity/passive/LlamaEntity$EntityData -> LlamaData

* net/minecraft/entity/passive/RabbitEntity$RabbitEntityData -> RabbitData
2020-02-17 13:50:02 +00:00
LambdAurora f20fc8f630
Rename every view argument to world and random additions. (#1114)
* WIP on view argument nuking.

* More mappings.

* Nuke remaining view arguments.

* FeatureRendererContext#getTexture() ARG 1 wolf -> entity
2020-02-17 13:48:43 +00:00
Yanis48 692f7fadd9
Random fixes (#1109)
* fiiiiiiiiiiixes

* revert for c2s packet

* "loot table" -> "table"

* juuxeled
2020-02-17 13:46:39 +00:00
Mitchell Skaggs b058d2d0d1
BlockBox names and overloads in BlockPos (#1117)
* BlockPos#method_23627(1) -> stream

* BlockPos#stream(1)[0 = ] -> box

* BlockBox#method_22874(0) -> center

* +60 doc in BlockBox#center(0)

* Change name to adhere to conventions
2020-02-14 18:53:59 +00:00
modmuss50 8580ae24ad Minor enigma update 2020-02-14 18:46:57 +00:00
modmuss50 f456a4d6c7 Update stitch 2020-02-14 18:28:16 +00:00
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +00:00
liach e813b91eab ActionResult docs (#1086)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 19:05:51 +00:00
Joseph Burton 19b1318608 Motive -> Painting Motive (#1100)
* Motive -> Motif

* Update mappings/net/minecraft/entity/decoration/AbstractDecorationEntity.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* motif -> painting_motive

* Nuke last remaining motif

Co-authored-by: ­Sollace <Sollace@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-02-09 19:05:38 +00:00
Juuxel 3d99571478
Random worldgen things (#1105)
* Renamed StateProvider -> BlockStateProvider

It provides block states, and is registered in Registry.BLOCK_STATE_PROVIDER_TYPE.
Also closes #1037.

* RuleTest -> RuleTestType, AbstractRuleTest -> RuleTest

Closes #1102.

* RuleTest docs, TreeDecorator mappings

* Remove empty comment
2020-02-09 19:05:03 +00:00
liach 9b56dd3eec Networking stuff (#1096)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 14:31:14 +00:00
Juuxel 8187935ba8
Change EntityContext params from ePos to context (#1104) 2020-02-09 14:29:52 +00:00
LambdAurora fa85d97f51
Fix missing mappings. (#1101) 2020-02-09 12:17:32 +00:00
LambdAurora 58d38fa944
Add fluid mappings and fix some inconsistencies and typo. (#1095)
* Fix some inconsistencies and misspelling.

* Fix and add a lot of fluid mappings.

* Change method_15819 to canLightFire.

* Fix a typo in method Fluid#canBeReplacedWith.
2020-02-08 23:36:30 +00:00