Commit Graph

1452 Commits

Author SHA1 Message Date
Azteched 6199cacacd
Fixed Item spelling in register method (#1238) 2020-03-29 18:05:36 +01:00
­Sollace 99ba24aaaf
Remap inventories :D (#1154)
* Remap inventories :D

* @see -> see @link

* getMaxStackAmount -> getMaxCountPerStack

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

* Rename InventoryChangedListener.mapping to InventoryChangeCallback.mapping

* putStack -> setStack

* JD fixes

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

* Fix filename

* isAccessible -> canStayOpen

* isAccessible -> canStayOpen

* Update javadoc

* jd for getMaxCountPerStack

Return value jd taken from #1053 (with fixes)

* Update mappings/net/minecraft/inventory/SidedInventory.mapping

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

* canStayOpen -> canPlayerUse

* canStayOpen -> canPlayerUse

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-27 18:04:46 +00:00
liach 80aa993105
Move direction transformation and matrix3f to util math (need same package) (#1235)
move two matrices to non-client;
move two transformations to util math;
move globalpos to dynamic;
move propagator to world;
a few other util additions

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-27 15:08:10 +00:00
­Sollace 3d228282e6
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* Fixed bad names

* Determined by the call to part.render(matrix, vertices, light, overlay)
  which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)

* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
  Meanhile VertexConsumerProvider is

* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)

* This is not a render method! It sets the yaw and pitch on the skull

* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
  Not much to change there though

* These are known from EntityRenderDispatcher

* render calls renderLabelIfPresent

* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)

* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity

* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself

if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
    double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
    float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
    if (float24 > 0.0f) {
       renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
    }
}

* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby

    private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
        float float8 = radius;
        if (entity instanceof MobEntity) {
            if (((MobEntity)entity).isBaby()) {
                float8 *= 0.5f;
            }
        }

* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!

float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {

* Forgot this one

* This is all low-hanging fruit.

* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)

    @Environment(EnvType.CLIENT)
    public boolean shouldRenderFrom(double x, double y, double z) {
        double double8 = this.getX() - x;
        double double10 = this.getY() - y;
        double double12 = this.getZ() - z;
        double double14 = double8 * double8 + double10 * double10 + double12 * double12;
        return this.shouldRenderAtDistance(double14);
    }

* More things we know

* This is set by calling entity.getLeaningPitch

* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).

This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay

OverlayTexture.packUv(
	OverlayTexture.getU(animationCounter),
	OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)

* The final patches

* xrayEnabled -> isGlowing

* Commit suggestions/name changes I missed during rebase

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

* Fix typos

* yaw -> tickDelta

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

* provider -> vertexConsumers

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

* matrix -> matrices

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

* Fixed some encorrect names

* entry -> matrices

* textureU/V -> u/v

* isBanner -> isBannerBlock

* frustrum -> frustum

Co-Authored-By: Gegy <gegy1000@gmail.com>

* Fix broken/changed mappings for 20w10a

* grammar

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

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 11:06:32 +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
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
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
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
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
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 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
SuperCoder79 eedc80b174
Add Feature mappings (#1097)
* add feature mappings

* update basalt mappings

* map missing feature name

* Add random parameters

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-02-08 21:26:33 +00:00
liach c52a1b78a6 dfu and particles (#1092)
* dfu and particles

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

* Add missing particle, fix #1093

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

* Missing stuff

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

* Fix another misplaced fixer class

Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-08 10:02:51 +00:00
liach fe63d5e738
Biome internal mappings (not new biome types) (#1087)
* Biome internal mappings (not new biome types)

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

* SpecialEffects -> Effects
unpackRgb

* Better names, I guess

This time mojang teaches us 4-D cartesian plane and hyperbola

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

* Bit more stuff

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

* penalty -> distance

Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-06 20:02:39 +00:00
Joseph Burton e8a95c0d83
1.16 biome mappings (#1088)
* First pass of new biomes stuff

* Name MultiNoiseBiomeSource noise generators according to the names we chose

* Remove 2 2s

* rand -> random
2020-02-06 20:02:32 +00:00
Shnupbups 18a0bd11f1
A few 1.16 mappings (#1091)
* A few 1.16 mappings

* Update and rename WeepingVInesPlantBlock.mapping to WeepingVinesPlantBlock.mapping

* more stuff

* Wall mappings

ioly partially done, but eh

* Update and rename WallType.mapping to WallShape.mapping

* Update Properties.mapping

* Update WallBlock.mapping

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-02-06 20:02:23 +00:00
Yanis48 156e99bfac
Locatebiome stuff (#1089)
* locatebiome stuff

* HorizontalConnectingBlock from my previous pr
2020-02-05 22:05:09 +00:00
liach 50f42d6f2e
20w06a profiler mappings (#1085)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-05 18:50:55 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
Yanis48 5b3dea511f
block fixes (#1083) 2020-02-05 16:27:59 +00:00
­Sollace 1e96d04898
1.15.2 EntityRenderer changes (#1079)
* 1.15.2 EntityRenderer changes

* wtf Enigma

* Added the P

* "Swap the usage of the value first"

* See my new dog color mah!?

* "S" that ws meant to be an "S"
2020-02-02 17:23:04 +00:00
Yanis48 a39dea0083
Moved all S2C/C2S packets (#1074)
* s2c/c2s packet renamings

* splitted into subpackages
2020-02-02 17:22:46 +00:00
Pyrofab 32e934eac7
LivingEntity rendering fix (#1080)
* Entity#canSeePlayer(1) -> isInvisibleTo

* LivingEntityRenderer#method_4056(2) -> shouldRender

* LivingEntityRenderer#method_4056(2) -> isVisible

* EntityRenderer#render(3)[2 = ] -> yaw

* EntityRenderer#render(3)[3 = ] -> tickDelta

* EntityRenderer#render(3)[5 = ] -> vertexConsumers

* EntityRenderer#render(3)[6 = ] -> light

* Pick better names

* Remove overlaps

* Fix merge conflicts

* Actually remove overlap
2020-01-31 10:14:57 +00:00
liach 980c35338c
Hodgepodge mappings 1 (#1075)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-29 14:02:51 +00:00
Stuff-Stuffs 876eeae0e2 Carver mappings (#1073)
* Added seaLevel to Carver.carve

* More carver progress

* Finished? carver mappings
2020-01-24 10:12:19 +00:00
Laura S. D b7bedbb805 swap canSet(Snow|Ice) (#1070)
These correspond to the wrong methods
2020-01-24 10:11:00 +00:00
liach 4f26ca97bd Status effect stufff (#1068)
* Minor status effect stuff

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

* hiddenEffect

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

* Err

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-24 10:10:35 +00:00
liach 3c381aab9f Profiler mappings (#1066)
Missing stuff and (mainly) 3 new classes

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-22 16:03:37 +00:00
Juuxel 870a3395ab Container and ContainerScreen improvements (#1035)
* Property mappings and javadoc

* BlockContext docs

* Add javadocs, param names, stacks -> trackedStacks

* Port more changes from Container -> Menu

- (Nameable)ContainerProvider -> (Nameable)ContainerFactory
  Prevents conflicts with the ContainerProvider used in screens.

- ContainerScreen9/54 -> Generic(3x3)ContainerScreen
  To match the menu class names.

- ClientDummyContainerProvider -> SimpleNamedContainerFactory
  Closes #889.

- AbstractContainerScreen -> ContainerScreen
  Removed pointless abstract prefix.

* Fix some block methods, PlayerContainer tweaks

* Networking-related container mappings
2020-01-21 18:21:12 +00:00
haykam821 fc5dbf2128 Map method_7288 to findRespawnPosition (#1045)
* Map method_7288 to findRespawnPosition

* Map findRespawnPosition parameter names

* Change parameter mappings to suggested names

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-01-20 16:34:03 +00:00
liach 586c5b7522 Map multiplayer warning screen (#1067)
"may not be suitable for all ages"

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-19 18:40:41 +00:00
LambdAurora 60e68c5b4f Improve confusing names in entities classes. (#1058)
* Improve confusing names in entities classes.

* Small changes following the PR's review.

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

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-01-19 18:02:15 +00:00
liach ae6ab2e6e3 2 df classes and some render layer stuff (#1065)
render layer fields can be inferred
outlinevertexconsumer: better decompiled code (see ff genSources result); package level, doesn't affect mods
render layer outline: map one new package enum and change stuff to refer to outline etc.

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-19 18:01:29 +00:00
Juuxel 8c73ab03bc BlockSoundGroup.field_21214 -> HONEY (#1064) 2020-01-18 17:25:34 +00:00
modmuss50 e1303e0dc2
Map the 1.15.2 changes (#1063)
* Map the 1.15.2 changes

* Update mappings/net/minecraft/client/render/model/BakedModel.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-01-18 17:25:15 +00:00
Yanis48 1fd1bad3dc (Block) entity position fixes (#964, #998, #1046, #1061) (#1051)
* fixed things

* deserialize2 -> deserialize

* (Block) entity position fixes

* setPosition -> setPos

* fixed #1061
2020-01-17 19:48:35 +00:00
Fudge 7999d9c836 Fix up Identifier (#1059)
* Identifier#<init>(2)[1 = ] -> namespace

* Identifier#<init>(2)[2 = ] -> path

* Identifier#<init>(1)[1 = ] -> id

* +360 doc in Identifier#<init>(1)[1 = id]

* +119 doc in net/minecraft/util/Identifier

* Update Identifier.mapping

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

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

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-01-17 19:48:17 +00:00
modmuss50 f233f5a380 1.15.2-pre2 2020-01-16 15:03:24 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
LambdAurora 74918f55a7 Map method_22120 to hasMovementInput (#1056)
* ClientPlayerEntity#method_22120(0) -> hasMovementInput

* +106 doc in ClientPlayerEntity#hasMovementInput(0)
2020-01-13 12:43:54 +00:00
Yanis48 9db574b490 Mapped PistonHandler (#1052)
* fixed things

* Mapped PistonHandler

* stuck & params
2020-01-12 19:29:55 +00:00
Juuxel c4530ddcbc Use auto-generated names for registries (#1048)
* Use auto-generated names for registries

* Add back manual names for Registry.MENU and Registry.MOB_EFFECT
2020-01-12 19:29:00 +00:00
Ramid Khan d0ea038fc1 Make it obvious that method_10769 is for connecting to integrated servers (#1049) 2020-01-12 12:12:36 +00:00
comp500 d628b9539d Improved Window names (#1054)
* Improved Window names

* Update mappings/net/minecraft/client/util/Window.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-01-11 20:10:03 +00:00
haykam821 8baf7357a2 Map GameMenuScreen field and parameter to showMenu (#1044) 2020-01-11 20:01:04 +00:00
Pyrofab db8d805aa5 LivingEntity#removeStatusEffect clarification (#1050)
* LivingEntity#removeStatusEffect(1) -> removeStatusEffectInternal

* +279 doc in LivingEntity#removeStatusEffectInternal(1)

* LivingEntity#tryRemoveStatusEffect(1) -> removeStatusEffect

* +441 doc in LivingEntity#removeStatusEffect(1)

* LivingEntity#removeStatusEffect(1)[1 = effect] -> type

* LivingEntity#removeStatusEffectInternal(1)[1 = effect] -> type

* +26 doc in LivingEntity#removeStatusEffectInternal(1)
2020-01-11 16:12:49 +00:00
Pyrofab 0a3900ac22 A couple living entity mappings (#1039)
* LivingEntity#method_23883(0) -> dropXp

* LivingEntity#method_23733(1)[1 = ] -> adversary

* LivingEntity#method_23733(1) -> onKilledBy

* +227 doc in LivingEntity#onKilledBy(1)

* LivingEntity#method_23329(2) -> computeFallDamage

* LivingEntity#computeFallDamage(2)[1 = ] -> fallDistance

* LivingEntity#computeFallDamage(2)[2 = ] -> damageMultiplier

* LivingEntity#method_23328(0) -> playBlockFallSound

* LivingEntity#method_21754(0) -> isHoldingLadder

* +175 doc in LivingEntity#isHoldingLadder(0)

* LivingEntity#method_22382(0) -> shouldSpawnConsumptionEffects

* LivingEntity#method_6018(1) -> setPushCooldown

* Fix return tag

* Name PlayerEntity#clipAtLedge

* Move onKilledBy param doc

* isHoldingLadder -> isHoldingOntoLadder

* Fix param comment indent
2020-01-11 16:06:55 +00:00
Pyrofab 02ff24644f Entity tracking mappings (#1034)
* EntityTrackerEntry%field_18259 -> receiver

* EntityTrackerEntry#method_18758(1) -> sendSyncPacket

* EntityTrackerEntry#method_14306(0) -> syncEntityData

* EntityTrackerEntry#method_18756(0) -> tick

* EntityTrackerEntry%field_14040 -> trackingTick

* EntityTrackerEntry%field_18258 -> world

* EntityTrackerEntry%field_14051 -> lastTickInVehicle

* EntityTrackerEntry%lastTickInVehicle -> hadVehicle

* EntityTrackerEntry%hadVehicle -> lastInVehicle

* EntityTrackerEntry%lastInVehicle -> hadVehicle

* EntityTrackerEntry%field_18278 -> velocity

* EntityTrackerEntry%field_14043 -> updatesWithoutVehicle

* EntityTrackerEntry#method_18761(0) -> storeEncodedCoordinates

* EntityTrackerEntry#method_18759(0) -> getLastPos

* ThreadedAnvilChunkStorage$EntityTracker#updateCameraPosition(1)[1 = players] -> player

* EntityTrackerEntry#startTracking(1)[1 = <unnamed>] -> player

* EntityTrackerEntry#stopTracking(1)[1 = <unnamed>] -> player

* EntityTrackerEntry#<init>(5)[4 = <unnamed>] -> alwaysUpdateVelocity

* EntityTrackerEntry#<init>(5)[5 = <unnamed>] -> receiver

* EntityTrackerEntry#<init>(5)[1 = <unnamed>] -> world

* ThreadedAnvilChunkStorage$EntityTracker#method_22844(0) -> getMaxTrackDistance

* ThreadedAnvilChunkStorage%field_18307 -> loadedChunks

* MinecraftServer#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* MinecraftServer#tickWorlds(1)[1 = <unnamed>] -> shouldKeepTicking

* ServerWorld#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* ChunkManager#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* ThreadedAnvilChunkStorage#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* SerializingRegionBasedStorage#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* Add javadoc to EntityTrackerEntry methods
2020-01-11 15:59:41 +00:00
Pyrofab 7b6268654f Remaining StatusEffect methods (#1043)
* StatusEffect#method_5563(2) -> adjustModifierAmount

* StatusEffect#adjustModifierAmount(2)[1 = ] -> amplifier

* StatusEffect#adjustModifierAmount(2)[2 = ] -> modifier

* StatusEffect#method_5573(0) -> isBeneficial

* StatusEffect#onApplied(3)[1 = ] -> entity

* StatusEffect#onApplied(3)[2 = ] -> attributes

* StatusEffect#onApplied(3)[3 = ] -> amplifier

* StatusEffect#onRemoved(3)[1 = ] -> entity

* StatusEffect#onRemoved(3)[2 = ] -> attributes

* StatusEffect#onRemoved(3)[3 = ] -> amplifier

* StatusEffect#<init>(2)[2 = ] -> color

* StatusEffect#<init>(2)[1 = ] -> type
2020-01-11 15:59:27 +00:00
Yanis48 245ba5c444 Fixed #838, #860 and unnamed deserializers (#1040)
* fixed things

* deserialize2 -> deserialize
2020-01-08 14:35:10 +00:00
Pyrofab b9f12fb5c8 Status effect inventory rendering mappings (#1041)
* AbstractInventoryScreen#method_18642(3) -> renderStatusEffectBackgrounds

* AbstractInventoryScreen#drawPotionEffects(0) -> drawStatusEffects

* AbstractInventoryScreen#renderStatusEffectBackgrounds(3) -> drawStatusEffectBackgrounds

* AbstractInventoryScreen#renderStatusEffectSprites(3) -> drawStatusEffectSprites

* AbstractInventoryScreen#method_18644(3) -> drawStatusEffectDescriptions

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[2 = ] -> top

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[2 = top] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectBackgrounds(3)[3 = ] -> effects

* AbstractInventoryScreen#drawStatusEffectSprites(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectSprites(3)[2 = ] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectSprites(3)[3 = ] -> effects

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[1 = ] -> x

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[2 = ] -> yIncrement

* AbstractInventoryScreen#drawStatusEffectDescriptions(3)[3 = ] -> effects

* AbstractInventoryScreen#<init>(3)[2 = ] -> inventory

* AbstractInventoryScreen#<init>(3)[3 = ] -> name
2020-01-08 14:34:26 +00:00
modmuss50 88d6801de1
Fix 2 conflicts. (#1038)
ProtectionEnchantment.type conflicted with Enchantment.type
FoxEntity.wakeUp conflicted with LivingEntity.wakeUp
2020-01-07 16:56:19 +00:00
howtonotwin 805178edc7 Some potion-related names (#1032)
* Change some odd naming in Potion

* Some names in StatusEffectInstance
2020-01-07 00:55:16 +00:00
Tae Lim Kook 80cf8e5ada Names for some fields and methods in net.minecraft.data.server (#1021)
* Rename Gson fields in some classes to GSON

* Name some methods in RecipesProvider

Also a param fix in InventoryChangedCriterion's constructor.

* Rename field in LootTablesProvider

* Rename some methods in AbstractTagProvider

* Name some methods in AdventureTabAdvancementGenerator

* Rename some fields and methods for BlockLootTableGenerator

* Rename some fields and methods in EntityToolTableGenerator and EntityType

* Rename fields in FishingLootTableGenerator

These were loot condition constants checking for biomes.

* Rename fields and methods in HusbandryTabAdvancementGenerator

* method_10422 -> RecipesProvider.requireEnteringFluid

* Rename parameters to SnbtProvider.CompressedData

* Rename some fields and methods in NbtProvider

* method_10422 -> ItemListProvider#toJson

* NEED_ and REQUIRE_ -> NEEDS

* Remove 'loot table' and 'block' in BlockLootTableGenerator method names

Suggested by liach.

* Fix names in EntityLootTableGenerator to align with standards
2020-01-03 20:52:06 +00:00
Cloak-Bot ddb831ea5e Some Fluid Mappings (#1000)
* Fluid#method_20784(class_3610) -> getHeight

* FluidState#method_20785() -> getHeight

* BaseFluid#method_15741(class_3610) -> getLevel

* BaseFluid#getLevel(class_3610)[0 = <placeholder>] -> state

* BaseFluid#method_15738(class_1922 ,class_2338 ,class_2680 ,class_2350 ,class_2338 ,class_2680 ,class_3610 ,class_3611) -> canFlow

* BaseFluid#method_15725(class_1936 ,class_2338 ,class_3610) -> tryFlow

* BaseFluid#tryFlow(class_1936 ,class_2338 ,class_3610)[1 = world] -> flowTo

* BaseFluid#canFlow(class_1922 ,class_2338 ,class_2680 ,class_2350 ,class_2338 ,class_2680 ,class_3610 ,class_3611)[1 = <placeholder>] -> flowTo

* BaseFluid#tryFlow(class_1936 ,class_2338 ,class_3610)[1 = flowTo] -> waterPos

* BaseFluid#canFlow(class_1922 ,class_2338 ,class_2680 ,class_2350 ,class_2338 ,class_2680 ,class_3610 ,class_3611)[1 = flowTo] -> waterPos

* FluidState#method_15756(2) -> isSeeableFromASide

* FluidState#isSeeableFromASide(2) -> isSeeableFromASideClient

* BaseFluid#canFlow(8)[2 = <placeholder>] -> waterBlockState

* FluidState#isSeeableFromASideClient(2) -> isVisibleFromASideClient

* BaseFluid#canFlow(8)[1 = waterPos] -> fluidPos

* BaseFluid#canFlow(8)[2 = waterBlockState] -> fluidBlockState

* BaseFluid#tryFlow(3)[1 = waterPos] -> fluidPos

* BaseFluid#canFlow(8)[3 = <placeholder>] -> flowDirection

* BaseFluid#canFlow(8)[0 = <placeholder>] -> view

* BaseFluid#canFlow(8)[4 = <placeholder>] -> flowTo

* BaseFluid#canFlow(8)[5 = <placeholder>] -> flowToBlockState

* BaseFluid#tryFlow(3)[1 = fluidPos] -> worldfix

* BaseFluid#tryFlow(3)[1 = worldfix] -> world

* BaseFluid#tryFlow(3)[2 = pos] -> fluidPos

* BaseFluid#getLevel(1)[0 = state] -> stateFix

* BaseFluid#getLevel(1)[0 = stateFix] -> state

* BaseFluid#canFlow(8)[1 = fluidPos] -> blockViewFix

* BaseFluid#canFlow(8)[2 = fluidBlockState] -> blockPosFix

* BaseFluid#canFlow(8)[3 = flowDirection] -> blockStateFix

* BaseFluid#canFlow(8)[4 = flowTo] -> directionFix

* BaseFluid#canFlow(8)[5 = flowToBlockState] -> blockPos2Fix

* BaseFluid#getUpdatedState(3)[1 = <unnamed>] -> view

* BaseFluid#getLevelDecreasePerBlock(1)[1 = <unnamed>] -> view

* FluidState#isVisibleFromASideClient(2) -> isVisibleFromASide

* Update FluidState.mapping

Co-authored-by: Fudge <natan.lifsiz@gmail.com>
2019-12-30 22:16:03 +00:00
Juuxel 40f18bc4c6 Point of interest tweaks (#1017)
* Point of interest tweaks

* Fix typo in PointOfInterestRenameFix

* Remove incorrect mapping file

* Fix package name
2019-12-30 22:06:14 +00:00
Joseph Burton a6e4ebaa89 Better block state flattening mappings (#1020)
* Better flattening mappings

* Improvements to flattening mappings

* ChunkNibbleArray.isLowBits -> usesLowNibble
2019-12-30 22:05:36 +00:00
Erlend Åmdal 59dfbead00 Vector3f.reciprocal->normalize (#1027) 2019-12-30 22:04:36 +00:00
howtonotwin 25e14251a6 Correctly label the chunk ticket expiry mechanism (#1031) 2019-12-30 22:04:16 +00:00
Juuxel 3a9816bd2f Add missing BlockItem names (#1030) 2019-12-29 18:32:24 +00:00
Dan de1128c25a Change server whitelistEnabled field to reflect what it actualy does (#1024) 2019-12-27 10:49:11 +00:00
Erlend Åmdal 8bca281a33 Fix VertexConsumerProvider parameters (#1029) 2019-12-27 10:48:54 +00:00
Chocohead c7bdfa7558 Fix dodgy parameter names (#1028) 2019-12-27 10:48:15 +00:00
Tae Lim Kook d8a1bd3ec6 Quick Matrix{3,4}f and Rotation3 fixes (#1025)
* Rename Gson fields in some classes to GSON

* Quick Matrix{3,4}f and Rotation3 fixes
2019-12-26 12:36:42 +00:00
Erlend Åmdal 10fe82a496 Tiny Vector3f fixes (#1023)
* Vector3f.multiplyComponentWise -> lerp

* Vector3f.piecewiseMultiply -> multiplyComponentwise
2019-12-26 12:34:24 +00:00
­Sollace 6234131e77 Document the setBlockState method (#1003)
* Document the setBlock method

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

* Remove 0

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

* Gramatical changes

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

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2019-12-26 12:32:35 +00:00
Juuxel e7ea1ee673 ContainerLock mappings (#1004)
* ContainerLock mappings

* Fix an empty comment
2019-12-26 12:31:35 +00:00
shedaniel 644cab467a some client names and moved PageTurnWidget (#1019)
* some client names and moved PageTurnWidget

* Update mappings/net/minecraft/client/gui/screen/recipebook/RecipeAlternatesWidget.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2019-12-26 12:29:59 +00:00
Erlend Åmdal 9402c417ee Tiny quaternion fixes (#1022)
* Re-add missing quaternion mappings

* Vector4f.rotate
2019-12-26 12:27:36 +00:00
Yanis48 232787ac4e Fixes for #895 & #1014 (#1015)
* Fixes for #895 & #1014

* fixes -> fix, schemas -> schema

* Merge remote-tracking branch 'upstream/1.15.1' into 1.15.1-pre1

* Revert "Merge remote-tracking branch 'upstream/1.15.1' into 1.15.1-pre1"

This reverts commit edc34b1487.

* renamed Entity fields and methods
2019-12-26 12:26:34 +00:00
Tae Lim Kook 45d62272b8 Rename Gson fields in some classes to GSON (#1018) 2019-12-23 13:16:21 +00:00
liach f52dc8faa5 Mapped some entity logic stuff (#1013)
* Mapped some entity logic stuff

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

* Use updateCountdownTicks
2019-12-19 18:46:57 +00:00
­Sollace a312994297 Model transformation mode (#1008)
* ModelTransformation.Type -> ModelTransformation.Mode

* Transformation.NONE -> Transformation.IDENTITY
2019-12-19 18:44:07 +00:00
Fudge 59a98ca5b0 BlockBreakParticle mapping (test) (#1005)
* net/minecraft/client/particle/BlockCrackParticle -> net/minecraft/client/particle/BlockBreakParticle

* Update BlockBreakParticle.mapping

* Rename BlockBreakParticle.mapping to BlockDustParticle.mapping
2019-12-19 18:43:36 +00:00
­Sollace 3671127f16 field_21807 -> MAP_BACKGROUND (#1007)
field_21808 -> MAP_BACKGROUND_CHECKERBOARD
2019-12-17 21:23:28 +00:00
Joseph Burton 4a2fe5bd1b Make packet names consistent (#1016)
* Make packet names consistent

* Rename OpenContainerPacket -> OpenContainerS2CPacket
2019-12-17 21:22:35 +00:00
modmuss50 a6b72cef3d 1.15.1-pre1 2019-12-12 15:36:43 +00:00
valoeghese 4a1242d867 Fix some world gen mappings and map some unmapped stuff (#1002)
* Fix some mappings and map some unmapped stuff - world gen

* add a single javadoc comment

* edit jdoc

* liach requested changes

* liach's actual requested changes
2019-12-10 08:48:53 +02:00
modmuss50 a389d8528f 1.15-pre7 2019-12-09 12:54:41 +00:00
­Sollace 0192eb0e67 FirstPersonRenderer -> HeldItemRenderer (#991)
* Update all the mappings for ItemRenderer and FirstPersonItemRenderer

* FirstPersonRenderer -> HeldItemRenderer

* Apply suggestions from code review

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

* Revert `vertexConsumers` -> `provider

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

* Typo

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

* matrix -> matrices (part 2)

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

* vertices -> vertexConsumers (part 2)

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

* transformation -> transformationType

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

* Item -> item

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-12-08 18:08:24 +00:00
Shnupbups 7321f6c54f Last minute bee stuff (#999)
* bee stuff

* Rename BeeHiveBlock.mapping to BeehiveBlock.mapping

* Rename BeeHiveBlockEntity.mapping to BeehiveBlockEntity.mapping

* Update mappings/net/minecraft/block/entity/BlockEntity.mapping

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

* Update mappings/net/minecraft/block/entity/BlockEntity.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
2019-12-08 18:08:08 +00:00
modmuss50 946346c722 1.15-pre6 - 1 lost inner class 2019-12-06 13:08:36 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +00:00
modmuss50 7b3a61d763 1.15-pre5 2019-12-05 14:03:01 +00:00
liach 805396c016 1.15 pre4 1 (#994)
* Some missing fields

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

* Few more stuff

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

* Remove problematic jd info
2019-12-04 23:00:17 +00:00
modmuss50 b3d3023795 1.15-pre4 2019-12-03 13:35:46 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
­Sollace 018b4f2cda Quarternion mappings (#972)
* Mapped some missing names in Vector3f and Quaternion

* Mapped WorldRenderer and most of RenderLayer
2019-12-02 13:49:14 +00:00
valoeghese 8545f04438 Finish DefaultBiomeFeatures mappings and some other stuff (#993) 2019-12-02 13:48:38 +00:00
Runemoro 966033b532 More rendering mappings (#986)
* More rendering mappings

* Even more rendering mappings

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

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

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

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

* Fix HashStrategy removed in last PR

* Fixes by liach
2019-12-02 13:47:40 +00:00
liach 5bebf85492 pre3 new classes (#989)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-29 20:40:18 +00:00
modmuss50 cdad304f12 1.15-pre3 2019-11-28 19:19:28 +00:00
Runemoro bf81b47a6b Rendering mappings (#985)
* Rendering mappings

* Undo ColorResolver -> ColorProvider, it's an unobfuscated class!

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Fixes by liach

* Fix
2019-11-26 23:53:20 +00:00
valoeghese b3ce1dd168 more world gen mappings, fix some names, refactor some biome source related stuff (#983)
* more world gen mappings and fix some names

* update pr. refactor some stuff
2019-11-26 08:42:27 +00:00
liach d0f836da8e Some stuff for 1.15 pre 1 and pre2 (#980)
* Some stuff for 1.15 pre 1

wood type or sign type? it is only used by signs.

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

* A few more stuff

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

* bits of stuff

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

* Call it a sign type

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

* More stuff and refactors per suggestion

* More bits

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

* Missed the one i need to map

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

* You like dual better

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

* Update mappings/net/minecraft/client/texture/SpriteAtlasTexture.mapping

* 😓

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

* Some pre2 stuff as well
2019-11-25 20:12:08 +00:00
modmuss50 85d87033da 1.15-pre2 2019-11-25 19:17:49 +00:00
Runemoro 35d803542c Model part mappings (#982)
* Model part mappings

* Fix

* Suggestions by liach

* Fix
2019-11-25 13:58:59 +00:00
valoeghese ffb857ca3b Map some mostly world gen stuff (#975)
* map some mostly world gen stuff

* suggested changes and be more consistent

* more tree stuff named and other stuff

* update field mapping to suggested
2019-11-24 10:52:54 +00:00
Runemoro 898fb4c9be Bee mappings (#981) 2019-11-24 01:18:13 +00:00
modmuss50 a2adfae9eb Remove a conflicting method
This time on the right branch
2019-11-21 19:43:37 +00:00
modmuss50 dd646e04ca Fix mappings 2019-11-21 19:33:39 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
Runemoro e3d8e32070 SortedArraySet mappings (#973)
* SortedSet mappings

* getFirst -> first to match java.util.SortedSet name

* SortedArraySet
2019-11-21 13:06:44 +00:00
Chloe Dawn f23aebae1f Improve game rule mappings (#968) 2019-11-21 13:06:28 +00:00
­Sollace abe91b29fa Mapped several things across all the modelling classes and renderers (#799)
* WeightedBakedModel.ModelEntry -> WeightedBakedModel.Entry

* Json ModelElement

* Mapped CubeFace
field_3958 -> DIRECTION_LOOKUP
method_3163 -> getFace

* Vector4f

* Vector4f.method_4929 -> Vector4f.viewboxMatrix

* Mapped BakedQuadFactory

* Resource reload listener

* ModelLoader
ModelLoader.class_4455 -> ModelLoader.ModelDefinition (as hinted by Mojang)

* field_20848 -> BLOCK_DESTRUCTION_STAGES
BLOCK_BREAKING_STAGES -> BLOCK_DESTRUCTION_STAGE_TEXTURES

* BakedModel
deserialize -> deserialize (where's the synthetic?)

* Back to this I guess.

* These mappings were lost in the rebase. :/

* getLightBrightness -> getRelativeDirectionalBrightness
getBrightnessInteger -> getLightmapCoordinate

* Mapped some incidental names relating to Sprite
2019-11-19 15:19:05 +00:00
liach ec47b4448e 45b new stuff and a few fixed entity methods from 45a (#959)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-19 14:28:00 +00:00
­Sollace e1ee50dbb4 Corrected the TextRenderer parameter names (#967)
* Mapped TextRenderer

* Fix typo

AAAAAAAAAAAAAAAAHHHHHHHHHOOOOOMMMMMMYYYYGOOOOOOOOOOOOOO

* str -> text

* More parameter mappings
2019-11-19 14:23:01 +00:00
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
­Sollace 9b09c7929c Rename the body parts to be more descriptive (#950)
* Rename the body parts to be more descriptive

* unmap "accept" method

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

* Mapped the quadrupedal model fields

* StrayEntityModel -> SkeletonEntityModel

* Map parameters
2019-11-18 13:11:10 +00:00
­Sollace a57b0d7cba New vector and direction methods (#961) 2019-11-18 11:36:11 +00:00
­Sollace 6b125213ce Mapped PlayerSkinTexture (#962)
* Mapped PlayerSkinTexture

* Update mappings/net/minecraft/client/texture/PlayerSkinTexture.mapping

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

* resManager -> manager
2019-11-18 11:35:41 +00:00
modmuss50 2956fad80d 19w46b 2019-11-14 14:49:10 +00:00
liach 1075e2fd3f 46a new stuff (#955)
* 46a new stuff

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

* render

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-13 19:59:16 +00:00
modmuss50 a867725a7f 19w46a 2019-11-13 17:34:56 +00:00
­Sollace cc2479fee6 Player-suggested changes (#949) 2019-11-12 18:55:47 +00:00