-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
index.html
951 lines (892 loc) · 51.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
<!DOCTYPE html>
<html lang="en">
<head>
<title>MineRender - quick, easy, interactive Minecraft renders - Skins, Blocks, Items & more</title>
<link id="favicon" rel="icon" href="https://minerender.org/favicon.ico"/>
<!-- SEO -->
<meta name="keywords" content="minerender,skinrender,skin,block,item,gui,3d,inventory,minecraft">
<meta name="description" content="MineRender provides really easy ways to add interactive 3D Minecraft renders of Skins, Blocks, Items and more to your website.">
<meta name="author" content="inventivetalent">
<meta property="og:type" content="website">
<meta property="og:title" content="MineRender">
<meta property="og:image" content="https://minerender.org/img/minerender-x256.png">
<meta property="og:description" content="MineRender provides really easy ways to add interactive 3D Minecraft renders of Skins, Blocks, Items and more to your website.">
<meta property="twitter:title" content="MineRender">
<meta property="twitter:image" content="https://minerender.org/img/minerender-x256.png">
<meta property="twitter:description" content="MineRender provides really easy ways to add interactive 3D Minecraft renders of Skins, Blocks, Items and more to your website.">
<meta property="twitter:creator" content="@Inventivtalent">
<meta property="twitter:card" content="summary">
<!-- Theme Color (https://stackoverflow.com/questions/26960703/how-to-change-the-color-of-header-bar-and-address-bar-in-newest-android-chrome-v) -->
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#3f51b5">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#3f51b5">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#3f51b5">
<!-- /Theme Color -->
<meta name="flattr:id" content="okelw0">
<!-- Style -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/css/materialize.min.css" integrity="sha256-mkKV3FUh67dtli09bVbaYyM1526XgR92cz1uKarE1jo=" crossorigin="anonymous"/>
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.8.3/themes/prism.min.css" integrity="sha256-DJJDQyzflMYiUb2jX3gilm9m3gAkHPC4WLv9BAk4rTE=" crossorigin="anonymous"/>-->
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.8.3/themes/prism.min.css" integrity="sha256-DJJDQyzflMYiUb2jX3gilm9m3gAkHPC4WLv9BAk4rTE=" crossorigin="anonymous">
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name="fragment" content="!">
<base href="/">
<style>
.skinContainer {
height: 60vh;
display: block;
margin: 0 auto;
}
.skinContainer > img {
height: 50vh;
padding: 10vh 5vh 5vh;
}
.blockContainer {
height: 30vh;
display: block;
margin: 0 auto;
}
.blockContainer > img {
height: 30vh;
padding: 10vh 5vh 5vh;
}
.itemContainer {
height: 30vh;
display: block;
margin: 0 auto;
}
.itemContainer > img {
height: 30vh;
padding: 10vh 5vh 5vh;
}
.guiContainer {
height: 55vh;
display: block;
margin: 0 auto;
}
.guiContainer > img {
height: 50vh;
padding: 10vh 5vh 5vh;
}
.recipeContainer {
height: 30vh;
display: block;
margin: 0 auto;
}
.recipeContainer > img {
height: 35vh;
padding: 10vh 5vh 5vh;
}
.shadow > canvas {
-webkit-filter: drop-shadow(5px 5px 5px #222);
filter: drop-shadow(5px 5px 5px #222);
}
.pull-right {
float: right;
}
</style>
<!-- Hotjar Tracking Code for https://minerender.org -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:1028304,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-2604356629473365",
enable_page_level_ads: true
});
</script>
</head>
<body>
<main>
<br/>
<br/>
<div class="section" id="header">
<div class="container">
<div class="row center">
<div style="margin-bottom:-30px;">
<picture draggable="false">
<source type="image/svg+xml" srcset="/img/minerender.svg">
<source type="image/webp" srcset="/img/minerender-x256.webp">
<img src="/img/minerender-x256.png" draggable="false" width="256" height="256" alt="MineRender Logo">
</picture>
</div>
<h1 class="header center indigo-text">MineRender</h1>
</div>
<div class="row center">
<h4>Quick, Easy, Interactive 3D/2D Renders of Minecraft</h4>
<h5>Skins, Blocks, Items, GUIs and more</h5>
</div>
<div class="row center">
<a href="#getting-started" class="btn-large waves-effect waves-light blue">Get Started</a>
</div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="skins">
<div class="row">
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender skins -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="6916357099"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="col s8">
<div class="row center">
<h3 class="indigo-text darken-1" style="margin-bottom: -5px;">Skins</h3>
</div>
<div class="row">
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="skinContainer shadow" id="skinExample1">
<img src="/img/minerender_steve_gray.png" id="skinPlaceholder1">
</div>
<pre id="skinName1"></pre>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="skinContainer shadow" id="skinExample2">
<img src="/img/minerender_steve_gray.png" id="skinPlaceholder2">
</div>
<pre id="skinName2"></pre>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="skinContainer shadow" id="skinExample3">
<img src="/img/minerender_steve_gray.png" id="skinPlaceholder3">
</div>
<pre id="skinName3"></pre>
</div>
</div>
</div>
</div>
<div class="row center">
<a href="#skins" class="btn waves-effect waves-light blue lighten-1 skinInstructions" id="skinInstructions">How To</a>
</div>
<div class="row center">
<a href="/demo/skin" target="_blank" class="btn waves-effect waves-light indigo lighten-1">Interactive Demo</a>
</div>
</div>
<div class="col s2"></div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="blocks">
<div class="row">
<div class="col s2"></div>
<div class="col s8">
<h3 class="center indigo-text darken-1">Blocks</h3>
<div class="row">
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="blockContainer shadow" id="blockExample1">
<img src="/img/minerender_block_gray.png" id="blockPlaceholder1">
</div>
<a target="_blank" rel="noopener">
<pre id="blockName1"></pre>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="blockContainer shadow" id="blockExample2">
<img src="/img/minerender_block_gray.png" id="blockPlaceholder2">
</div>
<a target="_blank" rel="noopener">
<pre id="blockName2"></pre>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="blockContainer shadow" id="blockExample3">
<img src="/img/minerender_block_gray.png" id="blockPlaceholder3">
</div>
<a target="_blank" rel="noopener">
<pre id="blockName3"></pre>
</a>
</div>
</div>
</div>
</div>
<div class="row center">
<a href="#blocks" class="btn waves-effect waves-light blue lighten-1 blockInstructions" id="blockInstructions">How To</a>
</div>
<div class="row center">
<a href="/demo/model" target="_blank" class="btn waves-effect waves-light indigo lighten-1">Interactive Demo</a>
</div>
</div>
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender blocks -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="5062604976"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="items">
<div class="row">
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender items -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="4885090129"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="col s8">
<h3 class="center indigo-text darken-1">Items</h3>
<div class="row">
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="itemContainer shadow" id="itemExample1">
<img src="/img/minerender_block_gray.png" id="itemPlaceholder1">
</div>
<a target="_blank" rel="noopener">
<pre id="itemName1"></pre>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="itemContainer shadow" id="itemExample2">
<img src="/img/minerender_block_gray.png" id="itemPlaceholder2">
</div>
<a target="_blank" rel="noopener">
<pre id="itemName2"></pre>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="itemContainer shadow" id="itemExample3">
<img src="/img/minerender_block_gray.png" id="itemPlaceholder3">
</div>
<a target="_blank" rel="noopener">
<pre id="itemName3"></pre>
</a>
</div>
</div>
</div>
</div>
<div class="row center">
<a href="#items" class="btn waves-effect waves-light blue lighten-1 itemInstructions" id="itemInstructions">How To</a>
</div>
<div class="row center">
<a href="/demo/model" target="_blank" class="btn waves-effect waves-light indigo lighten-1">Interactive Demo</a>
</div>
</div>
<div class="col s2"></div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="entities">
<div class="row">
<div class="col s2"></div>
<div class="col s8">
<h3 class="center indigo-text darken-1">Entities</h3>
<div class="row">
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="entityContainer shadow" id="entityExample1">
<img src="/img/minerender_block_gray.png" id="entityPlaceholder1">
</div>
<pre id="entityName1"></pre>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="entityContainer shadow" id="entityExample2">
<img src="/img/minerender_block_gray.png" id="entityPlaceholder2">
</div>
<pre id="entityName2"></pre>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="entityContainer shadow" id="entityExample3">
<img src="/img/minerender_block_gray.png" id="entityPlaceholder3">
</div>
<pre id="entityName3"></pre>
</div>
</div>
</div>
</div>
<div class="row center">
<a href="#entities" class="btn waves-effect waves-light blue lighten-1 entityInstructions" id="entityInstructions">How To</a>
</div>
</div>
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender entities -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="9822131150"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="guis">
<div class="row">
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender inventories -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="1472458721"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="col s8">
<h3 class="center indigo-text darken-1">GUIs & Inventories</h3>
<div class="row">
<div class="col s12 m6">
<div class="card-panel hoverable">
<div class="center">
<div class="guiContainer shadow" id="guiExample1">
<img src="/img/minerender_block_gray.png" id="guiPlaceholder1">
</div>
</div>
</div>
</div>
<div class="col s12 m6">
<div class="card-panel hoverable">
<div class="center">
<div class="guiContainer shadow" id="guiExample2">
<img src="/img/minerender_block_gray.png" id="guiPlaceholder2">
</div>
</div>
</div>
</div>
</div>
<div class="row center">
<a href="#guis" class="btn waves-effect waves-light blue lighten-1 guiInstructions" id="guiInstructions">How To</a>
</div>
</div>
<div class="col s2"></div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="recipes">
<div class="row">
<div class="col s2"></div>
<div class="col s8">
<h3 class="center indigo-text darken-1">Recipes</h3>
<div class="row">
<div class="col s12 m6">
<div class="card-panel hoverable">
<div class="center">
<div class="recipeContainer shadow" id="recipeExample1">
<img src="/img/minerender_block_gray.png" id="recipePlaceholder1">
</div>
</div>
</div>
</div>
<div class="col s12 m6">
<div class="card-panel hoverable">
<div class="center">
<div class="recipeContainer shadow" id="recipeExample2">
<img src="/img/minerender_block_gray.png" id="recipePlaceholder2">
</div>
</div>
</div>
</div>
</div>
<div class="row center">
<a href="#recipes" class="btn waves-effect waves-light blue lighten-1 recipeInstructions" id="recipeInstructions">How To</a>
</div>
</div>
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender recipes -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="5623456721"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
<br/>
<br/>
<div class="section" id="structures">
<div class="row">
<div class="col s2"></div>
<div class="col s8">
<h3 class="center indigo-text darken-1">Structures/Schematics</h3>
<div class="row center">
<a href="/test/structure.html" target="_blank" class="btn waves-effect waves-light indigo lighten-1">Demo</a>
</div>
</div>
<div class="col s2">
</div>
</div>
</div>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="resourcepacks">
<div class="row">
<div class="col s2">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- minerender resourcepacks -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2604356629473365"
data-ad-slot="2602116682"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="col s8">
<h3 class="center indigo-text darken-1">Resource Packs</h3>
<div class="row">
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="blockContainer shadow" id="resourcepackExample1">
<img src="/img/minerender_block_gray.png" id="resourcepackPlaceholder1">
</div>
<a target="_blank" rel="noopener">
<pre id="resourcepackName1"></pre>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="blockContainer shadow" id="resourcepackExample2">
<img src="/img/minerender_block_gray.png" id="resourcepackPlaceholder2">
</div>
<a target="_blank" rel="noopener">
<pre id="resourcepackName2"></pre>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel hoverable">
<div class="center">
<div class="blockContainer shadow" id="resourcepackExample3">
<img src="/img/minerender_block_gray.png" id="resourcepackPlaceholder3">
</div>
<a target="_blank" rel="noopener">
<pre id="resourcepackName3"></pre>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="col s2"></div>
</div>
</div>
<br/>
<br/>
<br/>
<div class="divider"></div>
<div class="section" id="getting-started">
<div class="container">
<h3 class="center indigo-text darken-2" style="margin-bottom: -15px;">Getting Started</h3>
<h5 class="center">with</h5>
<div class="row center">
<a href="#skins" class="btn waves-effect waves-light blue lighten skinInstructions">Skins</a>
<a href="#blocks" class="btn waves-effect waves-light blue lighten blockInstructions">Blocks</a>
<a href="#items" class="btn waves-effect waves-light blue lighten itemInstructions">Items</a>
<a href="#guis" class="btn waves-effect waves-light blue lighten guisInstructions">GUIs</a>
<a href="#recipes" class="btn waves-effect waves-light blue lighten recipeInstructions">Recipes</a>
</div>
<br/>
<br/>
<div class="row">
<h4>About</h4>
<p style="font-size:16px;">
<strong>MineRender</strong> provides client-side, interactive 3D and 2D renders of a lot of different Minecraft assets, which can easily be integrated into any website.<br/>
<br/>
You can either directly add the MineRender javascripts which have a lot of customization options and let you animate individual elements,<br/>
or you can simply embed an IFrame for most of the available renders to get a more simplistic and easier solution.<br/>
</p>
</div>
<br/>
<div class="row">
<h4>Options</h4>
<div class="row">
<p>
These are <i>optional</i> options which can be passed to all of the renderers in JavaScript.<br/>
The options below are available for every renderer, but some of them have additional options <i>(see below)</i>.
</p>
<pre><code class="language-javascript">{
showOutlines: false, // Debugging - Show bounding boxes
showAxes: false, // Debugging - Show the scene's axes
showGrid: false, // Debugging - Show coordinate grid
autoResize: false, // Whether to automatically resize the canvas
controls: {
enabled: true, // Toggle controls
zoom: true, // Toggle zooming
rotate: false, // Toggle rotation
pan: true // Toggle panning
},
camera: { // Camera position
x: 20,
y: 25,
z: 30,
target: [0, 0, 0] // Where the camera should look
},
canvas: { // Dimensions the canvas starts off with (undefined -> use window size)
width: undefined,
height: undefined
},
pauseHidden: true // Whether to pause animations that aren't currently visible
};</code></pre>
</div>
<div class="row">
<div class="col s12 m6">
<h5>Blocks/Items</h5>
<pre><code class="language-javascript">{
centerCubes: false, // Center the cube's rotation point
assetRoot: "https://assets.mcasset.cloud/1.13" // Root location to get assets from - change if you want to use e.g a resource pack
};</code></pre>
</div>
<div class="col s12 m6">
<h5>GUIs</h5>
<pre><code class="language-javascript">{
assetRoot: "https://assets.mcasset.cloud/1.13" // Root location to get assets from - change if you want to use e.g a resource pack
};</code></pre>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="page-footer indigo darken-1" style="margin-top:100px;">
<div class="container">
<div class="row">
<div class="col s6">
<h5 class="white-text">Useful Links</h5>
<ul>
<li><a class="white-text" href="https://mcasset.cloud" target="_blank" rel="noopener">Minecraft Asset Browser</a></li>
<br/>
<li><a class="white-text" href="https://docs.minerender.org" target="_blank" rel="noopener">JavaScript Docs</a></li>
<br/>
<li><a class="white-text" href="https://yeleha.co/discord" target="_blank" rel="noopener">Discord</a></li>
<li><a class="white-text" href="https://github.com/InventivetalentDev/MineRender" target="_blank" rel="noopener">GitHub</a></li>
<li><a class="white-text" href="https://github.com/InventivetalentDev/MineRender/issues" target="_blank" rel="noopener">Issue Tracker</a></li>
<br/>
<li><a class="white-text" href="https://legal.inventivetalent.org/imprint" target="_blank">Imprint</a></li>
<li><a class="white-text" href="https://legal.inventivetalent.org/terms" target="_blank">Terms</a></li>
<li><a class="white-text" href="https://legal.inventivetalent.org/privacy" target="_blank">Privacy Policy</a></li>
</ul>
<br/>
<a href="https://www.patreon.com/bePatron?u=554075" data-patreon-widget-type="become-patron-button">Become a Patron!</a><script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
Made by <a class="blue-text" href="https://inventivetalent.org" target="_blank">inventivetalent</a> | <span>More projects: <span class="pageref" class="cyan-text"></span>
<span class="pull-right">
This website is not affiliated with Minecraft / Mojang AB.
</span>
</div>
</div>
</footer>
<!-- Skin Instructions -->
<div id="skin-modal" class="modal bottom-sheet">
<div class="modal-content">
<h4 class="center">Skin</h4>
<div class="row">
<div class="col s6">
<h5>JavaScript</h5>
<br/>
<div class="row">
<pre><code class="language-markup"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/</code><span class="jquery-version"></span><code class="language-markup"><code class="language-markup">/jquery.min.js" integrity="</code><span class="jquery-hash"></span><code class="language-markup">" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/</code><span class="three-version"></span><code class="language-markup">/three.min.js" integrity="</code><span class="three-hash"></span><code class="language-markup">" crossorigin="anonymous"></script></code></pre>
<pre><code class="language-markup"><script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/MineRender@</code><span class="minerender-version"></span><code class="language-markup">/dist/skin.min.js"></script></code></pre>
<br/>
<pre><code class="language-javascript">var skinRender = new SkinRender({/* options */}, document.getElementById("mySkinContainer"));
skinRender.render("</code><span id="js-example-skin" style="font-weight: bold"><code>inventivetalent</code></span><code class="language-javascript">");</code></pre>
</div>
</div>
<div class="col s6">
<h5>IFrame</h5>
<br/>
<div>
<pre><code class="language-markup"><iframe src="https://minerender.org/embed/skin/?skin=</code><span id="iframe-example-skin" style="font-weight: bold"><code>inventivetalent</code></span><code class="language-markup">&shadow=true" frameborder="0"></iframe></code></pre>
</div>
</div>
</div>
</div>
</div>
<!-- Block Instructions -->
<div id="block-modal" class="modal bottom-sheet">
<div class="modal-content">
<h4 class="center">Block</h4>
<div class="row">
<div class="col s6">
<h5>JavaScript</h5>
<br/>
<div class="row">
<pre><code class="language-markup"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/</code><span class="jquery-version"></span><code class="language-markup">/jquery.min.js" integrity="</code><span class="jquery-hash"></span><code class="language-markup">" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/</code><span class="three-version"></span><code class="language-markup">/three.min.js" integrity="</code><span class="three-hash"></span><code class="language-markup">" crossorigin="anonymous"></script></code></pre>
<pre><code class="language-markup"><script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/MineRender@</code><span class="minerender-version"></span><code class="language-markup">/dist/model.min.js"></script></code></pre>
<br/>
<pre><code class="language-javascript">var modelRender = new ModelRender({/* options */}, document.getElementById("myBlockContainer"));
modelRender.render(["block/</code><span id="js-example-block" style="font-weight: bold"><code>stone</code></span><code class="language-javascript">"]);</code></pre>
</div>
</div>
<div class="col s6">
<h5>IFrame</h5>
<br/>
<div>
<pre><code class="language-markup"><iframe src="https://minerender.org/embed/model/?models=block/</code><span id="iframe-example-block" style="font-weight: bold"><code>stone</code></span><code class="language-markup">&shadow=true" frameborder="0"></iframe></code></pre>
</div>
</div>
</div>
</div>
</div>
<!-- Item Instructions -->
<div id="item-modal" class="modal bottom-sheet">
<div class="modal-content">
<h4 class="center">Item</h4>
<div class="row">
<div class="col s6">
<h5>JavaScript</h5>
<br/>
<div class="row">
<pre><code class="language-markup"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/</code><span class="jquery-version"></span><code class="language-markup">/jquery.min.js" integrity="</code><span class="jquery-hash"></span><code class="language-markup">" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/</code><span class="three-version"></span><code class="language-markup">/three.min.js" integrity="</code><span class="three-hash"></span><code class="language-markup">" crossorigin="anonymous"></script></code></pre>
<pre><code class="language-markup"><script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/MineRender@</code><span class="minerender-version"></span><code class="language-markup">/dist/model.min.js"></script></code></pre>
<br/>
<pre><code class="language-javascript">var modelRender = new ModelRender({/* options */}, document.getElementById("myItemContainer"));
modelRender.render(["item/</code><span id="js-example-item" style="font-weight: bold"><code>diamond_axe</code></span><code class="language-javascript">"]);</code></pre>
</div>
</div>
<div class="col s6">
<h5>IFrame</h5>
<br/>
<div>
<pre><code class="language-markup"><iframe src="https://minerender.org/embed/model/?models=item/</code><span id="iframe-example-item" style="font-weight: bold"><code>diamond_axe</code></span><code class="language-markup">&shadow=true" frameborder="0"></iframe></code></pre>
</div>
</div>
</div>
</div>
</div>
<!-- Entity Instructions -->
<div id="entity-modal" class="modal bottom-sheet">
<div class="modal-content">
<h4 class="center">Entity</h4>
<div class="row">
<div class="col s12">
<h5>JavaScript</h5>
<br/>
<div class="row">
<pre><code class="language-markup"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/</code><span class="jquery-version"></span><code class="language-markup">/jquery.min.js" integrity="</code><span class="jquery-hash"></span><code class="language-markup">" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/</code><span class="three-version"></span><code class="language-markup">/three.min.js" integrity="</code><span class="three-hash"></span><code class="language-markup">" crossorigin="anonymous"></script></code></pre>
<pre><code class="language-markup"><script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/MineRender@</code><span class="minerender-version"></span><code class="language-markup">/dist/entity.min.js"></script></code></pre>
<br/>
<pre><code class="language-javascript">var entityRender = new EntityRender({/* options */}, document.getElementById("myEntityContainer"));
entityRender.render([{model: "</code><span id="js-example-entity-model" style="font-weight: bold"><code>creeper</code></span><code class="language-javascript">", texture: "</code><span id="js-example-entity-texture" style="font-weight: bold"><code>creeper</code></span><code class="language-javascript">"}]);</code></pre>
</div>
</div>
</div>
</div>
</div>
<!-- GUI Instructions -->
<div id="gui-modal" class="modal bottom-sheet">
<div class="modal-content">
<h4 class="center">GUI</h4>
<div class="row">
<div class="col s12">
<h5>JavaScript</h5>
<br/>
<div class="row">
<pre><code class="language-markup"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/</code><span class="jquery-version"></span><code class="language-markup">/jquery.min.js" integrity="</code><span class="jquery-hash"></span><code class="language-markup">" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/</code><span class="three-version"></span><code class="language-markup">/three.min.js" integrity="</code><span class="three-hash"></span><code class="language-markup">" crossorigin="anonymous"></script></code></pre>
<pre><code class="language-markup"><script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/MineRender@</code><span class="minerender-version"></span><code class="language-markup">/dist/gui.min.js"></script></code></pre>
<br/>
<pre><code class="language-javascript">var guiRender = new GuiRender({/* options */}, document.getElementById("myGuiContainer"));
var gui = [
{
name: "base",
texture: "/gui/container/generic_54",
uv: GuiRender.Positions.container.generic_54.uv,
pos: [0, 0],
layer: 0
},
{
name: "bone",
texture: "/item/bone",
uv: [0, 0, 16, 16],
pos: GuiRender.Helper.inventorySlot([0, 0], GuiRender.Positions.container.generic_54.top_origin, GuiRender.Positions.container.generic_54.item_offset),
layer: 1
},
{
name: "brick",
texture: "/item/brick",
uv: [0, 0, 16, 16],
pos: GuiRender.Helper.inventorySlot([8, 4], GuiRender.Positions.container.generic_54.top_origin, GuiRender.Positions.container.generic_54.item_offset),
layer: 1
},
{
name: "brick",
texture: "/item/apple",
uv: [0, 0, 16, 16],
pos: GuiRender.Helper.inventorySlot([1, 0], GuiRender.Positions.container.generic_54.top_origin, GuiRender.Positions.container.generic_54.item_offset),
layer: 1
},
{
name: "brick",
texture: "/item/clock_09",
uv: [0, 0, 16, 16],
pos: GuiRender.Helper.inventorySlot([0, 2], GuiRender.Positions.container.generic_54.top_origin, GuiRender.Positions.container.generic_54.item_offset),
layer: 1
},
{
name: "brick",
texture: "/item/egg",
uv: [0, 0, 16, 16],
pos: GuiRender.Helper.inventorySlot([2, 5], GuiRender.Positions.container.generic_54.top_origin, GuiRender.Positions.container.generic_54.item_offset),
layer: 1
},
{
name: "feather",
texture: "/item/feather",
uv: [0, 0, 16, 16],
pos: GuiRender.Helper.inventorySlot([5, 3], GuiRender.Positions.container.generic_54.top_origin, GuiRender.Positions.container.generic_54.item_offset),
layer: 1
}
];
guiRender.render(gui);</code></pre>
</div>
</div>
</div>
</div>
</div>
<!-- Recipe Instructions -->
<div id="recipe-modal" class="modal bottom-sheet">
<div class="modal-content">
<h4 class="center">Recipes</h4>
<div class="row">
<div class="col s12">
<h5>JavaScript</h5>
<br/>
<div class="row">
<pre><code class="language-markup"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/</code><span class="jquery-version"></span><code class="language-markup">/jquery.min.js" integrity="</code><span class="jquery-hash"></span><code class="language-markup">" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/</code><span class="three-version"></span><code class="language-markup">/three.min.js" integrity="</code><span class="three-hash"></span><code class="language-markup">" crossorigin="anonymous"></script></code></pre>
<pre><code class="language-markup"><script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/MineRender@</code><span class="minerender-version"></span><code class="language-markup">/dist/gui.min.js"></script></code></pre>
<br/>
<pre><code class="language-javascript">$.ajax("https://assets.mcasset.cloud/1.13/data/minecraft/recipes/rail.json").done(function (recipe) {
recipe = JSON.parse(recipe);
var guiRender = new GuiRender({/* options */}, document.getElementById("myRecipeContainer"));
guiRender.render(GuiRender.Helper.recipe(recipe, {
/* Some recipes require extra data to map the correct textures */
"rail": "/blocks/rail_normal"
}))
});</code></pre>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/js/materialize.min.js" integrity="sha256-3mqgTUhHNgfXgjrzjPOaW03DdQ9hgW92BApzLREoRoA=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/94/three.min.js" integrity="sha256-NGC9JEuTWN4GhTj091wctgjzftr+8WNDmw0H8J5YPYE=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.8.3/prism.min.js" data-manual integrity="sha256-haEv2ilTk2sXcJaGbkTtErRCHy/qGt3g+bGbgPf5OTY=" crossorigin="anonymous" defer></script>
<script src="/dist/skin.min.js" defer></script>
<script src="/dist/model.min.js" defer></script>
<script src="/dist/gui.min.js" defer></script>
<script src="/dist/entity.min.js" defer></script>
<script src="/js/data.min.js"></script>
<script src="/js/main.min.js" async defer></script>
<script async src="https://pageref.inventive.workers.dev/script.js"></script>
<script>
window.DOP_config = {
links: { // Replace with your links
paypal: "https://paypal.me/inventivetalent",
patreon: "https://patreon.com/inventivetalent"
},
enableAnalytics: true
}
</script>
<script src="https://cdn.jsdelivr.net/gh/InventivetalentDev/DonationPopup@master/DonationPopup.min.js"></script>
</body>
</html>