Commit Graph

235 Commits

Author SHA1 Message Date
LambdAurora fd85633178
Unpick lightmap constants. (#2595)
* Unpick lightmap constants.

* Update unpick-definitions/lightmap_coordinates.unpick

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:54:03 +01:00
ByMartrixX 552595f20f
Some entity renderer and model mappings (#2566)
* Some entity renderer and model mappings

* More mappings

* Update mappings, add some parameters
2021-07-13 03:05:29 +00:00
frqnny 1b8645d951
Rename names around Fireworks to match FireworkRocket (#2556)
* Rename FireworkRocketEntity to FireworkEntity

* Fix requested changes

* Rename FireworkChargeItem to FireworkStarItem

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:26 +01:00
YanisBft 86a0f7ffb8
Some client mappings (#2481)
* Some client mappings

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-09 00:16:31 +01:00
liach e8461bf968
return inlining, up to enchantment package (#2461)
* return inlining, up to enchantment package

see #2454

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

* Apply suggestions from code review

Typos

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:40:13 +01:00
LambdAurora a0ec4231f8
Entity and entity models documentations (#2431)
* Map some axolotl stuff and start work on entity and entity models documentation.

* Improve entity models documentation.

* Update mappings/net/minecraft/client/model/Model.mapping

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

* More entity model documentation.

* Axolotl brain and tasks.

* Update mappings/net/minecraft/client/render/entity/model/CatEntityModel.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-05-29 11:52:11 +01:00
Shnupbups fd0d13ce44
21w20a stuff (#2417)
* 21w20a stuff

* Apply suggestions from code review

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

* AngledModelEntity

idk about the name but eh

* Update HoeItem.mapping

* Update FoodComponent.mapping

* stuff

* Update ItemCooldownManager.mapping

* Revert "Merge branch '21w20a-stuff' of https://github.com/Shnupbups/yarn into 21w20a-stuff"

This reverts commit 494e736d32, reversing
changes made to c481e02b48.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-24 14:46:09 +01:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
haykam821 1317eb48c0
Make the parameter for equals methods consistent (#2361)
* Make the parameter for equals methods consistent

Fixes #2299

* Add conventions for the correct parameter for equals methods
2021-04-29 17:12:46 +01:00
­Sollace e1aec798d8
Map various render buffer / buffer builder internals (#2324)
* Map various render buffer / buffer builder internals

* Further mappings + added some names from #2312 (@liach)

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-18 13:03:07 +00:00
haykam821 5ab745bc99
Map marker entities (#2326)
* Map marker entities

* Reword the documentation for the EmptyEntityRenderer class to highlight that it does not render anything

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-15 12:41:25 +01:00
modmuss50 9ac44da9db 21w15a 2021-04-14 18:18:43 +01:00
haykam821 fbad72f5e9
Remove unnecessary paragraph end tags from documentation (#2295)
* Remove unnecessary paragraph end tags from documentation

* Update mappings/net/minecraft/item/Item.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:07 +01:00
Shnupbups 19c661296a
more 21w14a stuff (#2300)
* stuff

mostly client stuff

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-10 18:09:14 +01:00
LambdAurora 3d45004495
Map some stuff in entity models. (#2267)
* Map some stuff in entity models.

* Update mappings/net/minecraft/client/render/entity/model/ModelWithHat.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-04-03 13:30:15 +01:00
YanisBft da26f6b3ba
Entity model part constants (#2222)
* Entity model part constants

* "constants" -> "names"

* add target methods but it still doesn't work

* add even more target methods, but it still still doesn't work

* finally (thx liach)
2021-04-03 09:34:51 +01:00
Alexander 56d442309e
Goat mappings (#2220)
* Goat mappings

* Fix Goat renderer and model packages
2021-04-01 13:21:58 +01:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 2b7b0f411f
render (#1972) 2021-01-23 21:21:31 +00:00
YanisBft 85fa278887
21w03a stuff (#1964)
* 21w03a stuff

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-01-22 13:36:31 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
Shnupbups b9d56158e5
20w51a things (#1918)
* stuff

haha yes

* buckets

* sleeping gamerule thing

* haha yes

* haha yes

* Update mappings/net/minecraft/item/ItemUsage.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* stuff

* things

* whoop

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/world/dimension/DimensionType.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/world/dimension/AreaHelper.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-31 14:22:27 +00:00
YanisBft 992926dd04
Fix javadocs and update Enigma (#1937)
* Fix javadocs and update Enigma

* oops
2020-12-25 23:25:28 +00:00
Shnupbups b06cc505e0
48a things (#1894)
* 48a things

* stuff

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* just to get checks running again

* Revert "just to get checks running again"

This reverts commit 509ab81d80.

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-12-03 19:50:38 +00:00
­Sollace c0a046c665
Model part names (#1900)
* Update all the models fields that come from Mojang's json code

* Unswap tailAngle and spikeExtension fields

* Fill in missing names in MathHelper

* Apply suggestions from code review

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* More code review fixes

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 13:51:45 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00
Thalia Nero e0df01cad6
Entity rendering (#1861)
* Map entity model classes.

* Map new stuff in entity renderers.

* - EntityModelParts -> EntityModels
- ModelPartGroup -> ModelPartData
- ModelPartData -> ModelPartDataNode
- TexturedModelPartGroup -> TexturedModelPartData

* Apply suggestions from code review

Co-authored-by: Gegy <gegy1000@gmail.com>

* Apply other suggestions

* Update mappings/net/minecraft/client/model/TexturedModelData.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Remap *PartData -> *ModelData, move Dilation to client.util.math

* Update crobbed mapping.

Co-authored-by: Gegy <gegy1000@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-12 08:57:40 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
YanisBft bbf3086597
Misc things (#1862) 2020-11-08 14:35:59 +00:00
Shnupbups 1e46390347
20w45a things (#1833)
* Things

* Update AbstractCauldronBlock.mapping

* a few more things

* Create EntityModelLayers.mapping

* Update MinecraftVersion.mapping

* Update Oxidizable.mapping
2020-11-06 14:24:34 +00:00
LambdAurora b44b26d435
Add entity mappings (#1829)
* Add entity mappings

* Add javadoc to dismountVehicle.
2020-11-05 09:41:29 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
YanisBft fa6bfa04c2
Entity model things (#1759)
* Entity model things

* Update TurtleEntityModel.mapping
2020-10-01 23:33:31 +01:00
Yanis48 70b1474a32
Random client mappings (#1616)
* Random client mappings

* Update MinecraftClient.mapping

* Update gradle.properties
2020-07-29 01:40:12 +01:00
haykam821 a83a057fe4
Map unmapped fields that have getter methods (#1612)
* Map unmapped fields that have getter methods

* Fix the parts field in GhastEntityModel using the same name as its getter method

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

* Update outdated getter method names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-27 19:44:57 +01:00
Yanis48 4b5dadbafa
Quick fixes (#1534)
* Quick fixes

* Update EntryListWidget.mapping
2020-07-05 13:45:54 +01:00
shartte 760883751e
Mappend rendering flashing TNT blocks (#1532)
Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-02 11:52:31 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
modmuss50 a4305ccae9 1.16-pre8 2020-06-17 17:11:43 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 ef74eec9c1 20w19a 2020-05-06 18:28:56 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
Shnupbups 558487a1c0
i mapped things: HD remaster (#1271)
* some stuff HD remaster

* Update mappings/net/minecraft/world/biome/BasaltDeltaBiome.mapping

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

* Delta -> Deltas

* Apply suggestions from code review

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-14 15:01:16 +01:00
liach 159546e8cd
Map some 20w15a new classes (entities, enchantments) (#1269)
* Map some 20w15a new classes (entities, enchantments)

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

* Some javadocs

* Just refer by id

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

* Fix bad class name

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-08 21:48:41 +01:00
Shnupbups 5ef7ccfb9b
some 14a stuff (#1251)
* some 14a stuff

* Apply suggestions from code review

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>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-03 20:11:08 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01: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
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 a068df5d3d 20w13a 2020-03-25 17:49: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
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 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
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
Yanis48 168d6b23ec
Random fixes (#1162) 2020-03-08 22:14:25 +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 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +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
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
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +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
­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
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
­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
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
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
Runemoro 35d803542c Model part mappings (#982)
* Model part mappings

* Fix

* Suggestions by liach

* Fix
2019-11-25 13:58:59 +00:00
modmuss50 a2adfae9eb Remove a conflicting method
This time on the right branch
2019-11-21 19:43:37 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +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
modmuss50 a867725a7f 19w46a 2019-11-13 17:34:56 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Runemoro 630bd1451b Refactor rendering (#930)
* Refactor rendering

* Revert #929 and map more things

* Fixes by liach

* Revert bufferBuilder -> buffer in fields too

* Fixes

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

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

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

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

* Suggestions by Player

* Fix some debug renderer names

* More mappings

* Fix

* Fixes by Player

* Improve BufferBuilderStorage names
2019-11-07 18:03:04 +00:00
liach 02908445ab Mapped all top-level classes (#934)
* Mapped all top-level classes

No more obfuscated top-level class

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

* Mapping inner classes (Still some left)

These to go:
net/minecraft/datafixers/fixes/LeavesFix$class_1192
net/minecraft/structure/NetherFortressGenerator$class_3404
net/minecraft/structure/OceanMonumentGenerator$class_3367
net/minecraft/structure/OceanMonumentGenerator$class_3368
net/minecraft/structure/OceanMonumentGenerator$class_3369
net/minecraft/structure/OceanMonumentGenerator$class_3370
net/minecraft/structure/OceanMonumentGenerator$class_3371
net/minecraft/structure/OceanMonumentGenerator$class_3372
net/minecraft/structure/OceanMonumentGenerator$class_3373
net/minecraft/structure/OceanMonumentGenerator$class_3375
net/minecraft/structure/OceanMonumentGenerator$class_3388
net/minecraft/structure/StrongholdGenerator$class_3427
net/minecraft/structure/StrongholdGenerator$class_3466
net/minecraft/structure/Structure$class_3500
net/minecraft/structure/WoodlandMansionGenerator$class_3478

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

* Update StructurePoolBasedGenerator.mapping

* Fixes as suggested by @Runemoro

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:51:27 +00:00
modmuss50 bf6fdd7195 19w44a 2019-10-30 16:28:24 +00:00
liach 6fa1e34c83 19w42a rendering and layers etc (#917)
* 19w42a rendering and layers etc

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

* Stage changes

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

* stuff stuff stuff

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

* fixed color

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

* Banner Pattern "Patterns"

Patterns name see https://minecraft.gamepedia.com/Banner#Block_entity

* Some more changes

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

* Add 2 mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-30 16:15:03 +00:00
Siphalor 194e42daff Mapped entity rendering methods/classes & options screens (#913)
* Mapped entity rendering methods and classes & options screens

* Fixed Knit's issues and implemented liach's suggestions

* Removed strange leftover obf stubs (I blame Knit)

* Mapped some more stuff from AnimalModel

* Adapt some stuff from Runemoro

* Some more Runemoro

* Another two fixes

* Unmap unobfuscated mapping

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

* Shorten dragon

by liach

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

* Shorten biped model

by liach

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

* Shorten another biped model

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-25 09:02:48 +01:00
Shnupbups 68328eddc5 Some new stuff (#903) 2019-10-09 20:35:45 +01:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
Runemoro 04ad11fed6 Rendering mappings (#897)
* Rendering mappings

* Remove duplicate class

* Suggestions by liach and juuxel

* Unmap inferred field and move to better package
2019-10-09 17:43:46 +01:00
biom4st3r f8dec9497e Iron Golem Model Mappings (#900) 2019-10-09 07:36:31 +01:00
modmuss50 a642ad93e7 19w40a 2019-10-02 15:28:28 +01:00
modmuss50 cec1663f54 Fix inner class name 2019-09-27 17:27:32 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
modmuss50 84adfb1d6c Merged #825
Squashed commit of the following:

commit ce2f24233b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Wed Aug 28 20:43:17 2019 +0100

    Fix typo

commit ba7ca63d44
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Fri Aug 23 00:42:05 2019 +0100

    Fix typo + missing rename from previous commit

commit c63132b3b8
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Fri Aug 23 00:37:33 2019 +0100

    Rename variable names in 'natural language order'

commit b5c1f164f8
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:33:09 2019 +0100

    class_597 METHOD init ARG 2 -> scale

commit 728bec6b41
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:31:06 2019 +0100

    class_597 METHOD init ARG 1 -> ySize

commit d3dc2b2ee3
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:26:33 2019 +0100

    method_2800 -> getHead

commit d1aca82776
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:25:30 2019 +0100

    field_3356 -> finRight

commit ca9476050e
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:25:09 2019 +0100

    field_3351 -> finLeft

commit a88727b5ab
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:21:28 2019 +0100

    field_3355 -> finTop

commit 1abd1bd4bc
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:19:49 2019 +0100

    field_3350 -> finTail

commit 8b2faed2cf
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:13:05 2019 +0100

    field_3352 -> mouth

commit 4162946189
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:09:36 2019 +0100

    field_3354 -> head

commit 62ea7ab62f
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:08:36 2019 +0100

    field_3353 -> body

commit 84aeb8284b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:04:36 2019 +0100

    field_3347 -> wingRight

commit 394c90e230
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:04:03 2019 +0100

    field_3341 -> wingLeft

commit 9e177b49a6
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:01:56 2019 +0100

    field_3343 -> legRight

commit cf37239d25
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 05:01:22 2019 +0100

    field_3345 -> legLeft

commit 5b16409623
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:58:24 2019 +0100

    field_3346 -> body

commit 41157a8d86
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:55:20 2019 +0100

    field_3342 -> wattle

commit 036c309d3b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:52:43 2019 +0100

    field_3340 -> beak

commit cc948d7ca9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:48:21 2019 +0100

    method_2798 -> getLid

commit a4bba1e1f0
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:47:17 2019 +0100

    method_2799 -> render

commit 21fc1342cf
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:45:52 2019 +0100

    class_582 METHOD init ARG 1 -> scale

commit b60f47e4f1
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:35:08 2019 +0100

    method_17073 ARG 6 -> scale

commit f5821fd949
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:33:51 2019 +0100

    method_17072 ARG 6 -> scale

commit 3f59c2482d
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:27:34 2019 +0100

    method_2836 ARG 7 -> scale

commit b3308599e8
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:24:01 2019 +0100

    field_3326 -> bottom

commit 50501302e9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:03:07 2019 +0100

    field_3328 -> rods

commit 9b019bd627
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 04:00:18 2019 +0100

    field_3329 -> head

commit 94954e9dc5
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:58:14 2019 +0100

    field_3318 -> part2

commit e0da88d86a
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:57:41 2019 +0100

    field_3316 -> part1

commit f91e3b2473
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:52:49 2019 +0100

    field_3317 -> legs

commit a7b2e36c57
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:52:12 2019 +0100

    method_2795 ARG 1 -> visible

commit 2ee962f9d9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:48:12 2019 +0100

    field_3324 -> wingLeftTip

commit 6c89361dea
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:47:38 2019 +0100

    field_3319 -> wingRightTip

commit 18289d89b9
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:45:57 2019 +0100

    field_3320 -> wingLeft

commit b7cfac8702
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:43:41 2019 +0100

    field_3322 -> wingRight

commit 66203f9137
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:39:49 2019 +0100

    field_3323 -> body

commit d8344db158
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:39:19 2019 +0100

    field_3321 -> head

commit e5c8a26170
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:17:37 2019 +0100

    method_2793 -> render

commit 5a86e9f41a
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:15:37 2019 +0100

    method_2792 -> getBanner

commit f6b577fe9b
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:14:42 2019 +0100

    method_2791 -> getStickVertical

commit 2d53a588f3
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:13:21 2019 +0100

    field_3310 -> stickHorizontal

commit 42c6c02edb
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:11:47 2019 +0100

    field_3311 -> stickVertical

commit 4117732d33
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 03:10:13 2019 +0100

    field_3309 -> banner

commit 9cf06abcbb
Author: YummyLoop <12478030+YummyLoop@users.noreply.github.com>
Date:   Mon Aug 19 02:59:03 2019 +0100

    method_17790 -> isAttacking
2019-09-12 14:36:00 +01:00
Runemoro 35891f155e Map some new 19w34a classes (#831)
* Map some new 19w23a classes

* Fixes

* Fix typo

* Drop methods that are gone
2019-09-01 16:21:31 +01:00
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
NinjaPhenix 0db729b674 Updates ChestEntityModel Mapping (#835) 2019-08-27 14:09:26 +01:00
Shnupbups 80e8183975 Begin 19w34a mappings (#828)
* Begin 19w34a mappings

* more stuff

* More stuff

* stuff

* stuff again

* Update EntityRenderer.mapping

* x

* Finish mapping and modify BeeEntity, name string damagesource, map bee model

* Fix typo in class_1282 method 21748

* Update BeeEntity.mapping

* Update BeeHiveBlockEntity.mapping

* more stuff
2019-08-25 15:18:10 +00:00
João 82ebc4eecd ArmorStandEntityModel + CrepperEntityModel + some related mappings (#824)
* Set limbs and scale mappings

* Add mappings to ArmorStandEntityModel and some associated
2019-08-22 21:26:26 +01:00
modmuss50 5695254f64 19w34a 2019-08-22 14:39:40 +01:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00